]>
Commit | Line | Data |
---|---|---|
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 | // License: wxWindows license | |
8 | // -------------------------------------------------------------------------- | |
9 | #ifndef _WX_SNDCODEC_H | |
10 | #define _WX_SNDCODEC_H | |
11 | ||
12 | #include "wx/defs.h" | |
13 | #include "wx/mmedia/defs.h" | |
14 | #include "wx/mmedia/sndbase.h" | |
15 | ||
16 | class WXDLLIMPEXP_MMEDIA wxSoundStreamCodec: public wxSoundStream { | |
17 | public: | |
18 | wxSoundStreamCodec(wxSoundStream& snd_io); | |
19 | ~wxSoundStreamCodec(); | |
20 | ||
21 | bool StartProduction(int evt); | |
22 | bool StopProduction(); | |
23 | ||
24 | wxUint32 GetBestSize() const; | |
25 | ||
26 | protected: | |
27 | wxSoundStream *m_sndio; | |
28 | }; | |
29 | ||
30 | #endif |