]>
git.saurik.com Git - wxWidgets.git/blob - src/motif/wave.cpp
   1 ///////////////////////////////////////////////////////////////////////////// 
   3 // Purpose:     wxWave class implementation: optional 
   4 // Author:      Julian Smart 
   8 // Copyright:   (c) Julian Smart 
   9 // Licence:     wxWindows licence 
  10 ///////////////////////////////////////////////////////////////////////////// 
  13 #pragma implementation "wave.h" 
  16 #include "wx/object.h" 
  17 #include "wx/string.h" 
  18 #include "wx/motif/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