Re: are outOutputData mData float buffers always zeroed?
Re: are outOutputData mData float buffers always zeroed?
- Subject: Re: are outOutputData mData float buffers always zeroed?
- From: Jeff Moore <email@hidden>
- Date: Fri, 12 Jul 2002 14:26:48 -0700
The HAL does indeed zero out the output buffers prior to calling your
IO proc. If you don't want to supply any data for that cycle, all you
have to do is return.
On Friday, July 12, 2002, at 12:50 PM, John Lazzaro wrote:
A quick HAL question: if the mFormatFlags of the
AudioStreamBasicDescription has kLinearPCMFormatFlagIsFloat
set, is the associated mData buffer of the AudioBufferList
passed into outOutputData to the AudioDeviceIOProc guaranteed
to have each float value set to 0.0F? I.e. if the desired output is
silience, is it always safe to simply immediately return from
a AudioDeviceIOProc? Or is it necessary to manually zero all
mData buffers of outOutputData, because they might be passed
in with random values? Thanks in advance ...
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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.