]> git.saurik.com Git - wxWidgets.git/blame - contrib/include/wx/mmedia/sndaiff.h
mark slider as being transparent, otherwise it has ugly solid grey background when...
[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$
05aa8cf3 7// License: wxWindows license
e8482f24
GL
8// --------------------------------------------------------------------------
9#ifndef _WX_SNDAIFF_H
10#define _WX_SNDAIFF_H
11
12#ifdef __GNUG__
13#pragma interface "sndaiff.h"
14#endif
15
16#include "wx/defs.h"
17#include "wx/stream.h"
15e8daec 18#include "wx/mmedia/defs.h"
e8482f24
GL
19#include "wx/mmedia/sndbase.h"
20#include "wx/mmedia/sndcodec.h"
21#include "wx/mmedia/sndfile.h"
22
23//
24// AIFF codec
25//
26
15e8daec 27class WXDLLIMPEXP_MMEDIA wxSoundAiff: public wxSoundFileStream {
e8482f24
GL
28public:
29 wxSoundAiff(wxInputStream& stream, wxSoundStream& io_sound);
30 wxSoundAiff(wxOutputStream& stream, wxSoundStream& io_sound);
31 ~wxSoundAiff();
32
33 bool CanRead();
34 wxString GetCodecName() const;
35
36protected:
37 bool PrepareToPlay();
38 bool PrepareToRecord(wxUint32 time);
39 bool FinishRecording();
40 bool RepositionStream(wxUint32 position);
41
42 wxUint32 GetData(void *buffer, wxUint32 len);
43 wxUint32 PutData(const void *buffer, wxUint32 len);
44protected:
45 off_t m_base_offset;
46};
47
48#endif