Lines Matching refs:channel_count
78 mPreferredFormat.u.raw_audio.channel_count = media_raw_audio_format::wildcard.channel_count;
365 else if(format->u.raw_audio.channel_count > 2) {
366 format->u.raw_audio.channel_count = 2;
381 if(format->u.raw_audio.channel_count == media_raw_audio_format::wildcard.channel_count) {
382 //format->u.raw_audio.channel_count = mPreferredFormat.u.raw_audio.channel_count;
383 format->u.raw_audio.channel_count = 1;
384 FPRINTF(stderr, "\tno channel count provided, suggesting %" B_PRIu32 "\n", format->u.raw_audio.channel_count);
460 size_t framesPerBuffer = samplesPerBuffer / mOutput.format.u.raw_audio.channel_count;
464 FillSineBuffer(data, framesPerBuffer, mOutput.format.u.raw_audio.channel_count==2);
796 (sizeof(float) * mOutput.format.u.raw_audio.channel_count);
850 (sizeof(float)*mOutput.format.u.raw_audio.channel_count);
851 bool stereo = (mOutput.format.u.raw_audio.channel_count == 2);
853 ASSERT(mOutput.format.u.raw_audio.channel_count == 1);