X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/15e8daecf594d38a57bc750f58de0ea33b79f4ee..3c57bda5451d31315de797a285b9547693143316:/contrib/include/wx/mmedia/sndbase.h diff --git a/contrib/include/wx/mmedia/sndbase.h b/contrib/include/wx/mmedia/sndbase.h index eff565ef6e..02a33dabdf 100644 --- a/contrib/include/wx/mmedia/sndbase.h +++ b/contrib/include/wx/mmedia/sndbase.h @@ -4,14 +4,11 @@ // Date: 08/11/1999 // Author: Guilhem Lavaux (C) 1999 // CVSID: $Id$ +// License: wxWindows license // -------------------------------------------------------------------------- #ifndef _WX_SNDBASE_H #define _WX_SNDBASE_H -#ifdef __GNUG__ -#pragma interface "sndbase.h" -#endif - #include "wx/defs.h" #include "wx/mmedia/defs.h" @@ -44,8 +41,8 @@ typedef enum { // --------------------- // wxSoundError: -// - wxSOUND_NOERR: No error occured -// - wxSOUND_IOERR: an input/output error occured, it may concern either +// - wxSOUND_NOERR: No error occurred +// - wxSOUND_IOERR: an input/output error occurred, it may concern either // a driver or a file // - wxSOUND_INVFRMT: the sound format passed to the function is invalid. // Generally, it means that you passed out of range values @@ -82,7 +79,7 @@ class WXDLLIMPEXP_MMEDIA wxSoundStream; // --------------------- // wxSoundCallback(stream, evt, cdata): C callback for sound event. // - stream: current wxSoundStream -// - evt: the sound event which has occured, it may be wxSOUND_INPUT, +// - evt: the sound event which has occurred, it may be wxSOUND_INPUT, // wxSOUND_OUTPUT or wxSOUND_DUPLEX // - cdata: User callback data // --------------------- @@ -125,7 +122,7 @@ class WXDLLIMPEXP_MMEDIA 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. @@ -146,7 +143,7 @@ class WXDLLIMPEXP_MMEDIA 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