Commit Graph
120 Commits
Author SHA1 Message Date
Henrik Rydgard ff2b6b3fca Assorted cleanup, UWP memory map fixes. PSPFlower runs in both 32-bit and 64-bit. 2017-03-23 10:02:28 +01:00
Henrik Rydgard 26a2d42731 Big mutex overhaul - remove our custom ones, make them non-recursive where possible 2017-02-28 11:40:29 +01:00
LunaMoo d832b4adfd Make sound recording sane and match video recording behaviour. 2017-02-24 05:36:44 +01:00
Chris Burgener 7d089a0f76 Clean up various files 2016-09-03 19:23:17 -04:00
Chris Burgener 645cb4d69e Add Audio Dumping to File 2016-09-03 14:05:38 -04:00
zhyk fa6fe85dc3 Fix audio lag in Qt without SDL. 2016-02-10 23:34:38 +08:00
Unknown W. Brackets 2450724be2 Make Memory::Memcpy() execute memchecks directly.
This makes it easier to handle breakpoints in HLE.
2015-04-05 18:09:20 -07:00
Henrik Rydgard 2792602252 Pass the game selection screen audio through the resampler. Fixes #7316 . 2015-01-29 14:58:03 +01:00
Henrik Rydgard 86cee103f3 Add audio debug stats dev tool. Increase audio buffer low watermark a bit, hopefully helping #7370. 2015-01-29 12:56:17 +01:00
Henrik Rydgard 1079c21e38 Update native, and update README with more 1.0 features 2015-01-27 00:18:04 +01:00
Unknown W. Brackets db898aff23 Add a NEON method to apply the volume. 2015-01-11 14:23:41 -08:00
Unknown W. Brackets ff4db2a8dd Log any change to 48 kHz audio on the psp side. 2015-01-11 14:23:41 -08:00
Henrik Rydgard 26e4cb4a21 More cleanup 2015-01-11 20:35:52 +01:00
Henrik Rydgard e312d6b5fd Replace outAudioQueue with Dolphin's resampler. 2015-01-11 18:06:06 +01:00
Unknown W. Brackets f5d5f7d3fa Use SSE shifts for high-vol channels. 2014-12-08 21:23:47 -08:00
Henrik Rydgård 38345a497f Merge pull request #7137 from lioncash/static
Core: Mark some module functions as static
2014-12-08 11:10:14 +01:00
Unknown W. Brackets 066ce50a12 Disable SSE clamping for certain volume levels.
Fixes sound in Tales of Phantasia.  Can improve later.
2014-12-08 02:06:25 -08:00
Lioncash 4ccb838306 Core: Mark some module functions as static 2014-12-08 04:40:08 -05:00
Henrik Rydgard 7de3ed109a Android x86 buildfix 2014-12-07 22:00:30 +01:00
Henrik Rydgard 1a1faeffd1 More audio microoptimization 2014-12-07 21:14:09 +01:00
Henrik Rydgard 28aa18953a Audio: Minor SSE2 optimization, just because 2014-12-07 20:23:47 +01:00
Unknown W. Brackets 5c470a1923 Remove bgm and sfx volume settings.
They don't actually work in all games, and this only confuses users.

