are outOutputData mData float buffers always zeroed?
are outOutputData mData float buffers always zeroed?
- Subject: are outOutputData mData float buffers always zeroed?
- From: John Lazzaro <email@hidden>
- Date: Fri, 12 Jul 2002 12:50:50 -0700
Hi everyone,
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 ...
-------------------------------------------------------------------------
John Lazzaro -- Research Specialist -- CS Division -- EECS -- UC Berkeley
lazzaro [at] cs [dot] berkeley [dot] edu www.cs.berkeley.edu/~lazzaro
-------------------------------------------------------------------------
_______________________________________________
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.