Lines Matching refs:deviceID
120 static OSStatus drvHostCoreAudioSetFrameBufferSize(AudioDeviceID deviceID, bool fInput, UInt32 cReqSize, UInt32 *pcActSize)
128 OSStatus err = AudioObjectSetPropertyData(deviceID, &propAdr, NULL, 0, sizeof(cReqSize), &cReqSize);
132 err = AudioObjectGetPropertyData(deviceID, &propAdr, 0, NULL, &cSize, pcActSize);
143 err = AudioObjectGetPropertyDataSize(deviceID, &propAdr, 0, NULL, &cSize);
151 err = AudioObjectGetPropertyData(deviceID, &propAdr, 0, NULL, &cSize, pRange);
176 err = AudioObjectSetPropertyData(deviceID, &propAdr, 0, NULL, sizeof(cReqSize), &cReqSize);
181 err = AudioObjectGetPropertyData(deviceID, &propAdr, 0, NULL, &cSize, pcActSize);
193 DECL_FORCE_INLINE(bool) drvHostCoreAudioIsRunning(AudioDeviceID deviceID)
199 OSStatus err = AudioObjectGetPropertyData(deviceID, &propAdr, 0, NULL, &uSize, &uFlag);
226 AudioDeviceID deviceID;
231 translation.mOutputData = &deviceID;
245 return deviceID;
276 AudioDeviceID deviceID;
301 AudioDeviceID deviceID;
352 UInt32 uSize = sizeof(pStreamIn->deviceID);
358 if (pStreamIn->deviceID != uResp)
664 if (pStreamIn->deviceID == kAudioDeviceUnknown)
669 uSize = sizeof(pStreamIn->deviceID);
670 err = AudioObjectGetPropertyData(kAudioObjectSystemObject, &propAdr, 0, NULL, &uSize, &pStreamIn->deviceID);
686 err = AudioObjectGetPropertyData(pStreamIn->deviceID, &propAdr, 0, NULL, &uSize, &strTemp);
697 err = AudioObjectGetPropertyData(pStreamIn->deviceID, &propAdr, 0, NULL, &uSize, &strTemp);
722 err = AudioObjectGetPropertyData(pStreamIn->deviceID, &propAdr, 0, NULL, &uSize, &cFrames);
730 err = drvHostCoreAudioSetFrameBufferSize(pStreamIn->deviceID, true /* fInput */, cFrames, &cFrames);
781 0, &pStreamIn->deviceID, sizeof(pStreamIn->deviceID));
963 err = AudioObjectAddPropertyListener(pStreamIn->deviceID, &propAdr,
970 err = AudioObjectAddPropertyListener(pStreamIn->deviceID, &propAdr,
1009 if (pStreamOut->deviceID == kAudioDeviceUnknown)
1014 uSize = sizeof(pStreamOut->deviceID);
1015 err = AudioObjectGetPropertyData(kAudioObjectSystemObject, &propAdr, 0, NULL, &uSize, &pStreamOut->deviceID);
1031 err = AudioObjectGetPropertyData(pStreamOut->deviceID, &propAdr, 0, NULL, &uSize, &strTemp);
1042 err = AudioObjectGetPropertyData(pStreamOut->deviceID, &propAdr, 0, NULL, &uSize, &strTemp);
1067 err = AudioObjectGetPropertyData(pStreamOut->deviceID, &propAdr, 0, NULL, &uSize, &cFrames);
1075 err = drvHostCoreAudioSetFrameBufferSize(pStreamOut->deviceID, false /* fInput */, cFrames, &cFrames);
1116 0, &pStreamOut->deviceID, sizeof(pStreamOut->deviceID));
1248 err = AudioObjectAddPropertyListener(pStreamOut->deviceID, &propAdr,
1256 err = AudioObjectAddPropertyListener(pStreamOut->deviceID, &propAdr,
1557 if (!drvHostCoreAudioIsRunning(pStreamOut->deviceID))
1580 if (drvHostCoreAudioIsRunning(pStreamOut->deviceID))
1631 if (!drvHostCoreAudioIsRunning(pStreamIn->deviceID))
1654 if (drvHostCoreAudioIsRunning(pStreamIn->deviceID))
1713 err = AudioObjectRemovePropertyListener(pStreamIn->deviceID, &propAdr,
1721 err = AudioObjectRemovePropertyListener(pStreamIn->deviceID, &propAdr,
1730 err = AudioObjectRemovePropertyListener(pStreamIn->deviceID, &propAdr,
1755 pStreamIn->deviceID = kAudioDeviceUnknown;
1810 err = AudioObjectRemovePropertyListener(pStreamOut->deviceID, &propAdr,
1830 pStreamOut->deviceID = kAudioDeviceUnknown;
1866 pStreamIn->deviceID = kAudioDeviceUnknown;
1881 pStreamIn->deviceID = drvHostCoreAudioDeviceUIDtoID(DeviceUID.pszInputDeviceUID);
1883 if (pStreamIn->deviceID == kAudioDeviceUnknown)
1930 pStreamOut->deviceID = kAudioDeviceUnknown;