]> git.saurik.com Git - wxWidgets.git/blame - utils/wxMMedia2/lib/sndwav.h
makefile typo
[wxWidgets.git] / utils / wxMMedia2 / lib / sndwav.h
CommitLineData
526ddb13
GL
1// --------------------------------------------------------------------------
2// Name: sndwav.h
3// Purpose:
4// Date: 08/11/1999
5// Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999
6// CVSID: $Id$
7// --------------------------------------------------------------------------
8#ifndef _WX_SNDWAV_H
9#define _WX_SNDWAV_H
10
11#ifdef __GNUG__
12#pragma interface "sndwav.h"
13#endif
14
15#include <wx/stream.h>
16#include "sndbase.h"
17#include "sndcodec.h"
18#include "sndfile.h"
19
20//
21// WAVE codec
22//
23
24class wxSoundWave: public wxSoundFileStream {
25 public:
26 wxSoundWave(wxInputStream& stream, wxSoundStream& io_sound);
27 wxSoundWave(wxOutputStream& stream, wxSoundStream& io_sound);
28 ~wxSoundWave();
29
30 bool CanRead();
31
32 protected:
33 bool PrepareToPlay();
34 bool PrepareToRecord(unsigned long time);
35 bool FinishRecording();
36
37 size_t GetData(void *buffer, size_t len);
38 size_t PutData(const void *buffer, size_t len);
39};
40
41#endif