Fixed build issues on Mac OS X

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402322
This commit is contained in:
Sam Lantinga 2007-05-31 14:46:01 +00:00
parent 68348a9ff7
commit 19f18657f6
3 changed files with 878 additions and 1 deletions

View file

@ -128,7 +128,7 @@ build_device_list(int iscapture, COREAUDIO_DeviceList ** devices,
size = sizeof(CFStringRef);
result = AudioDeviceGetProperty(dev, 0, iscapture,
kAudioObjectPropertyName,
kAudioDevicePropertyDeviceNameCFString,
&size, &cfstr);
if (result != kAudioHardwareNoError)