dolphin/Source/Core/AudioCommon
Moncef Mechri a0c5247743 Initialize ALSA before starting the audio thread
This fixes a race condition:

Before this commit, there was a race condition when starting a game:

Core::EmuThread(), after having started (but not necessarily completed)
the initialization of the audio thread, calls Core::SetState() which calls
CCPU::EnableStepping(), which in turns calls AudioCommon::ClearAudioBuffer().

This means that SoundStream::Clear() can be called before
AlsaSound::AlsaInit() has completed.
2015-08-11 03:54:54 +02: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
AlsaSoundStream.cpp Initialize ALSA before starting the audio thread 2015-08-11 03:54:54 +02:00
AlsaSoundStream.h Set copyright year to when a file was created 2015-05-25 13:22:31 +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
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
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
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