mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-06 07:14:19 +00:00
Merge pull request #5292 from ligfx/setvolumeafterstart
AudioCommon: set volume _after_ starting stream
This commit is contained in:
commit
50349098c1
@ -57,8 +57,6 @@ void InitSoundStream()
|
|||||||
g_sound_stream = std::make_unique<NullSound>();
|
g_sound_stream = std::make_unique<NullSound>();
|
||||||
}
|
}
|
||||||
|
|
||||||
UpdateSoundStream();
|
|
||||||
|
|
||||||
if (!g_sound_stream->Start())
|
if (!g_sound_stream->Start())
|
||||||
{
|
{
|
||||||
ERROR_LOG(AUDIO, "Could not start backend %s, using %s instead", backend.c_str(),
|
ERROR_LOG(AUDIO, "Could not start backend %s, using %s instead", backend.c_str(),
|
||||||
@ -68,6 +66,8 @@ void InitSoundStream()
|
|||||||
g_sound_stream->Start();
|
g_sound_stream->Start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UpdateSoundStream();
|
||||||
|
|
||||||
if (SConfig::GetInstance().m_DumpAudio && !s_audio_dump_start)
|
if (SConfig::GetInstance().m_DumpAudio && !s_audio_dump_start)
|
||||||
StartAudioDump();
|
StartAudioDump();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user