• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to choose the AudioQueue output device ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: How to choose the AudioQueue output device ?
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Calculating latencies
  • Next by Date: Re: User-land CoreAudio driver and Leopard
  • Previous by thread: Re: User-land CoreAudio driver and Leopard
  • Next by thread: Re: How to choose the AudioQueue output device ?
  • Index(es):
    • Date
    • Thread