X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2a040d3f0708e859f812cc10ed1b391d4ca89a07..9f06bcb3b8aea7aa709754a217c26e94fe2d5954:/utils/wxMMedia/sndfrmt.h diff --git a/utils/wxMMedia/sndfrmt.h b/utils/wxMMedia/sndfrmt.h index 69635c0e6d..6a67db7de2 100644 --- a/utils/wxMMedia/sndfrmt.h +++ b/utils/wxMMedia/sndfrmt.h @@ -36,6 +36,7 @@ class wxSoundDataFormat { void SetChannels(int channels); void SetStereo(bool on); void SetCodecNo(int no); + int GetCodecNo() { return m_codno; } void SetCodecCreate(bool create) { m_codcreate = create; } int GetSampleRate() const { return m_srate; } @@ -85,6 +86,7 @@ class wxSoundCodec : public wxObject, public wxStreamBase { size_t Available(); void InitIO(const wxSoundDataFormat& format); + virtual void InitWith(const wxSoundDataFormat& format) {} inline void SetInStream(wxStreamBuffer *s) { m_in_sound = s; }