Implement sound stop/flush (stopping boombox no longer asserts)

This commit is contained in:
elasota
2019-12-26 13:32:54 -05:00
parent b9f1d5222f
commit 501f36070a
7 changed files with 66 additions and 4 deletions

View File

@@ -16,6 +16,11 @@ void GpPLGlueAudioChannel::PostBuffer(const void *buffer, size_t bufferSize)
m_audioChannel->PostBuffer(buffer, bufferSize);
}
void GpPLGlueAudioChannel::Stop()
{
m_audioChannel->Stop();
}
void GpPLGlueAudioChannel::Destroy()
{
this->~GpPLGlueAudioChannel();