dolphin/Source/Core/AudioCommon
Moncef Mechri 333f998123 Don't busy wait in the audio thread (ALSA)
When the emulation is paused and the ALSA backend is used, make the audio
thread wait on a condition variable instead of busy-waiting. This commit
fixes bug #7729

Since the ALSA API is not thread-safe, calls to snd_pcm_drop() and snd_pcm_prepare()
in AlsaSound::Clear() are protected by the same mutex as the condition variable in AlsaSound::SoundLoop()
to make sure that we do not call these functions while a call to
snd_pcm_writei() is ongoing.
2015-08-11 03:54:54 +02:00
..
AOSoundStream.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
AOSoundStream.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
AlsaSoundStream.cpp Don't busy wait in the audio thread (ALSA) 2015-08-11 03:54:54 +02:00
AlsaSoundStream.h Don't busy wait in the audio thread (ALSA) 2015-08-11 03:54:54 +02:00
AudioCommon.cpp Merge pull request #2825 from lioncash/log 2015-08-10 10:25:51 +02:00
AudioCommon.h AudioCommon: Remove lock on Pause state 2015-05-28 19:58:18 +02:00
AudioCommon.vcxproj Proper Audio/Video Dumping 2014-10-09 00:06:04 -04:00
AudioCommon.vcxproj.filters (Visual Studio) Categorize SoundStream.h with other SoundStream files 2015-04-03 14:37:03 -04:00
CMakeLists.txt CMake: simplify some expressions 2015-01-03 13:17:57 +01:00
CoreAudioSoundStream.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
CoreAudioSoundStream.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
DPL2Decoder.cpp Update license headers to GPLv2+ 2015-05-25 13:22:31 +02:00
DPL2Decoder.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
Mixer.cpp AudioCommon: Log to AUDIO, not DSPHLE 2015-08-09 21:36:03 -04:00
Mixer.h Mixer: Fix erroneous global prefixes on class variables 2015-06-20 21:48:50 -04:00
NullSoundStream.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
NullSoundStream.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
OpenALStream.cpp Merge pull request #2659 from Armada651/openal-conv 2015-06-27 00:13:02 +02:00
OpenALStream.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
OpenSLESStream.cpp Update license headers to GPLv2+ 2015-05-25 13:22:31 +02:00
OpenSLESStream.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
PulseAudioStream.cpp Options: merge SCoreStartupParameter into SConfig 2015-06-12 19:07:45 +02:00
PulseAudioStream.h Remove unnecessary virtual keywords 2015-07-30 10:33:08 -04:00
SoundStream.h AudioCommon: Log to AUDIO, not DSPHLE 2015-08-09 21:36:03 -04:00
WaveFile.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
WaveFile.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
XAudio2Stream.cpp AudioCommon: Remove unused code from XAudio streams 2015-08-09 21:37:34 -04:00
XAudio2Stream.h AudioCommon: Remove unused code from XAudio streams 2015-08-09 21:37:34 -04:00
XAudio2_7Stream.cpp AudioCommon: Remove unused code from XAudio streams 2015-08-09 21:37:34 -04:00
XAudio2_7Stream.h AudioCommon: Remove unused code from XAudio streams 2015-08-09 21:37:34 -04:00
aldlist.cpp Add missing license headers 2015-05-25 13:11:47 +02:00
aldlist.h Add missing license headers 2015-05-25 13:11:47 +02:00