]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxMMedia2/lib/sndg72x.cpp
Fixed a bug so the toggle flag is set correctly
[wxWidgets.git] / utils / wxMMedia2 / lib / sndg72x.cpp
index 37d6c4453fd79f8cbdbdb43d281b8a9871d5ceef..11cd9d1d97476e18d26d95d1137fcc1a7e36d915 100644 (file)
@@ -107,12 +107,13 @@ bool wxSoundFormatG72X::operator !=(const wxSoundFormatBase& frmt2) const
 // --------------------------------------------------------------------------
 // wxSoundStreamG72X
 // --------------------------------------------------------------------------
+
 wxSoundStreamG72X::wxSoundStreamG72X(wxSoundStream& sndio)
  : wxSoundStreamCodec(sndio)
 {
   // PCM converter
   m_router = new wxSoundRouterStream(sndio);
-  m_state  = new struct g72x_state;
+  m_state  = new g72state;
   g72x_init_state(m_state);
 }