]> git.saurik.com Git - wxWidgets.git/blob - contrib/include/wx/mmedia/sndcodec.h
18e8ed147b23a2c0983fb7cb6ea8576a73cf48bf
[wxWidgets.git] / contrib / include / wx / mmedia / sndcodec.h
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 #ifdef __GNUG__
13 #pragma interface "sndcodec.h"
14 #endif
15
16 #include "wx/defs.h"
17 #include "wx/mmedia/defs.h"
18 #include "wx/mmedia/sndbase.h"
19
20 class WXDLLIMPEXP_MMEDIA wxSoundStreamCodec: public wxSoundStream {
21 public:
22 wxSoundStreamCodec(wxSoundStream& snd_io);
23 ~wxSoundStreamCodec();
24
25 bool StartProduction(int evt);
26 bool StopProduction();
27
28 wxUint32 GetBestSize() const;
29
30 protected:
31 wxSoundStream *m_sndio;
32 };
33
34 #endif