Searched refs:trackMetadata (Results 1 – 3 of 3) sorted by relevance
/hardware/interfaces/audio/core/all-versions/default/util/ |
D | CoreUtils.cpp | 160 RecordTrackMetadata trackMetadata{}; in sinkMetadataFromHal() local 162 HidlUtils::audioSourceFromHal(halTrackMetadata.source, &trackMetadata.source), in sinkMetadataFromHal() 164 trackMetadata.gain = halTrackMetadata.gain; in sinkMetadataFromHal() 172 trackMetadata.destination.device(std::move(address)); in sinkMetadataFromHal() 178 trackMetadata.channelMask = toString(xsd::AudioChannelMask::AUDIO_CHANNEL_NONE); in sinkMetadataFromHal() 181 sinkMetadata->tracks[i] = std::move(trackMetadata); in sinkMetadataFromHal() 199 auto& trackMetadata = sinkMetadata->tracks[i]; in sinkMetadataFromHalV7() local 203 &trackMetadata.channelMask), in sinkMetadataFromHalV7() 209 CONVERT_CHECKED(HidlUtils::audioTagsFromHal(strTags, &trackMetadata.tags), result); in sinkMetadataFromHalV7() 223 for (auto& trackMetadata : sinkMetadata.tracks) { in sinkMetadataToHal() local [all …]
|
/hardware/interfaces/automotive/audiocontrol/aidl/default/ |
D | AudioControl.cpp | 483 audiohalcommon::PlaybackTrackMetadata& trackMetadata) { in parseMetaData() argument 510 trackMetadata = {.usage = static_cast<audiomediacommon::AudioUsage>(usage), in parseMetaData() 530 audiohalcommon::PlaybackTrackMetadata trackMetadata{}; in cmdRequestFocusWithMetaData() local 531 auto status = parseMetaData(fd, metadataLiteral, trackMetadata); in cmdRequestFocusWithMetaData() 554 mFocusListener->requestAudioFocusWithMetaData(trackMetadata, zoneId, focusGain); in cmdRequestFocusWithMetaData() 556 trackMetadata.toString().c_str(), zoneId, focusGain); in cmdRequestFocusWithMetaData() 573 audiohalcommon::PlaybackTrackMetadata trackMetadata{}; in cmdAbandonFocusWithMetaData() local 574 auto status = parseMetaData(fd, metadataLiteral, trackMetadata); in cmdAbandonFocusWithMetaData() 588 mFocusListener->abandonAudioFocusWithMetaData(trackMetadata, zoneId); in cmdAbandonFocusWithMetaData() 589 dprintf(fd, "Abandoned focus for metadata %s and zoneId %d\n", trackMetadata.toString().c_str(), in cmdAbandonFocusWithMetaData()
|
D | AudioControl.h | 93 audiohalcommon::PlaybackTrackMetadata& trackMetadata);
|