return m_nchannels;
}
-void wxSoundFormatMSAdpcm::SetCoefs(wxInt16 **coefs, wxUint16 ncoefs,
+void wxSoundFormatMSAdpcm::SetCoefs(wxInt16 **WXUNUSED(coefs), wxUint16 ncoefs,
wxUint16 coefs_len)
{
wxUint16 i;
delete[] m_coefs;
}
// TODO: Add some memory checking here
- m_coefs = new (wxInt16 *)[ncoefs];
+ m_coefs = new wxInt16 *[ncoefs];
for (i=0;i<ncoefs;i++)
m_coefs[i] = new wxInt16[coefs_len];
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;
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;
}