]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxMMedia2/lib/sndulaw.cpp
Fixed wxMemoryOutputStream (it wasn't working at all)
[wxWidgets.git] / utils / wxMMedia2 / lib / sndulaw.cpp
index 620abb7aa11e92b1bd9cd9cf9a4d438406d59a83..5fb3153f9cbe1f4d307c3bdf4b71490620eec8d8 100644 (file)
@@ -109,6 +109,11 @@ wxSoundStream& wxSoundStreamUlaw::Write(const void *buffer, wxUint32 len)
   return *m_router;
 }
 
   return *m_router;
 }
 
+wxUint32 wxSoundStreamUlaw::GetBestSize() const
+{
+  return m_sndio->GetBestSize() / 2;
+}
+
 bool wxSoundStreamUlaw::SetSoundFormat(const wxSoundFormatBase& format)
 {
   if (format.GetType() != wxSOUND_ULAW) {
 bool wxSoundStreamUlaw::SetSoundFormat(const wxSoundFormatBase& format)
 {
   if (format.GetType() != wxSOUND_ULAW) {