MPG123_SAMPLESIZE

Get size of one PCM sample with given encoding. This is included both in libmpg123 and libout123. Both offer an API function to provide the macro results from library compile-time, not that of you application. This most likely does not matter as I do not expect any fresh PCM sample encoding to appear. But who knows? Perhaps the encoding type will be abused for funny things in future, not even plain PCM. And, by the way: Thomas really likes the ?: operator. \param enc the encoding (mpg123_enc_enum value) \return size of one sample in bytes

int
MPG123_SAMPLESIZE
(
int enc
)

Meta