How to choose the AudioQueue output device ?
How to choose the AudioQueue output device ?
- Subject: How to choose the AudioQueue output device ?
- From: Colin <email@hidden>
- Date: Wed, 7 Nov 2007 18:17:31 +0100
Hi,
I'm trying to use another output than the default one for an
AudioQueue, using AudioQueueSetProperty and the
kAudioQueueProperty_CurrentDevice property (which is said to be read/
write in the doc and accepting a CFStringRef as parameter).
// hardcoded string for testing purposes
AudioQueueSetProperty(myInfo.mQueue,
kAudioQueueProperty_CurrentDevice,
CFSTR("AppleHDAEngineOutput:0"),
sizeof(CFStringRef));
It looks like from the console that it is sending a wrong message :
*** +[NSCFString length]: unrecognized selector sent to class
0xa00004a0
Any idea ?
thanks,
--
Colin
_______________________________________________
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