// Created: 10/17/99
// RCS-ID: $Id$
// Copyright: (c) David Webster
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// For compilers that support precompilation, includes "wx.h".
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:
return TRUE;
}
*/
- }
- return FALSE;
+ }
+ return false;
}
-