Searched refs:ioDesc (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libaudioclient/ |
D | IAudioFlingerClient.cpp | 42 void ioConfigChanged(audio_io_config_event event, const sp<AudioIoDescriptor>& ioDesc) in ioConfigChanged() argument 47 data.writeInt32((int32_t)ioDesc->mIoHandle); in ioConfigChanged() 48 data.write(&ioDesc->mPatch, sizeof(struct audio_patch)); in ioConfigChanged() 49 data.writeInt32(ioDesc->mSamplingRate); in ioConfigChanged() 50 data.writeInt32(ioDesc->mFormat); in ioConfigChanged() 51 data.writeInt32(ioDesc->mChannelMask); in ioConfigChanged() 52 data.writeInt64(ioDesc->mFrameCount); in ioConfigChanged() 53 data.writeInt64(ioDesc->mFrameCountHAL); in ioConfigChanged() 54 data.writeInt32(ioDesc->mLatency); in ioConfigChanged() 55 data.writeInt32(ioDesc->mPortId); in ioConfigChanged() [all …]
|
D | AudioSystem.cpp | 520 const sp<AudioIoDescriptor>& ioDesc) { in ioConfigChanged() argument 523 if (ioDesc == 0 || ioDesc->mIoHandle == AUDIO_IO_HANDLE_NONE) return; in ioConfigChanged() 536 sp<AudioIoDescriptor> oldDesc = getIoDescriptor_l(ioDesc->mIoHandle); in ioConfigChanged() 538 mIoDescriptors.add(ioDesc->mIoHandle, ioDesc); in ioConfigChanged() 541 mIoDescriptors.replaceValueFor(ioDesc->mIoHandle, ioDesc); in ioConfigChanged() 544 if (ioDesc->getDeviceId() != AUDIO_PORT_HANDLE_NONE) { in ioConfigChanged() 545 deviceId = ioDesc->getDeviceId(); in ioConfigChanged() 547 auto it = mAudioDeviceCallbacks.find(ioDesc->mIoHandle); in ioConfigChanged() 559 ioDesc->mIoHandle, ioDesc->mSamplingRate, ioDesc->mFormat, ioDesc->mChannelMask, in ioConfigChanged() 560 ioDesc->mFrameCount, ioDesc->getDeviceId()); in ioConfigChanged() [all …]
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioFlingerClient.h | 38 const sp<AudioIoDescriptor>& ioDesc) = 0;
|
D | AudioSystem.h | 494 const sp<AudioIoDescriptor>& ioDesc);
|
/frameworks/av/services/audioflinger/ |
D | AudioFlinger.cpp | 1797 const sp<AudioIoDescriptor>& ioDesc, in ioConfigChanged() argument 1804 mNotificationClients.valueAt(i)->audioFlingerClient()->ioConfigChanged(event, ioDesc); in ioConfigChanged() 2629 const sp<AudioIoDescriptor> ioDesc = new AudioIoDescriptor(); in closeOutput_nonvirtual() local 2630 ioDesc->mIoHandle = output; in closeOutput_nonvirtual() 2631 ioConfigChanged(AUDIO_OUTPUT_CLOSED, ioDesc); in closeOutput_nonvirtual() 2878 const sp<AudioIoDescriptor> ioDesc = new AudioIoDescriptor(); in closeInput_nonvirtual() local 2879 ioDesc->mIoHandle = input; in closeInput_nonvirtual() 2880 ioConfigChanged(AUDIO_INPUT_CLOSED, ioDesc); in closeInput_nonvirtual()
|
D | AudioFlinger.h | 713 const sp<AudioIoDescriptor>& ioDesc,
|