]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxMMedia/sndwav.cpp
* Fixes and updates on wxMMedia.
[wxWidgets.git] / utils / wxMMedia / sndwav.cpp
index 340d8ed2c3bd410b3beb2c816ea80d58e27b5762..05d8019cc62a6b709528ed547a822e2f13a40352 100644 (file)
@@ -106,6 +106,7 @@ wxUint32 wxSndWavCodec::PrepareToPlay()
   m_sndtime.seconds = sec2 % 60;
 
   wxSndFileCodec::m_mmerror = wxMMFILE_NOERROR;
+  wxSndFileCodec::m_fstate = wxSFILE_PREPARED_TO_PLAY;
 
   return riff_codec.GetChunkLength();
 }