1 #ifndef DATATYPES_SOUNDCLASSEXT_H
2 #define DATATYPES_SOUNDCLASSEXT_H
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
8 Desc: Extended Includes for soundclass (V41 sounddt by Stephan Rupprecht)
12 #ifndef DATATYPES_SOUNDCLASS_H
13 # include <datatypes/soundclass.h>
16 #define SDTA_SampleType (SDTA_Dummy + 30)
17 #define SDTA_Panning (SDTA_Dummy + 31)
18 #define SDTA_Frequency (SDTA_Dummy + 32)
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 */