X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526ddb13e289be62ee1926c265138c0dea36fa56..ac2def68edf450f51483c8d78dbc2890dd6985bc:/utils/wxMMedia2/lib/sndulaw.cpp diff --git a/utils/wxMMedia2/lib/sndulaw.cpp b/utils/wxMMedia2/lib/sndulaw.cpp index d858bfacc4..3142d173c5 100644 --- a/utils/wxMMedia2/lib/sndulaw.cpp +++ b/utils/wxMMedia2/lib/sndulaw.cpp @@ -9,6 +9,7 @@ #pragma implementation "sndulaw.cpp" #endif +#include #include "sndbase.h" #include "sndfile.h" #include "sndpcm.h" @@ -46,12 +47,12 @@ wxSoundFormatBase *wxSoundFormatUlaw::Clone() const return ulaw; } -wxUint32 wxSoundFormatUlaw::GetTimeFromByte(wxUint32 bytes) const +wxUint32 wxSoundFormatUlaw::GetTimeFromBytes(wxUint32 bytes) const { return (bytes / m_srate); } -wxUint32 wxSoundFormatUlaw::GetByteFromTime(wxUint32 time) const +wxUint32 wxSoundFormatUlaw::GetBytesFromTime(wxUint32 time) const { return time * m_srate; }