Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
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.cpp487 const sp<AudioIoDescriptor>& ioDesc) { in ioConfigChanged() argument
490 if (ioDesc == 0 || ioDesc->mIoHandle == AUDIO_IO_HANDLE_NONE) return; in ioConfigChanged()
501 sp<AudioIoDescriptor> oldDesc = getIoDescriptor_l(ioDesc->mIoHandle); in ioConfigChanged()
503 mIoDescriptors.add(ioDesc->mIoHandle, ioDesc); in ioConfigChanged()
506 mIoDescriptors.replaceValueFor(ioDesc->mIoHandle, ioDesc); in ioConfigChanged()
509 if (ioDesc->getDeviceId() != AUDIO_PORT_HANDLE_NONE) { in ioConfigChanged()
510 deviceId = ioDesc->getDeviceId(); in ioConfigChanged()
511 ssize_t ioIndex = mAudioDeviceCallbacks.indexOfKey(ioDesc->mIoHandle); in ioConfigChanged()
518 ioDesc->mIoHandle, ioDesc->mSamplingRate, ioDesc->mFormat, ioDesc->mChannelMask, in ioConfigChanged()
519 ioDesc->mFrameCount, ioDesc->getDeviceId()); in ioConfigChanged()
[all …]
/frameworks/av/include/media/
DIAudioFlingerClient.h38 const sp<AudioIoDescriptor>& ioDesc) = 0;
DAudioSystem.h398 const sp<AudioIoDescriptor>& ioDesc);
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp1372 const sp<AudioIoDescriptor>& ioDesc, in ioConfigChanged() argument
1379 mNotificationClients.valueAt(i)->audioFlingerClient()->ioConfigChanged(event, ioDesc); in ioConfigChanged()
2003 const sp<AudioIoDescriptor> ioDesc = new AudioIoDescriptor(); in closeOutput_nonvirtual() local
2004 ioDesc->mIoHandle = output; in closeOutput_nonvirtual()
2005 ioConfigChanged(AUDIO_OUTPUT_CLOSED, ioDesc); in closeOutput_nonvirtual()
2277 const sp<AudioIoDescriptor> ioDesc = new AudioIoDescriptor(); in closeInput_nonvirtual() local
2278 ioDesc->mIoHandle = input; in closeInput_nonvirtual()
2279 ioConfigChanged(AUDIO_INPUT_CLOSED, ioDesc); in closeInput_nonvirtual()
DAudioFlinger.h553 const sp<AudioIoDescriptor>& ioDesc,