Also, the default 7 lowers the volume of audio detected as bgm or sfx, but
not other volume.  This means that some audio may have played too loud in
some games by default, which will be fixed by this change.
2014-08-17 14:16:59 -07:00
Unknown W. Brackets 2d54c1cf4e Reset the audio rate on save/load state.
Should fix #6484.
2014-07-02 08:11:26 -07:00
Unknown W. Brackets b73c1ba29b Reduce audio drift from 44.1kHz.
Although, not sure what the PSP's actual exact timing is...
2014-07-01 23:08:38 -07:00
Unknown W. Brackets e505655c2b Fix a potential crash/race condition.
If anything is behind, it might run __AudioWakeThreads() within
reschedule, and get confused.
2014-07-01 08:02:34 -07:00
Unknown W. Brackets 5cd4a17e88 Fix periodic events drifting when eating cycles.
Need to set the next timer before rescheduling threads or etc.
2014-07-01 00:26:15 -07:00
Unknown W. Brackets d8cff4509e Wake good pri threads immediately from audio. 2014-06-24 00:44:35 -07:00
raven02 eda3d48d53 Switch to low/medium/high audio latency mode 2014-04-27 22:11:26 +08:00
Henrik Rydgård 00c32ddadb Mostly get rid of including "Globals.h" 2013-12-30 10:17:11 +01:00
Sacha 91ddddc2ef Remove unused Thread.{cpp,h} 2013-11-13 02:50:46 +10:00
Henrik Rydgård 714754e149 sceAudio: only use the optimized volume=max path if stereo, add a TODO.
Might take care of #4470.
2013-11-07 11:50:24 +01:00
Peter Tissen 3bd01cce31 fixes #4443 buffer underrun in the audio system 2013-11-04 14:03:36 +01:00
Unknown W. Brackets b71255e7b0 Optimize the case where volume is 0x8000.
When left and right volume are both 0x8000, which is the most common, we
can just do a memory copy which is faster.

Also, we can use pushPointers on big endian, probably still faster.
2013-10-29 08:24:55 -07:00
Sacha 72fd653a31 sceAudio: ARM optimisation. 2013-10-29 00:16:37 +10:00
Unknown W. Brackets edf3faf251 Clear the audio buffer on game reset.
Avoids blips.
2013-10-19 15:11:06 -07:00
Siddharth 06c13926ee made atomic lock optional
fixed an incorrect merge to nativeApp.cpp

made atomic locks init correctly

reintroduced atomic locks in audio as an optional setting

converted global pointers to global objects on stack

moved all mixing code into PSPMixer

internaized all code into __sceAudio.cpp

cleaned up rebase

cleaned up rebase
2013-10-16 23:42:47 +05:30
Henrik Rydgard 367a1e21b2 Revert "Merge pull request #4021 from bollu/master"
This reverts commit c84a9daa40, reversing
changes made to da5b52ce1f.
2013-10-07 20:26:10 +02:00
Henrik Rydgard f938b95925 Revert "Merge pull request #4068 from bollu/AudioArtefactFix"
This reverts commit e4c6ba9b01, reversing
changes made to 061efd35db.
2013-10-07 20:25:35 +02:00
Siddharth e6ae3ef9b1 forgot to add this 2013-10-07 22:06:16 +05:30
Henrik Rydgård c84a9daa40 Merge pull request #4021 from bollu/master
Audio Processor now uses atomics rather than mutex
2013-10-05 13:33:11 -07:00
Unknown W. Brackets 3a1b6fb269 Fix some sign comparison warnings. 2013-10-05 11:13:41 -07:00
Siddharth eb1305120e now blocks to gain outAudioQueue access at __AudioDoState 2013-10-04 17:58:09 +05:30
Siddharth eb9c339c2e fully functional and uses atomic_flag 2013-10-02 20:20:32 +05:30
Siddharth 6c2a9972c1 using the new atomic_flag 2013-10-02 19:09:56 +05:30
Siddharth a151b5beb6 using PPSSPP's locks 2013-10-02 11:01:59 +05:30
Siddharth a6ec70fe90 Audio Processor now uses atomics rather than mutex 2013-10-02 01:54:55 +05:30
Unknown W. Brackets 50e9e45d65 Check version in each DoState() func.
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Henrik Rydgard 324cde5a79 Let's actually use the log category mechanism. A first step. 2013-09-07 21:19:21 +02:00
Unknown W. Brackets 3ff6bc6060 Don't block a null enqueue if already empty. 2013-09-05 00:57:53 -07:00
Unknown W. Brackets 211c2bd955 Refuse a few more waits w/ dispatch/intr disabled. 2013-08-28 22:35:05 -07:00