• 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
Output Audio Devices
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Output Audio Devices


  • Subject: Output Audio Devices
  • From: Lubor Prikryl <email@hidden>
  • Date: Wed, 12 Nov 2003 23:15:15 +0200

Hi,

I tried to use output AU instead of CA callbacks, but there are some goals I cannot reach.

- There is written in the new CoreAudio PDF, that we can connect to bus 0 of Output AU (OAU) for output and to bus 1 for input. But the Output units have one output bus and one input bus, when asked for the property.

- Well, and it is a mistake. They should have as many buses as the physical device, e.g. G4 QS built in should have no input bus, or SPDIF + Analog MAudio Delta should have two in and two out buses. Shouldn't they?

- I would like to pull audio from one device to another one. How can I do that, when AUGraph supports up to one OAU? And mixer should pull from two or more inputs of OAU devices as well.

- I tried to change the device for HAL or default OAU, calling

err = AudioUnitSetProperty (rtAU->mUnitComponent, kAudioOutputUnitProperty_CurrentDevice, kAudioUnitScope_Output, 0, &(allDevicesList[t]), dataSize);

allDevicesList is an array of devic IDs.

There is NO ERROR returned, but nothing happens.


- And the worst thing - input pulled from OAU does not work at all for me. I connect a converter to OAU, set up the formats, the input of OAU connects with noErr, when I connect output to the converter (OAU -> converter-> effect -> OAU), there is noErr, too, starting up the unit, application crashes in the audio rendering.

Do I need to prepare some buffers or so?

Thanks for help

Lubor Prikryl, DSound
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Output Audio Devices
      • From: Doug Wyatt <email@hidden>
  • Prev by Date: Re: in-memory AudioUnit?
  • Next by Date: Re: IO Test sample code
  • Previous by thread: Re: Walking parameter lists safely
  • Next by thread: Re: Output Audio Devices
  • Index(es):
    • Date
    • Thread