Update StarClientApplication.cpp

This commit is contained in:
Kae 2023-07-04 06:15:45 +10:00
parent 1b8f117bac
commit c8340602f5

View File

@ -415,6 +415,7 @@ void ClientApplication::render() {
} }
void ClientApplication::getAudioData(int16_t* sampleData, size_t frameCount) { void ClientApplication::getAudioData(int16_t* sampleData, size_t frameCount) {
if (m_mainMixer)
m_mainMixer->read(sampleData, frameCount); m_mainMixer->read(sampleData, frameCount);
} }