X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d6306eb4da8cdac4b5dee9784959672c233eec8..fed485e0946d9cff74fce6afdb169796d90a99f2:/utils/wxMMedia/sndpcm.h diff --git a/utils/wxMMedia/sndpcm.h b/utils/wxMMedia/sndpcm.h index 4c464dda21..20fa95848d 100644 --- a/utils/wxMMedia/sndpcm.h +++ b/utils/wxMMedia/sndpcm.h @@ -13,11 +13,6 @@ class wxSoundPcmCodec : public wxSoundCodec { wxSoundPcmCodec(); virtual ~wxSoundPcmCodec(); - void SetSampleRate(int srate) { m_orig_format.SetSampleRate(srate); } - void SetBits(int bits) { m_orig_format.SetBps(bits); } - void SetByteOrder(int order) { m_orig_format.SetByteOrder(order); } - void SetSign(int sample_sign) { m_orig_format.SetSign(sample_sign); } - size_t GetByteRate() const; wxSoundDataFormat GetPreferredFormat(int codec = 0) const; @@ -31,6 +26,7 @@ class wxSoundPcmCodec : public wxSoundCodec { void OutputSwapAndSign16(); protected: + friend class wxSoundDataFormat; wxSoundDataFormat m_orig_format; char m_char_stack; bool m_char_bool;