- info += wxString::Format(wxT("Sampling rate: %d\n")
- wxT("Bits per sample: %d\n")
- wxT("Number of channels: %d\n"),
- pcm_format->GetSampleRate(),
- pcm_format->GetBPS(),
- pcm_format->GetChannels());
-
- break;
+ info += wxString::Format(wxT("Sampling rate: %d\n")
+ wxT("Bits per sample: %d\n")
+ wxT("Number of channels: %d\n"),
+ pcm_format->GetSampleRate(),
+ pcm_format->GetBPS(),
+ pcm_format->GetChannels());
+
+ 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;