]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxMMedia2/lib/sndg72x.h
Fixed a bug so the toggle flag is set correctly
[wxWidgets.git] / utils / wxMMedia2 / lib / sndg72x.h
index 8f56091a253bf0782ccaf3d5a6282c3a7b301039..165c9af4747fc1ca072a1c6f730a873e9c75482f 100644 (file)
@@ -22,6 +22,9 @@ typedef enum {
   wxSOUND_G723_40
 } wxSoundG72XType;
 
+// This fixes a bug in Mingw95
+typedef struct g72x_state g72state;
+
 //
 // G72X format
 //
@@ -68,7 +71,7 @@ class WXDLLEXPORT wxSoundStreamG72X: public wxSoundStreamCodec {
   wxSoundRouterStream *m_router;
   wxUint8 m_n_bits, m_current_mask, m_current_b_pos, m_current_byte;
   wxUint8 *m_io_buffer;
-  struct g72x_state *m_state;
+  g72state *m_state;
 
   int (*m_coder)(int code, int in_code, struct g72x_state *state);
   int (*m_decoder)(int code, int out_code, struct g72x_state *state);