]> git.saurik.com Git - wxWidgets.git/blame - contrib/include/wx/mmedia/sndaiff.h
forgotten method declaration
[wxWidgets.git] / contrib / include / wx / mmedia / sndaiff.h
CommitLineData
e8482f24
GL
1// --------------------------------------------------------------------------
2// Name: sndaiff.h
3// Purpose:
4// Date: 08/11/1999
5// Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999
6// CVSID: $Id$
7// --------------------------------------------------------------------------
8#ifndef _WX_SNDAIFF_H
9#define _WX_SNDAIFF_H
10
11#ifdef __GNUG__
12#pragma interface "sndaiff.h"
13#endif
14
15#include "wx/defs.h"
16#include "wx/stream.h"
17#include "wx/mmedia/sndbase.h"
18#include "wx/mmedia/sndcodec.h"
19#include "wx/mmedia/sndfile.h"
20
21//
22// AIFF codec
23//
24
c42b1de6 25class WXDLLEXPORT wxSoundAiff: public wxSoundFileStream {
e8482f24
GL
26public:
27 wxSoundAiff(wxInputStream& stream, wxSoundStream& io_sound);
28 wxSoundAiff(wxOutputStream& stream, wxSoundStream& io_sound);
29 ~wxSoundAiff();
30
31 bool CanRead();
32 wxString GetCodecName() const;
33
34protected:
35 bool PrepareToPlay();
36 bool PrepareToRecord(wxUint32 time);
37 bool FinishRecording();
38 bool RepositionStream(wxUint32 position);
39
40 wxUint32 GetData(void *buffer, wxUint32 len);
41 wxUint32 PutData(const void *buffer, wxUint32 len);
42protected:
43 off_t m_base_offset;
44};
45
46#endif