X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/81915974f6986634d17833ae69106091b9562a06..56dc1ffd50dac2369237e528abca6c12ea179c19:/utils/wxMMedia2/lib/sndulaw.cpp?ds=sidebyside diff --git a/utils/wxMMedia2/lib/sndulaw.cpp b/utils/wxMMedia2/lib/sndulaw.cpp index 620abb7aa1..5fb3153f9c 100644 --- a/utils/wxMMedia2/lib/sndulaw.cpp +++ b/utils/wxMMedia2/lib/sndulaw.cpp @@ -109,6 +109,11 @@ wxSoundStream& wxSoundStreamUlaw::Write(const void *buffer, wxUint32 len) return *m_router; } +wxUint32 wxSoundStreamUlaw::GetBestSize() const +{ + return m_sndio->GetBestSize() / 2; +} + bool wxSoundStreamUlaw::SetSoundFormat(const wxSoundFormatBase& format) { if (format.GetType() != wxSOUND_ULAW) {