Lines Matching refs:ioDesc
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()
70 sp<AudioIoDescriptor> ioDesc = new AudioIoDescriptor(); in onTransact() local
71 ioDesc->mIoHandle = (audio_io_handle_t) data.readInt32(); in onTransact()
72 data.read(&ioDesc->mPatch, sizeof(struct audio_patch)); in onTransact()
73 ioDesc->mSamplingRate = data.readInt32(); in onTransact()
74 ioDesc->mFormat = (audio_format_t) data.readInt32(); in onTransact()
75 ioDesc->mChannelMask = (audio_channel_mask_t) data.readInt32(); in onTransact()
76 ioDesc->mFrameCount = data.readInt64(); in onTransact()
77 ioDesc->mFrameCountHAL = data.readInt64(); in onTransact()
78 ioDesc->mLatency = data.readInt32(); in onTransact()
79 ioConfigChanged(event, ioDesc); in onTransact()