|
|
@@ -266,11 +266,14 @@ enum PixelFormat { |
|
|
|
}; |
|
|
|
|
|
|
|
/* currently unused, may be used if 24/32 bits samples ever supported */ |
|
|
|
/* all in native endian */ |
|
|
|
enum SampleFormat { |
|
|
|
SAMPLE_FMT_S16 = 0, ///< signed 16 bits |
|
|
|
SAMPLT_FMT_NONE = -1, |
|
|
|
SAMPLE_FMT_U8, ///< unsigned 8 bits |
|
|
|
SAMPLE_FMT_S16, ///< signed 16 bits |
|
|
|
SAMPLE_FMT_S24, ///< signed 24 bits |
|
|
|
SAMPLE_FMT_S32, ///< signed 32 bits |
|
|
|
SAMPLE_FMT_FLT, ///< float |
|
|
|
SAMPLE_FMT_DBL, ///< double |
|
|
|
}; |
|
|
|
|
|
|
|
/* in bytes */ |
|
|
|