X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/315ebf688c0e69bed47cd3149158198b781b5f65..7ea1c917764fb2588fe1aadc75c49ba300f8cb2f:/src/os2/sound.cpp diff --git a/src/os2/sound.cpp b/src/os2/sound.cpp index e073d9f7f2..91d6c1206f 100644 --- a/src/os2/sound.cpp +++ b/src/os2/sound.cpp @@ -121,22 +121,23 @@ bool wxSound::Create(int size, const wxByte* data) return TRUE; } -bool wxSound::DoPlay(unsigned flags) const +bool wxSound::DoPlay(unsigned WXUNUSED(flags)) const { - if (!IsOk()) - return FALSE; + if (!IsOk()) + return false; + // TODO: /* - return ( ::PlaySound((LPCTSTR)m_waveData, NULL, SND_MEMORY | - SND_NODEFAULT | (async ? SND_ASYNC : SND_SYNC) | (looped ? (SND_LOOP | SND_ASYNC) : 0)) != 0 ); + return ( ::PlaySound((LPCTSTR)m_waveData, NULL, SND_MEMORY | + SND_NODEFAULT | (async ? SND_ASYNC : SND_SYNC) | (looped ? (SND_LOOP | SND_ASYNC) : 0)) != 0 ); */ - return FALSE; + return false; } bool wxSound::Free() { - if (m_waveData) - { + if (m_waveData) + { // HGLOBAL waveData = ::GlobalHandle(m_waveData); // TODO: @@ -156,7 +157,6 @@ bool wxSound::Free() return TRUE; } */ - } - return FALSE; + } + return false; } -