]>
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 | // -------------------------------------------------------------------------- | |
8 | #ifndef _WX_SNDCODEC_H | |
9 | #define _WX_SNDCODEC_H | |
10 | ||
11 | #ifdef __GNUG__ | |
12 | #pragma interface "sndcodec.h" | |
13 | #endif | |
14 | ||
15 | #include "sndbase.h" | |
16 | ||
17 | class wxSoundStreamCodec: public wxSoundStream { | |
18 | public: | |
19 | wxSoundStreamCodec(wxSoundStream& snd_io); | |
20 | ~wxSoundStreamCodec(); | |
21 | ||
22 | bool StartProduction(int evt); | |
23 | bool StopProduction(); | |
24 | ||
25 | void SetDuplexMode(bool duplex); | |
26 | ||
27 | protected: | |
28 | wxSoundStream *m_sndio; | |
29 | }; | |
30 | ||
31 | #endif |