1 // --------------------------------------------------------------------------
5 // Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999
7 // License: wxWindows license
8 // --------------------------------------------------------------------------
13 #pragma interface "sndaiff.h"
17 #include "wx/stream.h"
18 #include "wx/mmedia/defs.h"
19 #include "wx/mmedia/sndbase.h"
20 #include "wx/mmedia/sndcodec.h"
21 #include "wx/mmedia/sndfile.h"
27 class WXDLLIMPEXP_MMEDIA wxSoundAiff
: public wxSoundFileStream
{
29 wxSoundAiff(wxInputStream
& stream
, wxSoundStream
& io_sound
);
30 wxSoundAiff(wxOutputStream
& stream
, wxSoundStream
& io_sound
);
34 wxString
GetCodecName() const;
38 bool PrepareToRecord(wxUint32 time
);
39 bool FinishRecording();
40 bool RepositionStream(wxUint32 position
);
42 wxUint32
GetData(void *buffer
, wxUint32 len
);
43 wxUint32
PutData(const void *buffer
, wxUint32 len
);