• Home
  • Raw
  • Download

Lines Matching refs:channels

723                                     uint32_t *channels,  in openOutputStream()  argument
729 devices, *channels, *sampleRate); in openOutputStream()
781 alsa_handle.channels = VOIP_DEFAULT_CHANNEL_MODE; in openOutputStream()
828 err = out->set(format, channels, sampleRate, devices); in openOutputStream()
852 if (0 == *channels) { in openOutputStream()
853 alsa_handle.channels = info.AudioBlocksArray[info.nAudioBlocks-1].nChannels; in openOutputStream()
854 if (alsa_handle.channels > 6) { in openOutputStream()
855 alsa_handle.channels = 6; in openOutputStream()
857 *channels = audio_channel_out_mask_from_count(alsa_handle.channels); in openOutputStream()
859 alsa_handle.channels = AudioSystem::popCount(*channels); in openOutputStream()
861 alsa_handle.channelMask = *channels; in openOutputStream()
863 if (6 == alsa_handle.channels) { in openOutputStream()
877 …ALOGD("alsa_handle.channels %d alsa_handle.sampleRate %d",alsa_handle.channels,alsa_handle.sampleR… in openOutputStream()
897 ALOGD("channels: %d", AudioSystem::popCount(*channels)); in openOutputStream()
904 err = out->set(format, channels, sampleRate, devices); in openOutputStream()
921 alsa_handle.channels = DEFAULT_CHANNEL_MODE; in openOutputStream()
981 err = out->set(format, channels, sampleRate, devices); in openOutputStream()
1002 uint32_t channels) in openOutputSession() argument
1020 alsa_handle.channels = DEFAULT_CHANNEL_MODE; in openOutputSession()
1094 uint32_t *channels, in openInputStream() argument
1108 … ALOGD("openInputStream: devices 0x%x channels %d sampleRate %d", devices, *channels, *sampleRate); in openInputStream()
1149 alsa_handle.channels = VOIP_DEFAULT_CHANNEL_MODE; in openInputStream()
1191 if(channels) in openInputStream()
1192 it->channels = AudioSystem::popCount(*channels); in openInputStream()
1200 err = in->set(format, channels, sampleRate, devices); in openInputStream()
1217 alsa_handle.channels = VOICE_CHANNEL_MODE; in openInputStream()
1227 ALOGD("openInputStream: into incall recording, channels %d", *channels); in openInputStream()
1228 mIncallMode = *channels; in openInputStream()
1229 if ((*channels & AudioSystem::CHANNEL_IN_VOICE_UPLINK) && in openInputStream()
1230 (*channels & AudioSystem::CHANNEL_IN_VOICE_DNLINK)) { in openInputStream()
1239 } else if (*channels & AudioSystem::CHANNEL_IN_VOICE_DNLINK) { in openInputStream()
1267 ALOGD("openInputStream: incall recording, channels %d", *channels); in openInputStream()
1268 mIncallMode = *channels; in openInputStream()
1269 if ((*channels & AudioSystem::CHANNEL_IN_VOICE_UPLINK) && in openInputStream()
1270 (*channels & AudioSystem::CHANNEL_IN_VOICE_DNLINK)) { in openInputStream()
1279 } else if (*channels & AudioSystem::CHANNEL_IN_VOICE_DNLINK) { in openInputStream()
1310 if(channels) { in openInputStream()
1311 it->channels = AudioSystem::popCount((*channels) & in openInputStream()
1318 it->channelMask = *channels; in openInputStream()
1320 it->channels, it->channelMask); in openInputStream()
1367 it->bufferSize = getInputBufferSize(it->sampleRate,*format,it->channels); in openInputStream()
1374 err = in->set(format, channels, sampleRate, devices); in openInputStream()
1454 alsa_handle.channels = DEFAULT_CHANNEL_MODE; in handleFm()
1550 alsa_handle.channels = VOICE_CHANNEL_MODE; in enableVoiceCall()