Home
last modified time | relevance | path

Searched refs:hardware_channels (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/media/audio/mac/
Daudio_synchronized_mac.cc718 int hardware_channels = 0; in AllocateInputData() local
720 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()
Daudio_manager_mac.cc652 int hardware_channels = 2; in GetPreferredOutputStreamParameters() local
654 &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()