X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526ddb13e289be62ee1926c265138c0dea36fa56..6a94433573bab16bcfe85985333323523e4b8517:/utils/wxMMedia2/lib/sndulaw.h diff --git a/utils/wxMMedia2/lib/sndulaw.h b/utils/wxMMedia2/lib/sndulaw.h index 97cbf93e13..67129da083 100644 --- a/utils/wxMMedia2/lib/sndulaw.h +++ b/utils/wxMMedia2/lib/sndulaw.h @@ -30,8 +30,8 @@ class WXDLLEXPORT wxSoundFormatUlaw: public wxSoundFormatBase { wxSoundFormatType GetType() const { return wxSOUND_ULAW; } wxSoundFormatBase *Clone() const; - wxUint32 GetTimeFromByte(wxUint32 bytes) const; - wxUint32 GetByteFromTime(wxUint32 time) const; + wxUint32 GetTimeFromBytes(wxUint32 bytes) const; + wxUint32 GetBytesFromTime(wxUint32 time) const; bool operator !=(const wxSoundFormatBase& frmt2) const; @@ -49,8 +49,8 @@ class WXDLLEXPORT wxSoundStreamUlaw: public wxSoundStreamCodec { wxSoundStreamUlaw(wxSoundStream& sndio); ~wxSoundStreamUlaw(); - wxSoundStream& Read(void *buffer, size_t len); - wxSoundStream& Write(const void *buffer, size_t len); + wxSoundStream& Read(void *buffer, wxUint32 len); + wxSoundStream& Write(const void *buffer, wxUint32 len); bool SetSoundFormat(const wxSoundFormatBase& format);