Updated and fixed audio
This commit is contained in:
@ -105,7 +105,7 @@ void VideoState::startAudioIfReady() {
|
||||
if (m_audioPcm.empty()) return;
|
||||
|
||||
// Use the existing audio output path (same device as music/SFX).
|
||||
if (auto sys = ::AudioManager::get()) sys->playSfx(m_audioPcm, m_audioChannels, m_audioRate, 1.0f);
|
||||
if (auto sys = AudioManager::get()) sys->playSfx(m_audioPcm, m_audioChannels, m_audioRate, 1.0f);
|
||||
m_audioStarted = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user