#endif
#include <wx/wxprec.h>
+
+#ifndef WX_PRECOMP
+#endif
+
#include "sndbase.h"
#include "sndfile.h"
#include "sndpcm.h"
wxSoundStream& wxSoundStreamUlaw::Read(void *buffer, wxUint32 len)
{
- return *this;
+ // TODO
+ return *this;
}
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) {