Added file and fixed compilo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2001-11-23 12:42:42 +00:00
parent 67d54ef1dc
commit b97a1a73fd
2 changed files with 5 additions and 1 deletions

View File

@ -134,6 +134,10 @@ SOURCE=.\sndg72x.cpp
# End Source File
# Begin Source File
SOURCE=.\sndmsad.cpp
# End Source File
# Begin Source File
SOURCE=.\sndpcm.cpp
# End Source File
# Begin Source File

View File

@ -77,7 +77,7 @@ void wxSoundFormatMSAdpcm::SetCoefs(wxInt16 **coefs, wxUint16 ncoefs,
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];