]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxMMedia/sndadpcm.h
1 #ifndef __MEDIA_SNDADPCM_H__
2 #define __MEDIA_SNDADPCM_H__
10 class wxSoundAdpcmCodec
: public wxSoundCodec
{
11 DECLARE_DYNAMIC_CLASS(wxSoundAdpcmCodec
)
16 size_t GetByteRate() const;
17 wxSoundDataFormat
GetPreferredFormat(int codec
= 0) const;
18 int GetBits(int bits
);
23 void InitWith(const wxSoundDataFormat
& format
);
25 struct g72x_state
*m_codec_state
;
26 int m_bits_waiting
, m_current_byte
;