X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c06a465c52c57fa7eee71b6a7c88f797e56ef3ea..2356708db31b737c6eae53c2316b642aa5a2e68d:/utils/wxMMedia/sndfrmt.cpp diff --git a/utils/wxMMedia/sndfrmt.cpp b/utils/wxMMedia/sndfrmt.cpp index dc6d653ad9..fc9aa77654 100644 --- a/utils/wxMMedia/sndfrmt.cpp +++ b/utils/wxMMedia/sndfrmt.cpp @@ -114,6 +114,7 @@ void wxSoundDataFormat::CodecChange() break; } default: + codec->InitWith(*this); break; } } @@ -150,19 +151,19 @@ bool wxSoundDataFormat::operator ==(const wxSoundDataFormat& format) const // ---------------------------------------------------------------------------- #include "sndpcm.h" -//#include "sndadpcm.h" +#include "sndadpcm.h" //#include "sndalaw.h" #include "sndmulaw.h" static wxClassInfo *l_sound_formats[] = { NULL, CLASSINFO(wxSoundPcmCodec), - NULL, // CLASSINFO(wxSoundAdpcmCodec), + CLASSINFO(wxSoundAdpcmCodec), NULL, NULL, NULL, NULL, // CLASSINFO(wxSoundAlawCodec), - NULL // CLASSINFO(wxSoundMulawCodec) + CLASSINFO(wxSoundMulawCodec) }; static int l_nb_formats = WXSIZEOF(l_sound_formats);