Moved fix to sndg72x.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guilhem Lavaux
1999-12-30 18:43:12 +00:00
parent d6f941fdda
commit 2de89127de
2 changed files with 5 additions and 5 deletions

View File

@@ -108,15 +108,12 @@ bool wxSoundFormatG72X::operator !=(const wxSoundFormatBase& frmt2) const
// wxSoundStreamG72X
// --------------------------------------------------------------------------
// This fixes a bug in Mingw95
typedef struct g72x_state g7s;
wxSoundStreamG72X::wxSoundStreamG72X(wxSoundStream& sndio)
: wxSoundStreamCodec(sndio)
{
// PCM converter
m_router = new wxSoundRouterStream(sndio);
m_state = new g7s;
m_state = new g72state;
g72x_init_state(m_state);
}