Commit Graph

48 Commits

Author SHA1 Message Date
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
Henrik Rydgard
7720dc3f60 Various warning, logging, jit fixes 2012-11-17 19:56:28 +01:00
Henrik Rydgard
d239f4ece1 Fix tests hanging, after the audio rewrite 2012-11-17 18:08:10 +01:00
Henrik Rydgard
423bba5d8d Some optimization and minor fixes 2012-11-17 15:06:10 +01:00
Henrik Rydgard
5a48578a12 Rewrite audio line output. Now deterministic (from the game's POV) and smoother. 2012-11-17 14:20:59 +01:00
Henrik Rydgard
64cc573703 Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK. 2012-11-04 23:24:00 +01:00
Henrik Rydgard
4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00