X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d6306eb4da8cdac4b5dee9784959672c233eec8..fed485e0946d9cff74fce6afdb169796d90a99f2:/utils/wxMMedia/sndwav.cpp diff --git a/utils/wxMMedia/sndwav.cpp b/utils/wxMMedia/sndwav.cpp index ad6419147c..340d8ed2c3 100644 --- a/utils/wxMMedia/sndwav.cpp +++ b/utils/wxMMedia/sndwav.cpp @@ -86,9 +86,6 @@ wxUint32 wxSndWavCodec::PrepareToPlay() if (!riff_codec.FindChunk("data")) return 0; - m_sndformat.SetSampleRate(wav_hdr.sample_fq); - m_sndformat.SetBps(wav_hdr.bits_p_spl); - m_sndformat.SetChannels(wav_hdr.channels); m_sndmode = wxSND_OUTPUT; ChangeCodec(wav_hdr.format);