Lines Matching refs:err
114 OSStatus err = noErr;
123 err = GetAudioObjectPropertySize(kAudioObjectSystemObject, kAudioObjectPropertyScopeGlobal,
125 if (err == noErr) {
128 err = GetAudioObjectProperty(kAudioObjectSystemObject, kAudioObjectPropertyScopeGlobal,
130 if (err == noErr) {
147 err = GetAudioObjectPropertySize(mixer->deviceID, kAudioObjectPropertyScopeGlobal,
149 if (err == noErr) {
152 err = GetAudioObjectProperty(mixer->deviceID, kAudioObjectPropertyScopeGlobal,
154 if (err == noErr) {
238 OSStatus err;
243 err = GetAudioObjectPropertySize(mixer->deviceID, scope, kAudioDevicePropertyStreams, &size);
244 if (err || size == 0) {
250 err = GetAudioObjectProperty(mixer->deviceID, scope, kAudioDevicePropertyStreams,
252 if (err) {
316 OSStatus err = GetAudioObjectProperty(streamID, kAudioObjectPropertyScopeGlobal,
318 if (err) {
319 OS_ERROR1(err, "PORT_GetPortType(kAudioStreamPropertyTerminalType), portIndex=%d", portIndex);
372 OSStatus err = GetAudioObjectProperty(streamID, kAudioObjectPropertyScopeGlobal,
374 if (err && err != kAudioHardwareUnknownPropertyError) {
375 OS_ERROR1(err, "PORT_GetPortName(stream name), portIndex=%d", portIndex);
383 OSStatus err = GetAudioObjectProperty(mixer->deviceID, kAudioObjectPropertyScopeGlobal,
385 if (err) {
386 OS_ERROR1(err, "PORT_GetPortName(device name), portIndex=%d", portIndex);
463 OSStatus err;
467 err = GetAudioObjectPropertySize(mixer->deviceID, kAudioObjectPropertyScopeGlobal,
470 if (err) {
471 OS_ERROR1(err, "PORT_GetControls (portIndex = %d) get OwnedObject size", portIndex);
478 err = GetAudioObjectProperty(mixer->deviceID, kAudioObjectPropertyScopeGlobal,
481 if (err) {
482 OS_ERROR1(err, "PORT_GetControls (portIndex = %d) get OwnedObject values", portIndex);
614 OSStatus err = AudioObjectGetPropertyData(mixer->deviceID, &address, 0, NULL, &size, &cfname);
615 if (err == noErr) {
671 OSStatus err = GetAudioObjectProperty(control->audioControls[i]->controlID,
673 if (err) {
674 OS_ERROR3(err, "PORT_GetIntValue, control %d of %d (coltrolID = 0x%x)",
703 OSStatus err = SetAudioObjectProperty(control->audioControls[i]->controlID,
705 if (err) {
706 OS_ERROR3(err, "PORT_SetIntValue, control %d of %d (coltrolID = 0x%x)",
723 OSStatus err = GetAudioObjectProperty(control->audioControls[i]->controlID,
726 if (err) {
727 OS_ERROR3(err, "GetPortControlVolumes, control %d of %d (controlID = 0x%x)",
741 OSStatus err = SetAudioObjectProperty(control->audioControls[i]->controlID,
744 if (err) {
745 OS_ERROR3(err, "SetPortControlVolumes , control %d of %d (coltrolID = 0x%x)",