]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/mmedia/sndfile.cpp
Isolated the 'error' case which I ignore
[wxWidgets.git] / contrib / src / mmedia / sndfile.cpp
index ffe842706eb4fba2b75b29added29bcfd0dda360..48677ec1134cfb43237817c5abceb60f177d43a2 100644 (file)
@@ -18,6 +18,7 @@
 #include "wx/mmedia/sndcpcm.h"
 #include "wx/mmedia/sndulaw.h"
 #include "wx/mmedia/sndg72x.h"
+#include "wx/mmedia/sndmsad.h"
 
 // --------------------------------------------------------------------------
 // Sound codec router
@@ -106,6 +107,10 @@ bool wxSoundRouterStream::SetSoundFormat(const wxSoundFormatBase& format)
             m_router = new wxSoundStreamG72X(*m_sndio);
             m_router->SetSoundFormat(format);
             break;
+        case wxSOUND_MSADPCM:
+            m_router = new  wxSoundStreamMSAdpcm(*m_sndio);
+            m_router->SetSoundFormat(format);
+            break;
         default:
             return FALSE;