Re: AudioDeviceGetProperty error
Re: AudioDeviceGetProperty error
- Subject: Re: AudioDeviceGetProperty error
- From: Roland Silver <email@hidden>
- Date: Sat, 23 Aug 2008 09:21:44 -0400
How do you get '!idev" from 560227702? --RS
On 2008Aug23, at 08:37, Mikael Hakman wrote: The error code is ‘!dev’ - I think AudioDeviceID should be set to actual device id, not to kAudioDeviceUnknown. Regards/Mikael AudioStreamBasicDescription deviceFormat; UInt32 count = sizeof(deviceFormat); AudioDeviceID device = kAudioDeviceUnknown;; OSStatus err = AudioDeviceGetProperty(device, 0, false, kAudioDevicePropertyStreamFormat, &count, &deviceFormat);
results in error 560227702
What's wrong?
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden