X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8482f24cfc00645607f8526fde38d39e0dcaa63..fcec64291df806fc7810440f93ba83ec2043062b:/contrib/samples/mmedia/mmbman.cpp diff --git a/contrib/samples/mmedia/mmbman.cpp b/contrib/samples/mmedia/mmbman.cpp index f84803f84b..b60fc8429e 100644 --- a/contrib/samples/mmedia/mmbman.cpp +++ b/contrib/samples/mmedia/mmbman.cpp @@ -41,6 +41,7 @@ #include "wx/mmedia/sndaiff.h" #include "wx/mmedia/sndpcm.h" #include "wx/mmedia/sndulaw.h" +#include "wx/mmedia/sndmsad.h" #ifdef __UNIX__ #include "wx/mmedia/sndoss.h" @@ -310,6 +311,16 @@ wxString MMBoardSoundFile::GetStringInformation() break; } + case wxSOUND_MSADPCM: { + wxSoundFormatMSAdpcm *adpcm_format = (wxSoundFormatMSAdpcm *)format; + + info += wxString::Format(wxT("Microsoft ADPCM\n")); + info += wxString::Format(wxT("Sampling Rate: %d\n") + wxT("Number of channels: %d\n"), + adpcm_format->GetSampleRate(), + adpcm_format->GetChannels()); + break; + } case wxSOUND_ULAW: { wxSoundFormatUlaw *ulaw_format = (wxSoundFormatUlaw *)format; info += wxT("ULAW\n");