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
Unknown W. Brackets
a0db57a5d3
Clear the mixbuffer when all channels empty.
2013-08-26 21:06:26 -07:00
Unknown W. Brackets
8d7eb265be
Log context switch time, shorten logging a bit.
...
This is really useful for seeing why games are slow or hanging.
2013-08-25 10:25:49 -07:00
Henrik Rydgard
4121d5ae62
Fix division by zero in low latency audio mode
2013-08-25 13:03:57 +02:00
Henrik Rydgard
ee37d51c4b
Just some formatting/cleanup
2013-08-24 11:56:40 +02:00
Henrik Rydgard
507050e966
Add an option for the lower latency audio mode we had in an #ifdef before
2013-08-24 11:56:39 +02:00
Unknown W. Brackets
a740888add
Fix typos.
2013-07-25 22:37:27 -07:00
Henrik Rydgard
6cc141a58c
LOW_LATENCY_AUDIO is now off by default, should fix #2829
2013-07-18 16:50:03 +02:00
bagnz0r
8ec3f42d28
Low latency audio disabled by default
2013-07-18 00:59:23 +02:00
bagnz0r
d4f6cfc816
Added ifdef for low latency audio.
2013-07-07 00:06:30 +02:00
bagnz0r
d89cd4813f
More fine-tuning...
2013-07-06 23:54:15 +02:00
bagnz0r
26654555b4
Updated block values so that we will have lower latency audio...
...
Additionally I have fixed the issue with too loud sound effects and broken
buttons in audio settings screen. Before this fix, you wouldn't be able to
set the volume above 5 despite the fact that 8 is the default value.
5
2013-07-06 23:23:17 +02:00
bagnz0r
3dca81d030
Merge remote-tracking branch 'upstream/master'
2013-07-06 23:20:18 +02:00
bagnz0r
50044667ea
Fine-tuned the block size and queue values to stutter less and produce lower latency audio.
2013-07-06 22:01:52 +02:00
Henrik Rydgard
cc58e34cf8
Remove legacy key mapping and associate devices with keys (DInput has been left behind for now, will be fixed up soon). Saving is broken, will be fixed soon.
2013-07-06 20:45:44 +02:00
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