Lines Matching refs:deviceID

117     AudioDeviceID deviceID = devices[index];  in GetDeviceInfo()  local
119 *pDeviceID = deviceID; in GetDeviceInfo()
125 err = GetAudioObjectProperty(deviceID, kAudioObjectPropertyScopeGlobal, in GetDeviceInfo()
138 err = GetAudioObjectProperty(deviceID, kAudioObjectPropertyScopeGlobal, in GetDeviceInfo()
177 AudioDeviceID deviceID; in GetDefaultDevice() local
180 sizeof(deviceID), &deviceID, 1); in GetDefaultDevice()
185 return deviceID; in GetDefaultDevice()
188 int GetChannelCount(AudioDeviceID deviceID, int isSource) { in GetChannelCount() argument
194 … err = GetAudioObjectPropertySize(deviceID, scope, kAudioDevicePropertyStreamConfiguration, &size); in GetChannelCount()
196 … OS_ERROR2(err, "GetChannelCount(getSize), deviceID=0x%x, isSource=%d", (int)deviceID, isSource); in GetChannelCount()
200 …err = GetAudioObjectProperty(deviceID, scope, kAudioDevicePropertyStreamConfiguration, &size, pBuf… in GetChannelCount()
206 … OS_ERROR2(err, "GetChannelCount(getData), deviceID=0x%x, isSource=%d", (int)deviceID, isSource); in GetChannelCount()
210 TRACE2("GetChannelCount (deviceID=0x%x): total %d channels\n", (int)deviceID, result); in GetChannelCount()
214 float GetSampleRate(AudioDeviceID deviceID, int isSource) { in GetSampleRate() argument
217 …OSStatus err = GetAudioObjectProperty(deviceID, scope, kAudioDevicePropertyActualSampleRate, sizeo… in GetSampleRate()
219 …OS_ERROR2(err, "GetSampleRate(ActualSampleRate), deviceID=0x%x, isSource=%d", (int)deviceID, isSou… in GetSampleRate()
221 …err = GetAudioObjectProperty(deviceID, scope, kAudioDevicePropertyNominalSampleRate, sizeof(result… in GetSampleRate()
223 …ROR2(err, "GetSampleRate(NominalSampleRate), deviceID=0x%x, isSource=%d", (int)deviceID, isSource); in GetSampleRate()