526ddb13e2
Added wxMMedia2: it should work on linux (wave read/write, aiff read only) I begin to write windows driver now Added some file to filelist.txt Make configure build wxMMedia2 makefiles git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
40 lines
899 B
C++
40 lines
899 B
C++
// --------------------------------------------------------------------------
|
|
// Name: sndaiff.h
|
|
// Purpose:
|
|
// Date: 08/11/1999
|
|
// Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999
|
|
// CVSID: $Id$
|
|
// --------------------------------------------------------------------------
|
|
#ifndef _WX_SNDAIFF_H
|
|
#define _WX_SNDAIFF_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface "sndaiff.h"
|
|
#endif
|
|
|
|
#include <wx/stream.h>
|
|
#include "sndbase.h"
|
|
#include "sndcodec.h"
|
|
#include "sndfile.h"
|
|
|
|
//
|
|
// AIFF codec
|
|
//
|
|
|
|
class wxSoundAiff: public wxSoundFileStream {
|
|
public:
|
|
wxSoundAiff(wxInputStream& stream, wxSoundStream& io_sound);
|
|
wxSoundAiff(wxOutputStream& stream, wxSoundStream& io_sound);
|
|
~wxSoundAiff();
|
|
|
|
protected:
|
|
bool PrepareToPlay();
|
|
bool PrepareToRecord(unsigned long time);
|
|
bool FinishRecording();
|
|
|
|
size_t GetData(void *buffer, size_t len);
|
|
size_t PutData(const void *buffer, size_t len);
|
|
};
|
|
|
|
#endif
|