version 1.5, 2008/11/20 10:10:01 |
version 1.6, 2009/07/25 10:52:18 |
|
|
#define BITS_MAX 32 /* max bits per sample */ |
#define BITS_MAX 32 /* max bits per sample */ |
|
|
/* |
/* |
* maximum size of the encording string (the longest possible |
* Maximum size of the encording string (the longest possible |
* encoding is ``s24le3msb'') |
* encoding is ``s24le3msb''). |
*/ |
*/ |
#define ENCMAX 10 |
#define ENCMAX 10 |
|
|
|
|
#endif |
#endif |
|
|
/* |
/* |
* default bytes per sample for the given bits per sample |
* Default bytes per sample for the given bits per sample. |
*/ |
*/ |
#define APARAMS_BPS(bits) (((bits) <= 8) ? 1 : (((bits) <= 16) ? 2 : 4)) |
#define APARAMS_BPS(bits) (((bits) <= 8) ? 1 : (((bits) <= 16) ? 2 : 4)) |
|
|
/* |
/* |
* encoding specification |
* Encoding specification. |
*/ |
*/ |
struct aparams { |
struct aparams { |
unsigned bps; /* bytes per sample */ |
unsigned bps; /* bytes per sample */ |