X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8482f24cfc00645607f8526fde38d39e0dcaa63..19b44116d5c04181f9a20f92546cff26405ed115:/contrib/include/wx/mmedia/sndbase.h diff --git a/contrib/include/wx/mmedia/sndbase.h b/contrib/include/wx/mmedia/sndbase.h index 336a7d2f1b..34fa8aec40 100644 --- a/contrib/include/wx/mmedia/sndbase.h +++ b/contrib/include/wx/mmedia/sndbase.h @@ -13,6 +13,7 @@ #endif #include "wx/defs.h" +#include "wx/mmedia/defs.h" // ------------------------------------------------------------------------ // DEFINITIONS @@ -76,7 +77,7 @@ typedef enum { wxSOUND_NOTSTARTED } wxSoundError; -class WXDLLEXPORT wxSoundStream; +class WXDLLIMPEXP_MMEDIA wxSoundStream; // --------------------- // wxSoundCallback(stream, evt, cdata): C callback for sound event. @@ -92,7 +93,7 @@ typedef void (*wxSoundCallback)(wxSoundStream *stream, int evt, // Base class for sound format specification // -class WXDLLEXPORT wxSoundFormatBase { +class WXDLLIMPEXP_MMEDIA wxSoundFormatBase { public: wxSoundFormatBase(); virtual ~wxSoundFormatBase(); @@ -112,7 +113,7 @@ class WXDLLEXPORT wxSoundFormatBase { // Base class for sound streams // -class wxSoundStream { +class WXDLLIMPEXP_MMEDIA wxSoundStream { public: wxSoundStream(); virtual ~wxSoundStream(); @@ -124,7 +125,7 @@ class wxSoundStream { // Returns the best size for IO calls virtual wxUint32 GetBestSize() const { return 1024; } - // SetSoundFormat returns TRUE when the format can be handled. + // SetSoundFormat returns true when the format can be handled. virtual bool SetSoundFormat(const wxSoundFormatBase& format); // GetSoundFormat returns the current sound format. @@ -145,7 +146,7 @@ class wxSoundStream { wxUint32 GetLastAccess() const { return m_lastcount; } // This is only useful for device (I think). - virtual bool QueueFilled() const { return TRUE; } + virtual bool QueueFilled() const { return true; } protected: // Current sound format