]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/stubs/wave.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxWave class (loads and plays short Windows .wav files).
4 // Optional on non-Windows platforms.
9 // Copyright: (c) AUTHOR
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////////
17 #pragma interface "wave.h"
20 #include "wx/object.h"
22 class wxWave
: public wxObject
26 wxWave(const wxString
& fileName
, bool isResource
= FALSE
);
30 bool Create(const wxString
& fileName
, bool isResource
= FALSE
);
31 bool IsOk() const { return (m_waveData
? TRUE
: FALSE
); };
32 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const;