Re: AudioDeviceGetProperty error
Re: AudioDeviceGetProperty error
- Subject: Re: AudioDeviceGetProperty error
- From: "Mikael Hakman" <email@hidden>
- Date: Sat, 23 Aug 2008 14:37:27 +0200
- Organization: Datakonsulten AB
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