]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxMMedia/sndwav.cpp
Added more makefiles
[wxWidgets.git] / utils / wxMMedia / sndwav.cpp
index ad6419147c9f9fcd75d9e5560ee131e38d025ea9..340d8ed2c3bd410b3beb2c816ea80d58e27b5762 100644 (file)
@@ -86,9 +86,6 @@ wxUint32 wxSndWavCodec::PrepareToPlay()
   if (!riff_codec.FindChunk("data"))
     return 0;
 
   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);
 
   m_sndmode = wxSND_OUTPUT;
   ChangeCodec(wav_hdr.format);