/macosx-10.9.5/OpenAL-52.1/Source/OpenAL/ |
H A D | oalDevice.cpp | 250 UInt32 propSize = sizeof(format); local 252 result = AudioUnitGetProperty(mOutputUnit, kAudioUnitProperty_StreamFormat, kAudioUnitScope_Input, 0, &format, &propSize); 413 UInt32 propSize = sizeof(format); local 414 result = AudioUnitGetProperty(mOutputUnit, kAudioUnitProperty_StreamFormat, kAudioUnitScope_Output, 0, &format, &propSize); 437 UInt32 propSize = sizeof(deviceID); local 438 OSStatus result = AudioUnitGetProperty(mOutputUnit, kAudioOutputUnitProperty_CurrentDevice, kAudioUnitScope_Output, 1, &deviceID, &propSize); 442 result = AudioDeviceGetPropertyInfo(deviceID, 0, false, kAudioDevicePropertyPreferredChannelLayout, &propSize, NULL); 446 AudioChannelLayout* layout = (AudioChannelLayout *) calloc(1, propSize); 449 result = AudioDeviceGetProperty(deviceID, 0, false, kAudioDevicePropertyPreferredChannelLayout, &propSize, layout); 554 UInt32 propSize local [all...] |
H A D | oalCaptureDevice.cpp | 160 UInt32 propSize; local 173 propSize = sizeof(AudioDeviceID); local 175 result = AudioHardwareGetProperty(kAudioHardwarePropertyDefaultInputDevice, &propSize, &inputDevice); 197 propSize = sizeof(mNativeFormat); local 198 result = AudioUnitGetProperty(mInputUnit, kAudioUnitProperty_StreamFormat, kAudioUnitScope_Input, 1, &mNativeFormat, &propSize);
|
H A D | oalContext.cpp | 262 UInt32 propSize; local 296 propSize = sizeof(distanceParams); 297 result = AudioUnitGetProperty(mMixerUnit, kAudioUnitProperty_3DMixerDistanceParams, kAudioUnitScope_Input, 1, &distanceParams, &propSize); 307 UInt32 propSize = sizeof(format); local 308 result = AudioUnitGetProperty(mOwningDevice->GetOutputAU(), kAudioUnitProperty_StreamFormat, kAudioUnitScope_Output, 0, &format, &propSize); 340 propSize = sizeof(currentBusCount); 341 result = AudioUnitGetProperty ( mMixerUnit, kAudioUnitProperty_ElementCount, kAudioUnitScope_Input, 0, ¤tBusCount, &propSize); 344 result = AudioUnitSetProperty ( mMixerUnit, kAudioUnitProperty_ElementCount, kAudioUnitScope_Input, 0, &mBusCount, propSize); 348 propSize = sizeof(mBusCount); 349 AudioUnitGetProperty ( mMixerUnit, kAudioUnitProperty_ElementCount, kAudioUnitScope_Input, 0, &mBusCount, &propSize); 414 UInt32 propSize = sizeof(format); local 992 UInt32 propSize; local [all...] |
H A D | oalSource.cpp | 448 UInt32 propSize = sizeof(distanceParams); local 449 result = AudioUnitGetProperty(mOwningContext->GetMixerUnit(), kAudioUnitProperty_3DMixerDistanceParams, kAudioUnitScope_Input, mCurrentPlayBus, &distanceParams, &propSize); 1494 UInt32 propSize = 0; local 1525 propSize = sizeof(distanceParams); 1526 result = AudioUnitGetProperty(mOwningContext->GetMixerUnit(), kAudioUnitProperty_3DMixerDistanceParams, kAudioUnitScope_Input, mCurrentPlayBus, &distanceParams, &propSize); 1566 propSize = sizeof(desc); 1567 result = AudioUnitGetProperty(mOwningContext->GetMixerUnit(), kAudioUnitProperty_StreamFormat, kAudioUnitScope_Input, mCurrentPlayBus, &desc, &propSize); 1776 UInt32 propSize = sizeof(format); local 1782 result = AudioUnitGetProperty(mOwningContext->GetMixerUnit(), kAudioUnitProperty_StreamFormat, kAudioUnitScope_Input, mCurrentPlayBus, &format, &propSize); 2757 UInt32 propSize local 4183 UInt32 propSize = sizeof(UInt32); local 4391 UInt32 propSize = sizeof(UInt32); local [all...] |
H A D | oalImp.cpp | 243 UInt32 propSize = sizeof(device); local 244 OSStatus result = AudioHardwareGetProperty(kAudioHardwarePropertyDefaultOutputDevice, &propSize, &device); 248 propSize = sizeof(sr); 249 result = AudioDeviceGetProperty(device, 0, false, kAudioDevicePropertyNominalSampleRate, &propSize, &sr);
|
/macosx-10.9.5/xnu-2422.115.4/iokit/Kernel/ |
H A D | IODeviceTreeSupport.cpp | 98 unsigned int propSize; local 147 "DeviceTree", (void **) &dtMap, &propSize )) 148 && ((2 * sizeof(uint32_t)) == propSize); 255 unsigned int propSize; local 263 propSize = propObj->getLength(); 264 if ( propSize != (2 * sizeof(UInt32)) ) return -1; 332 unsigned int propSize; local 351 if( kSuccess != DTGetProperty( dtEntry, name, &prop, &propSize )) 356 data = OSData::withBytes(prop, propSize); 359 data = OSData::withBytesNoCopy(prop, propSize); [all...] |
/macosx-10.9.5/AppleRAID-4.0.6/ |
H A D | AppleRAIDUserLib.c | 668 size_t propSize = kMaxIOConnectTransferSize; local 681 char * propString = (char *)malloc(propSize); 688 &propSize); // output size (in/out) 692 IOLog2("size = %d, prop = %s\n", (int)propSize, (char *)propString); 708 size_t propSize = kMaxIOConnectTransferSize; local 721 char * propString = (char *)malloc(propSize); 728 &propSize); // output size (in/out) 732 IOLog2("size = %d, prop = %s\n", (int)propSize, (char *)propString); 2231 size_t propSize = kMaxIOConnectTransferSize; // XXX buffer size? use kAppleRAIDLVGVolumeCountKey local 2253 char * propString = (char *)malloc(propSize); 2283 size_t propSize = kMaxIOConnectTransferSize; local [all...] |