Home
last modified time | relevance | path

Searched refs:leveldB (Results 1 – 15 of 15) sorted by relevance

/frameworks/av/media/libmediahelper/
DAudioValidator.cpp125 status_t AudioValidator::validateAudioDescriptionMixLevel(float leveldB) in validateAudioDescriptionMixLevel() argument
128 return std::isnan(leveldB) || leveldB > MAX_AUDIO_DESCRIPTION_MIX_LEVEL ? BAD_VALUE : OK; in validateAudioDescriptionMixLevel()
/frameworks/av/media/libaudioclient/tests/
Daudiotrack_tests.cpp114 float leveldB; in TEST() local
115 if (OK != ap->getAudioTrackHandle()->getAudioDescriptionMixLevel(&leveldB)) { in TEST()
121 EXPECT_EQ(OK, ap->getAudioTrackHandle()->getAudioDescriptionMixLevel(&leveldB)); in TEST()
122 EXPECT_EQ(3.14f, leveldB); in TEST()
/frameworks/av/media/libmediahelper/include/media/
DAudioValidator.h80 static status_t validateAudioDescriptionMixLevel(float leveldB);
/frameworks/av/media/libaudioclient/aidl/android/media/
DIAudioTrack.aidl105 void setAudioDescriptionMixLevel(float leveldB); in setAudioDescriptionMixLevel() argument
/frameworks/av/media/libaudiohal/include/media/audiohal/
DStreamHalInterface.h238 virtual status_t getAudioDescriptionMixLevel(float* leveldB) = 0;
241 virtual status_t setAudioDescriptionMixLevel(float leveldB) = 0;
/frameworks/av/media/libaudiohal/impl/
DStreamHalHidl.h192 status_t getAudioDescriptionMixLevel(float* leveldB) override;
195 status_t setAudioDescriptionMixLevel(float leveldB) override;
DStreamHalHidl.cpp765 status_t StreamOutHalHidl::getAudioDescriptionMixLevel(float* leveldB __unused) { in getAudioDescriptionMixLevel()
769 status_t StreamOutHalHidl::setAudioDescriptionMixLevel(float leveldB __unused) { in setAudioDescriptionMixLevel()
812 status_t StreamOutHalHidl::getAudioDescriptionMixLevel(float* leveldB) { in getAudioDescriptionMixLevel() argument
820 *leveldB = hidlLeveldB; in getAudioDescriptionMixLevel()
826 status_t StreamOutHalHidl::setAudioDescriptionMixLevel(float leveldB) { in setAudioDescriptionMixLevel() argument
830 "setAudioDescriptionMixLevel", mStream->setAudioDescriptionMixLevel(leveldB)); in setAudioDescriptionMixLevel()
DStreamHalAidl.cpp860 status_t StreamOutHalAidl::getAudioDescriptionMixLevel(float* leveldB) { in getAudioDescriptionMixLevel() argument
863 if (leveldB == nullptr) { in getAudioDescriptionMixLevel()
866 return statusTFromBinderStatus(mStream->getAudioDescriptionMixLevel(leveldB)); in getAudioDescriptionMixLevel()
869 status_t StreamOutHalAidl::setAudioDescriptionMixLevel(float leveldB) { in setAudioDescriptionMixLevel() argument
872 return statusTFromBinderStatus(mStream->setAudioDescriptionMixLevel(leveldB)); in setAudioDescriptionMixLevel()
DStreamHalAidl.h366 status_t getAudioDescriptionMixLevel(float* leveldB) override;
369 status_t setAudioDescriptionMixLevel(float leveldB) override;
/frameworks/av/media/libaudioclient/include/media/
DAudioTrack.h672 status_t setAudioDescriptionMixLevel(float leveldB);
675 status_t getAudioDescriptionMixLevel(float* leveldB) const;
1263 status_t setAudioDescriptionMixLevel_l(float leveldB);
/frameworks/av/services/audioflinger/
DTracks.cpp372 binder::Status setAudioDescriptionMixLevel(float leveldB) final;
525 float leveldB = -std::numeric_limits<float>::infinity(); in getAudioDescriptionMixLevel() local
526 const status_t status = mTrack->getAudioDescriptionMixLevel(&leveldB) in getAudioDescriptionMixLevel()
527 ?: AudioValidator::validateAudioDescriptionMixLevel(leveldB); in getAudioDescriptionMixLevel()
528 if (status == OK) *_aidl_return = leveldB; in getAudioDescriptionMixLevel()
532 Status TrackHandle::setAudioDescriptionMixLevel(float leveldB) in setAudioDescriptionMixLevel() argument
534 return binderStatusFromStatusT(AudioValidator::validateAudioDescriptionMixLevel(leveldB) in setAudioDescriptionMixLevel()
535 ?: mTrack->setAudioDescriptionMixLevel(leveldB)); in setAudioDescriptionMixLevel()
1944 status_t Track::getAudioDescriptionMixLevel(float* leveldB) const in getAudioDescriptionMixLevel()
1952 status = t->getOutput_l()->stream->getAudioDescriptionMixLevel(leveldB); in getAudioDescriptionMixLevel()
[all …]
DPlaybackTracks.h135 status_t getAudioDescriptionMixLevel(float* leveldB) const final;
136 status_t setAudioDescriptionMixLevel(float leveldB) final;
DIAfTrack.h312 virtual status_t getAudioDescriptionMixLevel(float* leveldB) const = 0;
313 virtual status_t setAudioDescriptionMixLevel(float leveldB) = 0;
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp1253 status_t AudioTrack::setAudioDescriptionMixLevel(float leveldB) in setAudioDescriptionMixLevel() argument
1256 return setAudioDescriptionMixLevel_l(leveldB); in setAudioDescriptionMixLevel()
1259 status_t AudioTrack::setAudioDescriptionMixLevel_l(float leveldB) in setAudioDescriptionMixLevel_l() argument
1262 mAudioTrack->setAudioDescriptionMixLevel(leveldB)); in setAudioDescriptionMixLevel_l()
1263 if (status == NO_ERROR) mAudioDescriptionMixLeveldB = leveldB; in setAudioDescriptionMixLevel_l()
1267 status_t AudioTrack::getAudioDescriptionMixLevel(float* leveldB) const in getAudioDescriptionMixLevel()
1270 return statusTFromBinderStatus(mAudioTrack->getAudioDescriptionMixLevel(leveldB)); in getAudioDescriptionMixLevel()
/frameworks/av/media/audioaidlconversion/
DAidlConversionCppNdk.cpp3197 legacy.frequency_responses[1][legacy.num_frequency_responses++] = p.leveldB; in aidl2legacy_MicrophoneInfos_audio_microphone_characteristic_t()
3269 aidlInfo->frequencyResponse[i].leveldB = legacy.frequency_responses[1][i]; in legacy2aidl_audio_microphone_characteristic_t_MicrophoneInfos()