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: Bill Stewart <email@hidden>
- Date: Fri, 12 Jul 2002 14:08:46 -0700
The buffers cleared by the HAL before it is given out to clients. So yes,
you can just return and do nothing else
Bill
on 7/12/02 12:50 PM, John Lazzaro wrote:
>
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.
mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
"Thousands of years ago, cats were worshipped as gods. We have never
forgotten this."
__________________________________________________________________________
_______________________________________________
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.