TN2091
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.