Go to the documentation of this file.
37 char buffer[32], coding[32] =
"pcm", format[32] =
"01";
50 sscanf(buffer,
"%"SCNd32, &header_size);
60 if (!memcmp(buffer,
"end_head", 8)) {
86 }
else if (!memcmp(buffer,
"channel_count", 13)) {
88 }
else if (!memcmp(buffer,
"sample_byte_format", 18)) {
89 sscanf(buffer,
"%*s %*s %31s", format);
99 }
else if (!memcmp(buffer,
"sample_coding", 13)) {
100 sscanf(buffer,
"%*s %*s %31s", coding);
101 }
else if (!memcmp(buffer,
"sample_count", 12)) {
102 sscanf(buffer,
"%*s %*s %"SCNd64, &st->
duration);
103 }
else if (!memcmp(buffer,
"sample_n_bytes", 14)) {
104 sscanf(buffer,
"%*s %*s %"SCNd32, &bps);
105 }
else if (!memcmp(buffer,
"sample_rate", 11)) {
107 }
else if (!memcmp(buffer,
"sample_sig_bits", 15)) {
110 char key[32],
value[32];
111 if (sscanf(buffer,
"%31s %*s %31s", key, value) == 3) {
123 .
name =
"nistsphere",
129 .extensions =
"nist,sph",