1 // --------------------------------------------------------------------------
5 // Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999
7 // --------------------------------------------------------------------------
12 #pragma interface "sndcpcm.h"
19 // PCM converter class
22 class wxSoundStreamPcm
: public wxSoundStreamCodec
{
24 typedef void (*ConverterType
)(const char *buf_in
, char *buf_out
, wxUint32 len
);
26 wxSoundStreamPcm(wxSoundStream
& sndio
);
29 wxSoundStream
& Read(void *buffer
, wxUint32 len
);
30 wxSoundStream
& Write(const void *buffer
, wxUint32 len
);
32 bool SetSoundFormat(const wxSoundFormatBase
& format
);
35 ConverterType m_function_out
, m_function_in
;