]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/mmedia/sndfile.cpp
let the sample display existing page on start
[wxWidgets.git] / contrib / src / mmedia / sndfile.cpp
index ffe842706eb4fba2b75b29added29bcfd0dda360..54e333b6c8e7283e602d6e00f9dc90fd5117cb74 100644 (file)
@@ -5,7 +5,7 @@
 // Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999, 2000
 // CVSID: $Id$
 // --------------------------------------------------------------------------
-#include <wx/wxprec.h>
+#include "wx/wxprec.h"
 
 #ifndef WX_PRECOMP
 #include <wx/defs.h>
@@ -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;