• 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
Two AUHALs, one ring buffer, and one AU filter. But no sound.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Two AUHALs, one ring buffer, and one AU filter. But no sound.


  • Subject: Two AUHALs, one ring buffer, and one AU filter. But no sound.
  • From: Chilton Webb <email@hidden>
  • Date: Thu, 1 Jul 2004 14:13:35 -0500

Hi,

Back story: I'm trying to transmit audio through a USB mic, through an AU filter, and out the default output. Thus far, it turns out you can't connect the AUs all together (devices run in parallel, so data doesn't get passed back and forth properly, or so I understand), and you can't use a single block of memory (this crashes deep inside the filter AU, no idea why). I'm trying the ring buffer theory now, where I write to one part of a buffer and read from another, so the buffer can be used by both input and output threads.

I've successfully created a ring buffer, and as far as I can tell from the debugger, it's getting and setting data in the buffer. I'm looking into that closer now, as it's still not producing any audio. But during all of this, a few people have suggested that this is just impossible, due to timing issues. Is that true? If not, is a ring buffer the right way to do this?

Thank you,
-Chilton
_______________________________________________
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: Two AUHALs, one ring buffer, and one AU filter. But no sound.
      • From: Robert Grant <email@hidden>
  • Prev by Date: Re: music sequences and midisend
  • Next by Date: AUCarbonViewBase without controls?
  • Previous by thread: Re: music sequences and midisend
  • Next by thread: Re: Two AUHALs, one ring buffer, and one AU filter. But no sound.
  • Index(es):
    • Date
    • Thread