Re: AudioDeviceGetProperty error
Re: AudioDeviceGetProperty error
- Subject: Re: AudioDeviceGetProperty error
- From: Roland Silver <email@hidden>
- Date: Sat, 23 Aug 2008 09:13:46 -0400
Sounds good! What should I use for actual device id for the mac stereo output? --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