Searched refs:hardware_channels (Results 1 – 2 of 2) sorted by relevance
718 int hardware_channels = 0; in AllocateInputData() local720 input_id_, kAudioDevicePropertyScopeInput, &hardware_channels); in AllocateInputData()721 if (!got_hardware_channels || hardware_channels > 2) { in AllocateInputData()725 hardware_channels = 2; in AllocateInputData()732 (sizeof(AudioBuffer) * hardware_channels); in AllocateInputData()735 input_buffer_list_->mNumberBuffers = hardware_channels; in AllocateInputData()737 input_bus_ = AudioBus::Create(hardware_channels, hardware_buffer_size_); in AllocateInputData()739 if (hardware_channels != params_.input_channels()) { in AllocateInputData()741 GuessChannelLayout(hardware_channels); in AllocateInputData()
652 int hardware_channels = 2; in GetPreferredOutputStreamParameters() local654 &hardware_channels)) { in GetPreferredOutputStreamParameters()656 hardware_channels = 2; in GetPreferredOutputStreamParameters()659 ChannelLayout channel_layout = GuessChannelLayout(hardware_channels); in GetPreferredOutputStreamParameters()680 hardware_channels = ChannelLayoutToChannelCount(channel_layout); in GetPreferredOutputStreamParameters()685 hardware_channels, in GetPreferredOutputStreamParameters()