X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8482f24cfc00645607f8526fde38d39e0dcaa63..822e690b221486b63895b5f14a7fbee2bc966fe5:/contrib/include/wx/mmedia/sndwin.h?ds=sidebyside diff --git a/contrib/include/wx/mmedia/sndwin.h b/contrib/include/wx/mmedia/sndwin.h index fed5126066..52d866d1db 100644 --- a/contrib/include/wx/mmedia/sndwin.h +++ b/contrib/include/wx/mmedia/sndwin.h @@ -9,13 +9,14 @@ #define _WX_SNDWIN_H #include "wx/defs.h" +#include "wx/mmedia/defs.h" #include "wx/mmedia/sndbase.h" typedef struct _wxSoundInternal wxSoundInternal; typedef struct _wxSoundInfoHeader wxSoundInfoHeader; -class wxSoundInternal; -class WXDLLEXPORT wxSoundStreamWin : public wxSoundStream { +// class WXDLLIMPEXP_MMEDIA wxSoundInternal; +class WXDLLIMPEXP_MMEDIA wxSoundStreamWin : public wxSoundStream { public: wxSoundStreamWin(); ~wxSoundStreamWin(); @@ -23,7 +24,7 @@ class WXDLLEXPORT wxSoundStreamWin : public wxSoundStream { wxSoundStream& Write(const void *buffer, wxUint32 len); wxSoundStream& Read(void *buffer, wxUint32 len); - bool SetSoundFormat(wxSoundFormatBase& base); + bool SetSoundFormat(const wxSoundFormatBase& base); bool StartProduction(int evt); bool StopProduction();