added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / compiler / include / datatypes / soundclassext.h
blobefb43e82d467456df79abd9a65f94d608350d944
1 #ifndef DATATYPES_SOUNDCLASSEXT_H
2 #define DATATYPES_SOUNDCLASSEXT_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Extended Includes for soundclass (V41 sounddt by Stephan Rupprecht)
9 Lang: English
12 #ifndef DATATYPES_SOUNDCLASS_H
13 # include <datatypes/soundclass.h>
14 #endif
16 #define SDTA_SampleType (SDTA_Dummy + 30)
17 #define SDTA_Panning (SDTA_Dummy + 31)
18 #define SDTA_Frequency (SDTA_Dummy + 32)
20 #define SDTST_M8S 0
21 #define SDTST_S8S 1
22 #define SDTST_M16S 2
23 #define SDTST_S16S 3
25 #define SDTM_ISSTEREO(sampletype) ((sampletype) & 1)
26 #define SDTM_CHANNELS(sampletype) (1 + SDTM_ISSTEREO(sampletype))
27 #define SDTM_BYTESPERSAMPLE(x) (((x) >= SDTST_M16S ) ? 2 : 1)
28 #define SDTM_BYTESPERPOINT(x) (SDTM_CHANNELS(x) * SDTM_BYTESPERSAMPLE(x))
30 #endif /* DATATYPES_SOUNDCLASSEXT_H */