]>
git.saurik.com Git - wxWidgets.git/blob - src/mac/wave.cpp
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxWave class implementation: optional
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
13 #pragma implementation "wave.h"
16 #include "wx/object.h"
17 #include "wx/string.h"
18 #include "wx/mac/wave.h"
21 : m_waveData(NULL
), m_waveLength(0), m_isResource(FALSE
)
25 wxWave::wxWave(const wxString
& sFileName
, bool isResource
)
26 : m_waveData(NULL
), m_waveLength(0), m_isResource(FALSE
)
28 Create(sFileName
, isResource
);
37 bool wxWave::Create(const wxString
& fileName
, bool isResource
)
46 bool wxWave::Play(bool async
, bool looped
) const