X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2cce0c4572a9c22c225a402d0d872f98d2e9293..8a7c9dcc1c6424976bc40995bbb1d37154cb69e0:/utils/wxMMedia/sndwav.cpp?ds=sidebyside diff --git a/utils/wxMMedia/sndwav.cpp b/utils/wxMMedia/sndwav.cpp index 340d8ed2c3..05d8019cc6 100644 --- a/utils/wxMMedia/sndwav.cpp +++ b/utils/wxMMedia/sndwav.cpp @@ -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(); }