]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxMMedia/wave.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxWave class
4 // Author: Julian Smart
5 // Modified by: Guilhem Lavaux for wxMMedia (02/05/1998)
8 // Copyright: (c) Julian Smart and Markus Holzem
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
19 #include <wx/object.h>
20 #include <wx/string.h>
23 class wxWave
: public wxObject
27 wxWave(const wxString
& fileName
, bool isResource
= FALSE
);
31 bool Create(const wxString
& sFileName
, bool isResource
= FALSE
);
32 bool IsOk() const { return (m_wave
? TRUE
: FALSE
); };
33 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const;
39 wxInputStream
*m_iowave
;
40 wxSndWavCodec
*m_wave
;