From b97a1a73fd027f762c448fd708286740e93add0e Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 23 Nov 2001 12:42:42 +0000 Subject: [PATCH] Added file and fixed compilo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/mmedia/MmediaVC.dsp | 4 ++++ contrib/src/mmedia/sndmsad.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/contrib/src/mmedia/MmediaVC.dsp b/contrib/src/mmedia/MmediaVC.dsp index ed6566eb67..a37371691e 100644 --- a/contrib/src/mmedia/MmediaVC.dsp +++ b/contrib/src/mmedia/MmediaVC.dsp @@ -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 diff --git a/contrib/src/mmedia/sndmsad.cpp b/contrib/src/mmedia/sndmsad.cpp index 6024e8e4c1..dbc6505d5b 100644 --- a/contrib/src/mmedia/sndmsad.cpp +++ b/contrib/src/mmedia/sndmsad.cpp @@ -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