48 if ((p->
buf[0] ==
'F' || p->
buf[0] ==
'C') && p->
buf[1] ==
'W' &&
63 if (tag ==
MKBETAG(
'C',
'W',
'S', 0)) {
67 if (tag !=
MKBETAG(
'F',
'W',
'S', 0))
72 len = (4 * nbits - 3 + 7) / 8;
124 int sample_rate_code;
139 ast->codec->channels = 1 + (v&1);
143 sample_rate_code= (v>>2) & 3;
144 if (!sample_rate_code)
145 ast->codec->sample_rate = 5512;
147 ast->codec->sample_rate = 11025 << (sample_rate_code-1);