]>
Commit | Line | Data |
---|---|---|
e8482f24 GL |
1 | // -------------------------------------------------------------------------- |
2 | // Name: sndcodec.h | |
3 | // Purpose: | |
4 | // Date: 08/11/1999 | |
5 | // Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999 | |
6 | // CVSID: $Id$ | |
7 | // -------------------------------------------------------------------------- | |
8 | #ifndef _WX_SNDCODEC_H | |
9 | #define _WX_SNDCODEC_H | |
10 | ||
11 | #ifdef __GNUG__ | |
12 | #pragma interface "sndcodec.h" | |
13 | #endif | |
14 | ||
15 | #include "wx/defs.h" | |
16 | #include "wx/mmedia/sndbase.h" | |
17 | ||
c42b1de6 | 18 | class WXDLLEXPORT wxSoundStreamCodec: public wxSoundStream { |
e8482f24 GL |
19 | public: |
20 | wxSoundStreamCodec(wxSoundStream& snd_io); | |
21 | ~wxSoundStreamCodec(); | |
22 | ||
23 | bool StartProduction(int evt); | |
24 | bool StopProduction(); | |
25 | ||
26 | wxUint32 GetBestSize() const; | |
27 | ||
28 | protected: | |
29 | wxSoundStream *m_sndio; | |
30 | }; | |
31 | ||
32 | #endif |