X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8482f24cfc00645607f8526fde38d39e0dcaa63..3534e34a1b68639a11ac0e643b372e873995368f:/contrib/src/mmedia/sndfile.cpp?ds=sidebyside diff --git a/contrib/src/mmedia/sndfile.cpp b/contrib/src/mmedia/sndfile.cpp index ffe842706e..54e333b6c8 100644 --- a/contrib/src/mmedia/sndfile.cpp +++ b/contrib/src/mmedia/sndfile.cpp @@ -5,7 +5,7 @@ // Author: Guilhem Lavaux (C) 1999, 2000 // CVSID: $Id$ // -------------------------------------------------------------------------- -#include +#include "wx/wxprec.h" #ifndef WX_PRECOMP #include @@ -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;