]> git.saurik.com Git - wxWidgets.git/blob - utils/wxMMedia/sndmulaw.h
1. C++ comments removed from setup.h
[wxWidgets.git] / utils / wxMMedia / sndmulaw.h
1 #ifndef __MEDIA_SNDMULAW_H__
2 #define __MEDIA_SNDMULAW_H__
3
4 #ifdef __GNUG__
5 #pragma interface
6 #endif
7
8 #include "sndfrmt.h"
9
10 class wxSoundMulawCodec : public wxSoundCodec {
11 DECLARE_DYNAMIC_CLASS(wxSoundMulawCodec)
12 public:
13 wxSoundMulawCodec();
14 virtual ~wxSoundMulawCodec();
15
16 void SetSampleRate(int srate) { m_srate = srate; }
17
18 size_t GetByteRate() const;
19 wxSoundDataFormat GetPreferredFormat(int codec = 0) const;
20
21 void Decode();
22 void Encode();
23
24 protected:
25 int m_srate;
26 };
27
28 #endif