scons --> make
[aftubes.git] / aformat.h
blob2d9642b3260474c806f965ad34941d91a75a0f9e
1 #ifndef AFORMAT_H
2 #define AFORMAT_H
4 // media types
5 enum {
6 MT_UNKNOWN = 0,
7 MT_AUDIO_32F, // 32-bit floating-point audio
8 MT_AUDIO_16I, // 16-bit signed integer
9 MT_AUDIO_32I, // 32-bit signed integer
12 struct aformat {
13 int media; // media type (MT_*)
14 int srate; // sample rate
15 int channels; // number of channels
18 int aformat_get_sample_size(struct aformat *af);
20 #endif