• 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
AVAudioEngine setting output and input devices
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AVAudioEngine setting output and input devices


  • Subject: AVAudioEngine setting output and input devices
  • From: Dominic Feira via Coreaudio-api <email@hidden>
  • Date: Fri, 6 Sep 2019 20:24:26 -0400

I have been working with AVAudioEngine.

By default the AVAudioEngine is using an aggregate audio device with the
default input/output as the subdevices. This makes sense so the entire engine
can run on a single clock.

Is it possible to set the input and output devices to use something other than
the system’s default input and output?

From experimentation, if I set the input or output to anything other than an
aggregate device it fails. If I change the input and output to use the same
aggregate device (that I created with non-default devices), it works. However
any time the default output or input of the system changes, the engine’s
input/output are set back to the aggregate device set up by core audio that
uses the default input/output, basically overriding what I told the engine to
do.

I hope that I’m missing something obvious, but I think I have run into the
limits of this API. For an API that has been on the Mac for several years it is
very limited.

— Dominic

 _______________________________________________
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

  • Next by Date: Re: AVAudioEngine input and output devices
  • Next by thread: Re: AVAudioEngine input and output devices
  • Index(es):
    • Date
    • Thread