forgotten commit. disabled until egl is adapted.
[AROS-Contrib.git] / FryingPan / DTLib / wAIFFAudio.h
blobdc9bed3e72c9dfb20b311dda3f8856b11e93b5e6
1 /*
2 * FryingPan - Amiga CD/DVD Recording Software (User Interface and supporting Libraries only)
3 * Copyright (C) 2001-2011 Tomasz Wiszkowski Tomasz.Wiszkowski at gmail.com
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public License
7 * as published by the Free Software Foundation; either version 2.1
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef _W_AIFFAUDIO_H_
21 #define _W_AIFFAUDIO_H_
23 #include "FileWriter.h"
24 #include <Generic/HookT.h>
25 #include <Generic/DynList.h>
28 class wAIFFAudio : public FileWriter
30 long offTotal; // offset of FORM size
31 long offSamples; // offset of samples count
32 long offSoundChunk; // offset of sound chunk size
33 protected:
34 wAIFFAudio(const char* sFileName, const IOptItem *it, EDtError &rc);
35 public:
36 static IFileWriter *openWrite(const char* sFile, const IOptItem *it, EDtError &rc);
38 virtual const char *getName();
39 virtual bool isAudio();
40 virtual bool isData();
42 static bool static_isAudio();
43 static bool static_isData();
44 static bool static_isSession();
45 static const char *static_getName();
47 virtual bool setUp();
48 virtual void cleanUp();
51 #endif /*RAWAUDIO_H_*/