• 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
are outOutputData mData float buffers always zeroed?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: are outOutputData mData float buffers always zeroed?
      • From: Jeff Moore <email@hidden>
    • Re: are outOutputData mData float buffers always zeroed?
      • From: Bill Stewart <email@hidden>
  • Prev by Date: setting up independent timing thread
  • Next by Date: Re: are outOutputData mData float buffers always zeroed?
  • Previous by thread: Re: setting up independent timing thread
  • Next by thread: Re: are outOutputData mData float buffers always zeroed?
  • Index(es):
    • Date
    • Thread