Commit Graph

156 Commits

Author SHA1 Message Date
Henrik Rydgard a599bf7500 Assorted warning fixes and cleanups 2013-07-06 11:09:19 +02:00
bagnz0r 90fd21a737 Fixed divide by zero issue and tweaked the values just right for rhythm games 2013-07-06 03:17:38 +02:00
bagnz0r 36051cd174 Updated high/low watermarks to lower values. This should fix problems in DJ MAX series and Hatsune Miku: Project Diva. 2013-07-06 01:32:11 +02:00
Lioncash b52ee53c98 Fix some signed/unsigned mismatch warnings in __sceAudio.cpp. 2013-06-25 09:54:42 -04:00
Henrik Rydgård bfb9b2fd6d Warning fix 2013-06-19 15:06:04 +02:00
Henrik Rydgard c021c93883 More minor audio optimizations 2013-06-19 13:13:02 +02:00
Henrik Rydgard 7dac11922d Some minor optimization of audio channel queues and mixing 2013-06-19 12:00:24 +02:00
Unknown W. Brackets 2aae25026d Forget blocking audio threads that die/release. 2013-06-08 23:42:59 -07:00
oioitff 4d18a0a9b5 The correct fix for choppy cg audios and bgm.
And fix missing bgm and voice issue for 7th Dragon 2020.
2013-06-06 06:10:31 +08:00
Unknown W. Brackets 61f2fc4d3b Return error to blocked audio threads on release. 2013-06-05 12:20:07 -07:00
Unknown W. Brackets a0b333865c Wake waiting threads on channel release. 2013-06-05 12:13:52 -07:00
Henrik Rydgard a7f7410668 Merge branch 'master' into plugindownload 2013-06-05 16:13:55 +02:00
oioitff 489126fa3a Channel volume should be done in __AudioEnqueue.
Fix noise in 7th Dragon 2020.
2013-06-05 16:16:53 +08:00
Henrik Rydgard 5e28df26b2 Fixes and cleanup 2013-06-04 23:54:37 +02:00
Unknown W. Brackets 06c19622d5 Fix some init/type warnings. 2013-05-31 23:14:29 -07:00
Unknown W. Brackets ffbe28fc61 Fix some minor type conversion warnings. 2013-05-31 23:14:26 -07:00
Henrik Rydgard 880b80823b Some cwcheat cleanups and TODOs. 2013-05-23 13:10:39 +02:00
raven02 b76ee8f2ec Better use max=2 and min=1 for safety 2013-05-22 14:33:21 +08:00
raven02 73311c746b Keep the High/low water marks the same for all platform 2013-05-22 11:38:10 +08:00
Unknown W. Brackets 2bab76a940 Block audio output more correctly.
Still with the same thresholds, so hopefully it won't hurt sync.
2013-05-19 12:31:47 -07:00
Unknown W. Brackets 996bfdc1dd Reduce locking in sceAudio. 2013-05-19 10:58:44 -07:00
Unknown W. Brackets 0ab30ecb07 Use a separate channel for SRC/Output2.
Tests on the PSP show that all 8 channels can be reserved/used at the
same time as *either* Output2 or SRC (but SRC and Output2 cannot be used
at the same time.)
2013-05-16 01:12:39 -07:00
raven02 c1bb421a26 Restore volume shift to 15 2013-05-12 09:03:43 +08:00
raven02 79b9023461 Android : Shorter sound delay 2013-05-02 15:59:09 +08:00
oioitff 863fa2c3ff Fix the channel volume. 2013-04-26 22:24:18 +08:00
Henrik Rydgard ffe88f5120 Merge branch 'patch-11' of https://github.com/raven02/ppsspp into raven02-patch-11 2013-04-13 22:12:13 +02:00
raven02 25ab9292e4 Improve sound smoothness on Android 2013-04-12 14:03:51 -07:00
Unknown W. Brackets aca5e8e42f iOS: fix significant audio stutter. 2013-03-17 11:32:57 -07:00
raven02 232aa69eb0 Fix sound distortion 2013-03-17 19:55:15 +08:00
Unknown W. Brackets e8ac8d49b6 iOS: Reduce CPU consumption for audio, adjust sync.
Still is clicking...
2013-03-16 14:00:41 -07:00
Unknown W. Brackets 2a6457b6ab Cut down on h files including PointerWrap.
This makes changes to it a bit faster to build.
2013-02-04 08:26:59 -08:00
Unknown W. Brackets d70639057e sceAudioOutputPannedBlocking() returns # samples.
Or seems to, anyway.  This fixes things like:

stdout: SCREAM: Lib wave didn't take all of our last submit (took 0 of
2048)!
2013-02-01 08:07:58 -08:00
Unknown W. Brackets 9343695188 Fix savestate ruining the host audio update.
Fixes #541.
2013-01-30 22:48:35 -08:00
raven02 2ac06e54cf Get rid of channel buffer underrun 2013-01-30 23:16:52 +08:00
lioncash 8ad81111da Cleanup __sceAudio a little bit.
front() -> pop_front()
2013-01-30 08:45:43 -05:00
Unknown W. Brackets bf80de9e8d Walk a pointer when enqueuing audio.
Profiler says this will give ~0.5% perf improvement.
2013-01-29 08:19:06 -08:00
Unknown W. Brackets 1cb7a88137 Don't use a dynamic string for wait debugging.
Happens in release, and shows up on the profiler.
Not huge, but should save ~0.5% of cpu time.
2013-01-26 11:29:19 -08:00
Henrik Rydgard 2f394fb7ed Fix logging bug 2013-01-11 00:59:17 +01:00
Henrik Rydgard 10f69ed000 Don't lock the audio mutex if sound is off 2013-01-11 00:13:38 +01:00
Unknown W. Brackets 19aaca2705 Start save stating audio, plus minor fixes. 2012-12-28 13:55:29 -08:00
raven02 2bdaaba2ab Change MAX_CHANNEL to PSP_AUDIO_CHANNEL_MAX 2012-12-24 01:00:43 +08:00
Florent Castelli c33eafd430 Warning fixes 2012-12-21 23:02:35 +01:00
Henrik Rydgard dba622338a Audio smoothness improvements 2012-12-18 11:40:14 +01:00
Henrik Rydgard b5808eaf47 optimizin', bugfixin' 2012-12-17 20:43:43 +01:00
Henrik Rydgard 9acfd50139 Fix one cause of audio choppiness - we were dropping samples when audio functions blocked. Also some cleanup. 2012-12-17 20:15:23 +01:00
Henrik Rydgard 1e086f5008 Let's not throw away our stereo... Also change mix freq back to 44100 for now. 2012-12-17 19:38:04 +01:00
Henrik Rydgard 369afa5b93 sceSas: Resample audio according to pitch 2012-12-16 21:20:16 +01:00
raven02 1dbb6a8bda Fix sound distortion and improve sound clarity 2012-12-16 13:11:53 +08:00
Henrik Rydgård 454a6000c5 Let's try different audio buffer sizes 2012-12-09 19:58:35 +07:00
Henrik Rydgard f3aeadedfa Remove audio rate throttling, it's better to frame rate throttle. Gets rid of the slowdown that audio caused. 2012-11-23 10:35:28 +01:00