Lines Matching refs:hdr
108 AudioHdr& hdr)
113 hdr.sample_rate = 48000;
114 hdr.channels = 2;
115 hdr.encoding = LINEAR;
116 hdr.samples_per_unit = 1;
117 hdr.bytes_per_unit = 2;
119 hdr.sample_rate = 44100;
120 hdr.channels = 2;
121 hdr.encoding = LINEAR;
122 hdr.samples_per_unit = 1;
123 hdr.bytes_per_unit = 2;
125 hdr.sample_rate = 8000;
126 hdr.channels = 1;
127 hdr.encoding = ULAW;
128 hdr.samples_per_unit = 1;
129 hdr.bytes_per_unit = 1;
141 AudioHdr& hdr,
161 if (hdr.FormatParse(s) == AUDIO_SUCCESS) {
183 if (hdr.EncodingParse(val)) {
191 if (hdr.RateParse(val)) {
198 if (hdr.ChannelParse(val)) {
229 if (hdr.EncodingParse(val) &&
230 (audioformat_parse(val, hdr) < 0) &&
234 if (!hdr.RateParse(val)) {
235 if (hdr.sample_rate < 1000) {
247 } else if (hdr.ChannelParse(val)) {