]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxMMedia2/lib/sndpcm.cpp
* Added IsPaused() to wxSoundFileStream
[wxWidgets.git] / utils / wxMMedia2 / lib / sndpcm.cpp
index 5fa2b191ac22915c96be3c32dd9fadeab2c8d542..8e3225c1f7d9e0c714bdf832d337f8a16fcfc337 100644 (file)
@@ -9,10 +9,10 @@
 #pragma implementation "sndpcm.cpp"
 #endif
 
+#include <wx/wxprec.h>
 #include "sndbase.h"
 #include "sndpcm.h"
 
-
 wxSoundFormatPcm::wxSoundFormatPcm(wxUint32 srate, wxUint8 bps, 
                                    wxUint16 nchannels, bool sign,
                                    int order) 
@@ -64,12 +64,12 @@ wxSoundFormatBase *wxSoundFormatPcm::Clone() const
   return new_pcm;
 }
 
-wxUint32 wxSoundFormatPcm::GetTimeFromByte(wxUint32 bytes) const
+wxUint32 wxSoundFormatPcm::GetTimeFromBytes(wxUint32 bytes) const
 {
   return (bytes / (m_srate * (m_bps / 8) * m_nchan));
 }
 
-wxUint32 wxSoundFormatPcm::GetByteFromTime(wxUint32 time) const
+wxUint32 wxSoundFormatPcm::GetBytesFromTime(wxUint32 time) const
 {
   return (time * (m_srate * (m_bps / 8) * m_nchan));
 }