X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83f7f12df24a6699fbff014c8c2cc642a1d206ce..27b2dd53f629a78266c51d1b0b5db918401dcd4f:/include/wx/unix/sound.h diff --git a/include/wx/unix/sound.h b/include/wx/unix/sound.h index c038dfcde1..6b0050ffdb 100644 --- a/include/wx/unix/sound.h +++ b/include/wx/unix/sound.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wave.h +// Name: sound.h // Purpose: wxSound class // Author: Julian Smart, Vaclav Slavik // Modified by: @@ -14,7 +14,7 @@ #include "wx/defs.h" -#if wxUSE_WAVE +#if wxUSE_SOUND #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "sound.h" @@ -84,7 +84,7 @@ public: static void UnloadBackend(); protected: - bool DoPlay(unsigned flags); + bool DoPlay(unsigned flags) const; static void EnsureBackend(); void Free(); @@ -106,10 +106,10 @@ private: // ---------------------------------------------------------------------------- // This is interface to sound playing implementation. There are multiple -// sound architectures in use on Unix platforms and wxWindows can use several +// sound architectures in use on Unix platforms and wxWidgets can use several // of them for playback, depending on their availability at runtime; hence -// the need for backends. This class is for use by wxWindows and people writing -// additional backends only, it is _not_ for use by applications! +// the need for backends. This class is for use by wxWidgets and people writing +// additional backends only, it is _not_ for use by applications! // Structure that holds playback status information struct wxSoundPlaybackStatus @@ -137,7 +137,7 @@ public: virtual bool IsAvailable() const = 0; // Returns true if the backend is capable of playing sound asynchronously. - // If false, then wxWindows creates a playback thread and handles async + // If false, then wxWidgets creates a playback thread and handles async // playback, otherwise it is left up to the backend (will usually be more // effective). virtual bool HasNativeAsyncPlayback() const = 0; @@ -159,6 +159,6 @@ public: }; -#endif // wxUSE_WAVE +#endif // wxUSE_SOUND #endif