Home
last modified time | relevance | path

Searched refs:ioDesc (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libaudioclient/
DIAudioFlingerClient.cpp42 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()
70 sp<AudioIoDescriptor> ioDesc = new AudioIoDescriptor(); in onTransact() local
[all …]
DAudioSystem.cpp490 const sp<AudioIoDescriptor>& ioDesc) { in ioConfigChanged() argument
493 if (ioDesc == 0 || ioDesc->mIoHandle == AUDIO_IO_HANDLE_NONE) return; in ioConfigChanged()
506 sp<AudioIoDescriptor> oldDesc = getIoDescriptor_l(ioDesc->mIoHandle); in ioConfigChanged()
508 mIoDescriptors.add(ioDesc->mIoHandle, ioDesc); in ioConfigChanged()
511 mIoDescriptors.replaceValueFor(ioDesc->mIoHandle, ioDesc); in ioConfigChanged()
514 if (ioDesc->getDeviceId() != AUDIO_PORT_HANDLE_NONE) { in ioConfigChanged()
515 deviceId = ioDesc->getDeviceId(); in ioConfigChanged()
517 ssize_t ioIndex = mAudioDeviceCallbacks.indexOfKey(ioDesc->mIoHandle); in ioConfigChanged()
529 ioDesc->mIoHandle, ioDesc->mSamplingRate, ioDesc->mFormat, ioDesc->mChannelMask, in ioConfigChanged()
530 ioDesc->mFrameCount, ioDesc->getDeviceId()); in ioConfigChanged()
[all …]
/frameworks/av/media/libaudioclient/include/media/
DIAudioFlingerClient.h38 const sp<AudioIoDescriptor>& ioDesc) = 0;
DAudioSystem.h403 const sp<AudioIoDescriptor>& ioDesc);
/frameworks/av/include/media/
DIAudioFlingerClient.h38 const sp<AudioIoDescriptor>& ioDesc) = 0;
DAudioSystem.h403 const sp<AudioIoDescriptor>& ioDesc);
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp1443 const sp<AudioIoDescriptor>& ioDesc, in ioConfigChanged() argument
1450 mNotificationClients.valueAt(i)->audioFlingerClient()->ioConfigChanged(event, ioDesc); in ioConfigChanged()
2134 const sp<AudioIoDescriptor> ioDesc = new AudioIoDescriptor(); in closeOutput_nonvirtual() local
2135 ioDesc->mIoHandle = output; in closeOutput_nonvirtual()
2136 ioConfigChanged(AUDIO_OUTPUT_CLOSED, ioDesc); in closeOutput_nonvirtual()
2431 const sp<AudioIoDescriptor> ioDesc = new AudioIoDescriptor(); in closeInput_nonvirtual() local
2432 ioDesc->mIoHandle = input; in closeInput_nonvirtual()
2433 ioConfigChanged(AUDIO_INPUT_CLOSED, ioDesc); in closeInput_nonvirtual()
DAudioFlinger.h642 const sp<AudioIoDescriptor>& ioDesc,