X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/503aa33d55183bcbd8444e36ed8c273a18dab72f..a6f989f3dbec747c6da629a32fa5cad9a554f66e:/utils/wxMMedia2/lib/sndaiff.cpp diff --git a/utils/wxMMedia2/lib/sndaiff.cpp b/utils/wxMMedia2/lib/sndaiff.cpp index 9ea8eb0af9..bfcb149f8c 100644 --- a/utils/wxMMedia2/lib/sndaiff.cpp +++ b/utils/wxMMedia2/lib/sndaiff.cpp @@ -90,7 +90,7 @@ bool wxSoundAiff::PrepareToPlay() sndformat.SetSampleRate((wxUint32) srate); sndformat.SetBPS(bps); sndformat.SetChannels(channels); - sndformat.Signed(TRUE); + sndformat.Signed(FALSE); sndformat.SetOrder(wxBIG_ENDIAN); if (!SetSoundFormat(sndformat)) @@ -126,12 +126,12 @@ bool wxSoundAiff::FinishRecording() return FALSE; } -size_t wxSoundAiff::GetData(void *buffer, size_t len) +wxUint32 wxSoundAiff::GetData(void *buffer, wxUint32 len) { return m_input->Read(buffer, len).LastRead(); } -size_t wxSoundAiff::PutData(const void *buffer, size_t len) +wxUint32 wxSoundAiff::PutData(const void *buffer, wxUint32 len) { return m_output->Write(buffer, len).LastWrite(); }