X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eb4e516dd9774b4d14abedd8229dc4c9bcff8439..25a2a4b05ee3b0f457ac89db2c93c0b11af5955a:/utils/wxMMedia/sndfrmt.h diff --git a/utils/wxMMedia/sndfrmt.h b/utils/wxMMedia/sndfrmt.h index bb95535089..6a67db7de2 100644 --- a/utils/wxMMedia/sndfrmt.h +++ b/utils/wxMMedia/sndfrmt.h @@ -1,3 +1,12 @@ +//////////////////////////////////////////////////////////////////////////////// +// Name: sndfrmt.h +// Purpose: wxMMedia +// Author: Guilhem Lavaux +// Created: 1998 +// Updated: December 1998 +// Copyright: (C) 1997, 1998, Guilhem Lavaux +// License: wxWindows license +//////////////////////////////////////////////////////////////////////////////// #ifndef __SNDFRMT_H__ #define __SNDFRMT_H__ @@ -27,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; } @@ -76,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; }