Update StarClientApplication.cpp

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

View File

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