X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/92a19c2e7757ba742846f83e56356de0a607bdc2..1d529ef7eed851db9d007821decb9639e4e7fc16:/contrib/src/mmedia/sndwav.cpp diff --git a/contrib/src/mmedia/sndwav.cpp b/contrib/src/mmedia/sndwav.cpp index a9712d8189..75f5bf9e59 100644 --- a/contrib/src/mmedia/sndwav.cpp +++ b/contrib/src/mmedia/sndwav.cpp @@ -98,10 +98,10 @@ bool wxSoundWave::CanRead() return TRUE; } -bool wxSoundWave::HandleOutputPCM(wxDataInputStream& data, wxUint32 len, +bool wxSoundWave::HandleOutputPCM(wxDataInputStream& WXUNUSED(data), wxUint32 len, wxUint16 channels, - wxUint32 sample_fq, wxUint32 byte_p_sec, - wxUint16 byte_p_spl, wxUint16 bits_p_spl) + wxUint32 sample_fq, wxUint32 WXUNUSED(byte_p_sec), + wxUint16 WXUNUSED(byte_p_spl), wxUint16 bits_p_spl) { wxSoundFormatPcm sndformat; @@ -121,8 +121,8 @@ bool wxSoundWave::HandleOutputPCM(wxDataInputStream& data, wxUint32 len, bool wxSoundWave::HandleOutputMSADPCM(wxDataInputStream& data, wxUint32 len, wxUint16 channels, - wxUint32 sample_fq, wxUint32 byte_p_sec, - wxUint16 byte_p_spl, wxUint16 bits_p_spl) + wxUint32 sample_fq, wxUint32 WXUNUSED(byte_p_sec), + wxUint16 WXUNUSED(byte_p_spl), wxUint16 WXUNUSED(bits_p_spl)) { wxSoundFormatMSAdpcm sndformat; wxInt16 *coefs[2]; @@ -159,10 +159,10 @@ bool wxSoundWave::HandleOutputMSADPCM(wxDataInputStream& data, wxUint32 len, return TRUE; } -bool wxSoundWave::HandleOutputG721(wxDataInputStream& data, wxUint32 len, - wxUint16 channels, - wxUint32 sample_fq, wxUint32 byte_p_sec, - wxUint16 byte_p_spl, wxUint16 bits_p_spl) +bool wxSoundWave::HandleOutputG721(wxDataInputStream& WXUNUSED(data), wxUint32 len, + wxUint16 WXUNUSED(channels), + wxUint32 sample_fq, wxUint32 WXUNUSED(byte_p_sec), + wxUint16 WXUNUSED(byte_p_spl), wxUint16 WXUNUSED(bits_p_spl)) { wxSoundFormatG72X sndformat; @@ -196,6 +196,7 @@ bool wxSoundWave::PrepareToPlay() // "RIFF" len = data.Read32(); + wxUnusedVar(len); FAIL_WITH(m_input->LastRead() != 4, wxSOUND_INVSTRM); // dummy len @@ -402,7 +403,7 @@ bool wxSoundWave::FinishRecording() return TRUE; } -bool wxSoundWave::RepositionStream(wxUint32 position) +bool wxSoundWave::RepositionStream(wxUint32 WXUNUSED(position)) { if (m_base_offset == wxInvalidOffset) return FALSE;