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

TN2091


  • Subject: TN2091
  • From: Mike Simmons <email@hidden>
  • Date: Wed, 16 Jun 2004 18:31:28 -0500

Has anyone tried running the code shown in Apple's tech note TN2091,
"Device Input Using the HAL Output Audio Unit"? I've got it humming
along as a simple Cocoa app, but as a Core Audio newbie, I'm clueless
as to whether what I'm seeing in the GDB debugger is what I SHOULD be
seeing.

For one thing, when the code reaches the AudioUnitGetProperty call on
the audio input scope, it returns 0 for everything, including the
sampling rate. This doesn't seem right.

Also, the data returned from the AudioUnitRender call is mostly zeroes,
except for a few bytes at the end of the buffer that bounce around a
bit with each callback and then settle into a constant value (despite
widely varying sound levels on the mic).

Thanks in advance.

Mike
_______________________________________________
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.


  • Prev by Date: Re: AUValidation skips AUPeakLimiter Limiting Amount shown in AudioUnitHosting+Logic
  • Next by Date: Re: Device Sync (was Re: Multiple HALAOUs don't get along?)
  • Previous by thread: Re: "#warning ...redirect the calling of notification code..." ?
  • Next by thread: Lost cycles - VST vs. AU
  • Index(es):
    • Date
    • Thread