36 #define AU_UNKNOWN_SIZE ((uint32_t)(~0))
38 #define AU_HEADER_SIZE (24+8)
59 if (p->
buf[0] ==
'.' && p->
buf[1] ==
's' &&
60 p->
buf[2] ==
'n' && p->
buf[3] ==
'd')
72 unsigned int id, channels, rate;
78 if (tag !=
MKTAG(
'.',
's',
'n',
'd'))
99 if (channels == 0 || channels > 64) {
128 .read_probe = au_probe,
129 .read_header = au_read_header,
174 if (s->
pb->
seekable && file_size < INT32_MAX) {
189 .mime_type =
"audio/basic",
193 .write_header = au_write_header,
195 .write_trailer = au_write_trailer,