Re: Bizarre error or bad assumption?
Re: Bizarre error or bad assumption?
- Subject: Re: Bizarre error or bad assumption?
- From: William Stewart <email@hidden>
- Date: Wed, 30 Jun 2004 10:23:28 -0700
On 28/06/2004, at 8:20 PM, Chilton Webb wrote:
>
Hi,
>
>
I am using AudioDeviceGetProperty, which normally returns a valid
>
error. But in this case...
>
>
err = AudioDeviceGetProperty(deviceID, 0,
>
mIsInput,kAudioDevicePropertyChannelNumberNameCFString, &propsize,
>
&DeviceName);
>
>
... I get a seemingly random, positive, large number as the error, and
>
NULL as the DeviceName.
Error codes from the AudioDevice (and other HAL calls) are 4 char codes:
printf ("error: %.4s\n", (char*)&err);
>
>
Any idea why?
>
>
-Chilton
>
_______________________________________________
>
coreaudio-api mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
>
Do not post admin requests to the list. They will be ignored.
>
>
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement [GSV]
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
________________________________________________________________________
__
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.