Home
last modified time | relevance | path

Searched refs:audioIo (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/media/libaudioclient/tests/
Daudio_test_utils.h54 status_t getPatchForOutputMix(audio_io_handle_t audioIo, audio_patch& patch);
55 status_t getPatchForInputMix(audio_io_handle_t audioIo, audio_patch& patch);
58 bool checkPatchPlayback(audio_io_handle_t audioIo, audio_port_handle_t deviceId);
59 bool checkPatchCapture(audio_io_handle_t audioIo, audio_port_handle_t deviceId);
71 void onAudioDeviceUpdate(audio_io_handle_t audioIo, audio_port_handle_t deviceId);
Daudio_test_utils.cpp29 void OnAudioDeviceUpdateNotifier::onAudioDeviceUpdate(audio_io_handle_t audioIo, in onAudioDeviceUpdate() argument
32 ALOGI("%s: audioIo=%d deviceId=%d", __func__, audioIo, deviceId); in onAudioDeviceUpdate()
33 mAudioIo = audioIo; in onAudioDeviceUpdate()
650 status_t getPatchForOutputMix(audio_io_handle_t audioIo, audio_patch& patch) { in getPatchForOutputMix() argument
658 patches[i].sources[j].ext.mix.handle == audioIo) { in getPatchForOutputMix()
667 status_t getPatchForInputMix(audio_io_handle_t audioIo, audio_patch& patch) { in getPatchForInputMix() argument
675 patches[i].sinks[j].ext.mix.handle == audioIo) { in getPatchForInputMix()
702 bool checkPatchPlayback(audio_io_handle_t audioIo, audio_port_handle_t deviceId) { in checkPatchPlayback() argument
704 if (getPatchForOutputMix(audioIo, patch) == OK) { in checkPatchPlayback()
710 bool checkPatchCapture(audio_io_handle_t audioIo, audio_port_handle_t deviceId) { in checkPatchCapture() argument
[all …]
/frameworks/base/core/jni/
Dandroid_media_DeviceCallback.cpp63 void JNIDeviceCallback::onAudioDeviceUpdate(audio_io_handle_t audioIo, in onAudioDeviceUpdate() argument
71 ALOGV("%s audioIo %d deviceId %d", __FUNCTION__, audioIo, deviceId); in onAudioDeviceUpdate()
Dandroid_media_DeviceCallback.h34 virtual void onAudioDeviceUpdate(audio_io_handle_t audioIo,
/frameworks/av/media/libaudioclient/include/media/
DAudioSystem.h761 virtual void onAudioDeviceUpdate(audio_io_handle_t audioIo,
766 audio_io_handle_t audioIo,
769 audio_io_handle_t audioIo,
788 static audio_port_handle_t getDeviceIdForIo(audio_io_handle_t audioIo);
827 audio_io_handle_t audioIo, audio_port_handle_t portId) EXCLUDES(mMutex);
829 audio_io_handle_t audioIo, audio_port_handle_t portId) EXCLUDES(mMutex);
836 audio_port_handle_t getDeviceIdForIo(audio_io_handle_t audioIo) EXCLUDES(mMutex);
DTrackPlayerBase.h60 virtual void onAudioDeviceUpdate(audio_io_handle_t audioIo,
DAudioRecord.h530 virtual void onAudioDeviceUpdate(audio_io_handle_t audioIo,
DAudioTrack.h1087 virtual void onAudioDeviceUpdate(audio_io_handle_t audioIo,
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamLegacy.h97 void onAudioDeviceUpdate(audio_io_handle_t audioIo,
/frameworks/av/media/libmediaplayerservice/
DMediaRecorderClient.h43 audio_io_handle_t audioIo,
DMediaRecorderClient.cpp411 audio_io_handle_t audioIo, in onAudioDeviceUpdate() argument
415 listener->notify(MEDIA_RECORDER_AUDIO_ROUTING_CHANGED, audioIo, deviceId); in onAudioDeviceUpdate()
DMediaPlayerService.h416 virtual void onAudioDeviceUpdate(audio_io_handle_t audioIo,
DMediaPlayerService.cpp858 audio_io_handle_t audioIo, in onAudioDeviceUpdate() argument
862 listener->sendEvent(MEDIA_AUDIO_ROUTING_CHANGED, audioIo, deviceId); in onAudioDeviceUpdate()
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp835 const wp<AudioDeviceCallback>& callback, audio_io_handle_t audioIo, in addAudioDeviceCallback() argument
837 ALOGV("%s audioIo %d portId %d", __func__, audioIo, portId); in addAudioDeviceCallback()
840 audioIo, in addAudioDeviceCallback()
850 const wp<AudioDeviceCallback>& callback __unused, audio_io_handle_t audioIo, in removeAudioDeviceCallback() argument
852 ALOGV("%s audioIo %d portId %d", __func__, audioIo, portId); in removeAudioDeviceCallback()
854 auto it = mAudioDeviceCallbacks.find(audioIo); in removeAudioDeviceCallback()
862 mAudioDeviceCallbacks.erase(audioIo); in removeAudioDeviceCallback()
1797 const wp<AudioDeviceCallback>& callback, audio_io_handle_t audioIo, in addAudioDeviceCallback() argument
1803 status_t status = afc->addAudioDeviceCallback(callback, audioIo, portId); in addAudioDeviceCallback()
1814 const wp<AudioDeviceCallback>& callback, audio_io_handle_t audioIo, in removeAudioDeviceCallback() argument
[all …]
DAudioRecord.cpp1611 void AudioRecord::onAudioDeviceUpdate(audio_io_handle_t audioIo, in onAudioDeviceUpdate() argument
1617 if (audioIo != mInput) { in onAudioDeviceUpdate()
DAudioTrack.cpp3648 void AudioTrack::onAudioDeviceUpdate(audio_io_handle_t audioIo, in onAudioDeviceUpdate() argument
3654 if (audioIo != mOutput) { in onAudioDeviceUpdate()
/frameworks/av/media/libaaudio/src/core/
DAudioStream.h409 void onAudioDeviceUpdate(audio_io_handle_t audioIo, in onAudioDeviceUpdate() argument