]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/wave.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxWave class
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
16 #pragma interface "wave.h"
19 #include "wx/object.h"
21 class wxWave
: public wxObject
25 wxWave(const wxString
& fileName
, bool isResource
= FALSE
);
29 bool Create(const wxString
& fileName
, bool isResource
= FALSE
);
30 bool IsOk() const { return (m_waveData
? TRUE
: FALSE
); };
31 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const;