Lines Matching refs:nchannels
224 * optimal performance, it is important to have "nsamples", "nchannels"
232 int nsamples, int nchannels, int big_endian)
236 if (nchannels > 0)
239 if (nchannels > 1)
251 if (nchannels > 0) {
253 x[0] = PCM(0 + 7 * nchannels);
254 x[1] = PCM(0 + 3 * nchannels);
255 x[2] = PCM(0 + 6 * nchannels);
256 x[3] = PCM(0 + 4 * nchannels);
257 x[4] = PCM(0 + 0 * nchannels);
258 x[5] = PCM(0 + 2 * nchannels);
259 x[6] = PCM(0 + 1 * nchannels);
260 x[7] = PCM(0 + 5 * nchannels);
262 if (nchannels > 1) {
264 x[0] = PCM(1 + 7 * nchannels);
265 x[1] = PCM(1 + 3 * nchannels);
266 x[2] = PCM(1 + 6 * nchannels);
267 x[3] = PCM(1 + 4 * nchannels);
268 x[4] = PCM(1 + 0 * nchannels);
269 x[5] = PCM(1 + 2 * nchannels);
270 x[6] = PCM(1 + 1 * nchannels);
271 x[7] = PCM(1 + 5 * nchannels);
273 pcm += 16 * nchannels;
283 int nsamples, int nchannels, int big_endian)
287 if (nchannels > 0)
290 if (nchannels > 1)
302 if (nchannels > 0) {
304 x[0] = PCM(0 + 15 * nchannels);
305 x[1] = PCM(0 + 7 * nchannels);
306 x[2] = PCM(0 + 14 * nchannels);
307 x[3] = PCM(0 + 8 * nchannels);
308 x[4] = PCM(0 + 13 * nchannels);
309 x[5] = PCM(0 + 9 * nchannels);
310 x[6] = PCM(0 + 12 * nchannels);
311 x[7] = PCM(0 + 10 * nchannels);
312 x[8] = PCM(0 + 11 * nchannels);
313 x[9] = PCM(0 + 3 * nchannels);
314 x[10] = PCM(0 + 6 * nchannels);
315 x[11] = PCM(0 + 0 * nchannels);
316 x[12] = PCM(0 + 5 * nchannels);
317 x[13] = PCM(0 + 1 * nchannels);
318 x[14] = PCM(0 + 4 * nchannels);
319 x[15] = PCM(0 + 2 * nchannels);
321 if (nchannels > 1) {
323 x[0] = PCM(1 + 15 * nchannels);
324 x[1] = PCM(1 + 7 * nchannels);
325 x[2] = PCM(1 + 14 * nchannels);
326 x[3] = PCM(1 + 8 * nchannels);
327 x[4] = PCM(1 + 13 * nchannels);
328 x[5] = PCM(1 + 9 * nchannels);
329 x[6] = PCM(1 + 12 * nchannels);
330 x[7] = PCM(1 + 10 * nchannels);
331 x[8] = PCM(1 + 11 * nchannels);
332 x[9] = PCM(1 + 3 * nchannels);
333 x[10] = PCM(1 + 6 * nchannels);
334 x[11] = PCM(1 + 0 * nchannels);
335 x[12] = PCM(1 + 5 * nchannels);
336 x[13] = PCM(1 + 1 * nchannels);
337 x[14] = PCM(1 + 4 * nchannels);
338 x[15] = PCM(1 + 2 * nchannels);
340 pcm += 32 * nchannels;
361 int nsamples, int nchannels)
363 if (nchannels > 1)
373 int nsamples, int nchannels)
375 if (nchannels > 1)
385 int nsamples, int nchannels)
387 if (nchannels > 1)
397 int nsamples, int nchannels)
399 if (nchannels > 1)