Home
last modified time | relevance | path

Searched refs:channel_mask (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/av/media/libaudiofoundation/
DAudioGain.cpp48 config->channel_mask = mGain.channel_mask; in getDefaultConfig()
54 numValues = audio_channel_count_from_in_mask(mGain.channel_mask); in getDefaultConfig()
56 numValues = audio_channel_count_from_out_mask(mGain.channel_mask); in getDefaultConfig()
78 if ((config->channel_mask & ~mGain.channel_mask) != 0) { in checkConfig()
83 numValues = audio_channel_count_from_in_mask(config->channel_mask); in checkConfig()
85 numValues = audio_channel_count_from_out_mask(config->channel_mask); in checkConfig()
107 dst->append(base::StringPrintf("%*s- channel_mask: %08x\n", spaces, "", mGain.channel_mask)); in dump()
123 mGain.channel_mask == other->mGain.channel_mask && in equals()
145 legacy2aidl_audio_channel_mask_t_int32_t(mGain.channel_mask)); in writeToParcelable()
168 mGain.channel_mask = VALUE_OR_RETURN_STATUS( in readFromParcelable()
DAudioPort.cpp245 mChannelMask = config->channel_mask; in applyAudioPortConfig()
284 updateField(mChannelMask, &audio_port_config::channel_mask, in toAudioPortConfig()
327 mGain.channel_mask == other->mGain.channel_mask && in equals()
349 legacy2aidl_audio_channel_mask_t_int32_t(mGain.channel_mask)); in writeToParcelable()
372 mGain.channel_mask = VALUE_OR_RETURN_STATUS( in readFromParcelable()
/frameworks/av/services/audioflinger/
DSpdifStreamOut.cpp56 mApplicationChannelMask = config->channel_mask; in open()
78 customConfig.channel_mask = AUDIO_CHANNEL_OUT_STEREO; in open()
87 config->channel_mask); in open()
92 customConfig.channel_mask); in open()
DAudioHwDevice.cpp52 config->channel_mask); in openOutputStream()
67 config->channel_mask, in openOutputStream()
DAudioStreamOut.cpp144 config->channel_mask, in open()
181 result.channel_mask = AUDIO_CHANNEL_INVALID; in getAudioProperties()
DPatchPanel.cpp267 config.channel_mask = patch->sinks[0].channel_mask; in createAudioPatch()
300 config.channel_mask = patch->sources[0].channel_mask; in createAudioPatch()
302 config.channel_mask = audio_channel_in_mask_from_count( in createAudioPatch()
324 thread.get(), config.channel_mask); in createAudioPatch()
/frameworks/av/services/mediametrics/
Dstatsd_audiotrack.cpp89 int64_t channel_mask = -1; in statsd_audiotrack() local
90 if (item->getInt64("android.media.audiotrack.channelmask", &channel_mask)) { in statsd_audiotrack()
91 metrics_proto.set_channel_mask(channel_mask); in statsd_audiotrack()
162 << " channel_mask:" << channel_mask in statsd_audiotrack()
Dstatsd_audiorecord.cpp126 int64_t channel_mask = -1; in statsd_audiorecord() local
127 if (item->getInt64("android.media.audiorecord.channelMask", &channel_mask)) { in statsd_audiorecord()
128 metrics_proto.set_channel_mask(channel_mask); in statsd_audiorecord()
178 << " channel_mask:" << channel_mask in statsd_audiorecord()
Dstatsd_audiothread.cpp120 int32_t channel_mask = -1; in statsd_audiothread() local
121 if (item->getInt32(MM_PREFIX "channelMask", &channel_mask)) { in statsd_audiothread()
122 metrics_proto.set_channel_mask(channel_mask); in statsd_audiothread()
219 << " channel_mask:" << channel_mask in statsd_audiothread()
/frameworks/av/media/libaudiofoundation/include/media/
DAudioGain.h40 void setChannelMask(audio_channel_mask_t mask) { mGain.channel_mask = mask; } in setChannelMask()
41 const audio_channel_mask_t &getChannelMask() const { return mGain.channel_mask; } in getChannelMask()
/frameworks/av/services/oboeservice/
DAAudioServiceEndpointMMAP.cpp134 config.channel_mask = (aaudioSamplesPerFrame == AAUDIO_UNSPECIFIED) in openWithFormat()
140 config.channel_mask = (aaudioSamplesPerFrame == AAUDIO_UNSPECIFIED) in openWithFormat()
229 ? audio_channel_count_from_out_mask(config.channel_mask) in openWithFormat()
230 : audio_channel_count_from_in_mask(config.channel_mask)); in openWithFormat()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DClientDescriptor.cpp48 mConfig.format, mConfig.sample_rate, mConfig.channel_mask); in dump()
96 {config.sample_rate, config.channel_mask, config.format}, AUDIO_PORT_HANDLE_NONE, in SourceClientDescriptor()
DAudioOutputDescriptor.cpp55 const audio_config_base_t config = { .sample_rate = mSamplingRate, .channel_mask = mChannelMask, in getConfig()
511 lConfig.channel_mask = mChannelMask; in open()
524 lConfig.offload_info.channel_mask = lConfig.channel_mask; in open()
554 mChannelMask = lConfig.channel_mask; in open()
DHwModule.cpp57 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask, in addOutputProfile()
125 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask, in addInputProfile()
136 name.c_str(), config->sample_rate, config->channel_mask); in addInputProfile()
/frameworks/av/media/libaudiofoundation/tests/
Daudiofoundation_parcelable_test.cpp40 .channel_mask = AUDIO_CHANNEL_OUT_STEREO,
45 .channel_mask = AUDIO_CHANNEL_OUT_STEREO,
/frameworks/av/services/audiopolicy/fuzzer/
Daudiopolicy_fuzzer.cpp245 config.channel_mask = channelMask; in getOutputForAttr()
273 config.channel_mask = channelMask; in getInputForAttr()
568 audioConfig.channel_mask = getValueFromVector<audio_channel_mask_t>( in registerPolicyMixes()
652 mAudioConfig.channel_mask = in initialize()
675 mAudioConfig.channel_mask, mAudioConfig.sample_rate, AUDIO_INPUT_FLAG_NONE, in initialize()
703 getOutputForAttr(&playbackRoutedPortId, mAudioConfig.format, mAudioConfig.channel_mask, in playBackReRouting()
765 mAudioConfig.channel_mask = in initialize()
787 getOutputForAttr(&selectedDeviceId, mAudioConfig.format, mAudioConfig.channel_mask, in initialize()
818 mAudioConfig.channel_mask, mAudioConfig.sample_rate, AUDIO_INPUT_FLAG_NONE, in recordingInjection()
/frameworks/av/media/libaudioclient/fuzzer/
Daudioflinger_fuzzer.cpp219 offloadInfo.channel_mask = channelMask; in invokeAudioTrack()
571 config.channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioInputDevice()
578 config.offload_info.channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioInputDevice()
628 config.channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioOutputDevice()
633 config.offload_info.channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioOutputDevice()
687 patch.sources[i].channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioPatch()
689 patch.sources[i].gain.channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioPatch()
699 patch.sinks[i].channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioPatch()
701 patch.sinks[i].gain.channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioPatch()
/frameworks/av/media/libaudioclient/
DAudioPolicy.cpp82 mFormat.channel_mask = (audio_channel_mask_t)parcel->readInt32(); in readFromParcel()
107 parcel->writeInt32(mFormat.channel_mask); in writeToParcel()
DAidlConversion.cpp467 legacy.channel_mask = in aidl2legacy_AudioGainConfig_audio_gain_config()
472 : isInput ? audio_channel_count_from_in_mask(legacy.channel_mask) in aidl2legacy_AudioGainConfig_audio_gain_config()
473 : audio_channel_count_from_out_mask(legacy.channel_mask); in aidl2legacy_AudioGainConfig_audio_gain_config()
490 VALUE_OR_RETURN(legacy2aidl_audio_channel_mask_t_int32_t(legacy.channel_mask)); in legacy2aidl_audio_gain_config_AudioGainConfig()
494 : isInput ? audio_channel_count_from_in_mask(legacy.channel_mask) in legacy2aidl_audio_gain_config_AudioGainConfig()
495 : audio_channel_count_from_out_mask(legacy.channel_mask); in legacy2aidl_audio_gain_config_AudioGainConfig()
1056 legacy.channel_mask = in aidl2legacy_AudioPortConfig_audio_port_config()
1086 VALUE_OR_RETURN(legacy2aidl_audio_channel_mask_t_int32_t(legacy.channel_mask)); in legacy2aidl_audio_port_config_AudioPortConfig()
1478 legacy.channel_mask = config.channel_mask; in aidl2legacy_AudioOffloadInfo_audio_offload_info_t()
1506 legacy2aidl_audio_channel_mask_t_int32_t(legacy.channel_mask)); in legacy2aidl_audio_offload_info_t_AudioOffloadInfo()
[all …]
/frameworks/av/media/libnbaio/
DAudioStreamInSource.cpp53 audio_channel_count_from_in_mask(config.channel_mask), config.format); in negotiate()
DAudioStreamOutSink.cpp51 audio_channel_count_from_out_mask(config.channel_mask), config.format); in negotiate()
/frameworks/av/media/libaudiohal/impl/
DDeviceHalLocal.cpp116 config->sample_rate, config->format, config->channel_mask, in openOutputStream()
141 config->sample_rate, config->format, config->channel_mask, in openInputStream()
/frameworks/proto_logging/stats/message/
Dmediametrics_message.proto61 optional int64 channel_mask = 14; field
88 optional int64 channel_mask = 14; field
116 optional int64 channel_mask = 5; field
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1093 config->channel_mask, *flags, toString(*stream).c_str()); in getOutputForAttrInt()
1181 .channel_mask = config->channel_mask, in getOutputForAttr()
1216 audio_channel_count_from_out_mask(config->channel_mask) <= 2) { in openDirectOutput()
1230 devices, config->sample_rate, config->format, config->channel_mask, in openDirectOutput()
1246 (config->channel_mask == desc->getChannelMask()) && in openDirectOutput()
1274 (config->channel_mask != 0 && config->channel_mask != outputDesc->getChannelMask())) { in openDirectOutput()
1278 config->channel_mask, outputDesc->getChannelMask()); in openDirectOutput()
1312 ? static_cast<audio_channel_mask_t>(config->channel_mask & ~AUDIO_CHANNEL_HAPTIC_ALL) in getOutputForDevices()
1313 : config->channel_mask; in getOutputForDevices()
1345 directConfig.channel_mask = channelMask; in getOutputForDevices()
[all …]
/frameworks/av/media/libaudioclient/tests/
Dtest_create_audiotrack.cpp100 offloadInfo.channel_mask = channelMask; in testTrack()

12