X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b97a1a73fd027f762c448fd708286740e93add0e..90c108964caba82a62602c7eef1268d4bb6e4841:/contrib/src/mmedia/sndmsad.cpp?ds=sidebyside diff --git a/contrib/src/mmedia/sndmsad.cpp b/contrib/src/mmedia/sndmsad.cpp index dbc6505d5b..3f627c63ed 100644 --- a/contrib/src/mmedia/sndmsad.cpp +++ b/contrib/src/mmedia/sndmsad.cpp @@ -66,7 +66,7 @@ wxUint16 wxSoundFormatMSAdpcm::GetChannels() const return m_nchannels; } -void wxSoundFormatMSAdpcm::SetCoefs(wxInt16 **coefs, wxUint16 ncoefs, +void wxSoundFormatMSAdpcm::SetCoefs(wxInt16 **WXUNUSED(coefs), wxUint16 ncoefs, wxUint16 coefs_len) { wxUint16 i; @@ -152,7 +152,7 @@ wxSoundStreamMSAdpcm::~wxSoundStreamMSAdpcm() delete m_router; } -wxSoundStream& wxSoundStreamMSAdpcm::Read(void *buffer, wxUint32 len) +wxSoundStream& wxSoundStreamMSAdpcm::Read(void *WXUNUSED(buffer), wxUint32 WXUNUSED(len)) { m_snderror = wxSOUND_NOCODEC; m_lastcount = 0; @@ -368,8 +368,7 @@ bool wxSoundStreamMSAdpcm::SetSoundFormat(const wxSoundFormatBase& format) adpcm->GetCoefs(m_coefs, ncoefs, coefs_len); if (!ncoefs) { - wxLogError(__FILE__ ":%d: Number of ADPCM coefficients" - " must be non null", __LINE__); + wxLogError(wxT("Number of ADPCM coefficients must be non null")); return FALSE; }