diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-04 06:15:45 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-04 06:15:45 +1000 |
commit | c8340602f5c2601474d08c69d2fefbfdc097bc1b (patch) | |
tree | be51265933f2a295c06e5996ba946e007171304e /source/client/StarClientApplication.cpp | |
parent | 1b8f117baced50eac2d948021551b167dc62ce22 (diff) |
Update StarClientApplication.cpp
Diffstat (limited to 'source/client/StarClientApplication.cpp')
-rw-r--r-- | source/client/StarClientApplication.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/client/StarClientApplication.cpp b/source/client/StarClientApplication.cpp index 80902be..0abd97d 100644 --- a/source/client/StarClientApplication.cpp +++ b/source/client/StarClientApplication.cpp @@ -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) { |