X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9fc0fe377b42853e23cb771a2d9a742b9c91a996..d9f39e09e82e99c422619f4e3df536d0a9e87987:/utils/wxMMedia/snduss.cpp diff --git a/utils/wxMMedia/snduss.cpp b/utils/wxMMedia/snduss.cpp index 81c2a7f4ec..a0947d1504 100644 --- a/utils/wxMMedia/snduss.cpp +++ b/utils/wxMMedia/snduss.cpp @@ -162,6 +162,9 @@ bool wxUssSound::InitBuffer(wxSndBuffer *buf) codec->InitIO(m_ussformat); codec->InitMode(wxSoundCodec::DECODING); break; + case wxSND_DUPLEX: + case wxSND_OTHER_IO: + break; } return TRUE; } @@ -202,6 +205,7 @@ void *wxUssSound::Entry() } buf->HardUnlock(); continue; + sound_clean_buffer: buf->GetCurrentCodec()->ExitMode(); delete node;