• 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
[patch] IOAudioEngine performErase()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] IOAudioEngine performErase()


  • Subject: [patch] IOAudioEngine performErase()
  • From: Michel <email@hidden>
  • Date: Mon, 28 Oct 2002 14:48:36 +0100

These modifications addresses an issue with IOAudioEngine : Access to/from
the sample buffer is handled by the subclasses clipOutputSamples /
convertInputSamples EXCEPT when IOAudioEngine::runEraseHead() runs, where a
basic bzero is used on it.
This behaviour prevents the subclass from masquerading the true format of
it's sample buffer, something that is mandatory for device where you can have
separate streams/engines exploiting separate channels in the DMA.

Another good reason is that it enforces proper encapsulation of that sample
buffer and allow subclasses to keep exclusive access.

This file contains the amended performErase, as well as a new 'default'
accessor used to performs the erase operation. Note that it uses the same
prototype as the clipOutputSamples/convertInputSamples.

Michel Pollet

[demime 0.98b removed an attachment of type text/x-c which had a name of IOAudioEngine-patch.cpp]
_______________________________________________
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.

  • Prev by Date: Synchronizing QT-Video and IOAudioDevice
  • Next by Date: Re: CreateCustomControl crash (Urs...?)
  • Previous by thread: Synchronizing QT-Video and IOAudioDevice
  • Next by thread: com.apple.iokit.IOAudioFamily OSBundleLibraries dependency for 10.2
  • Index(es):
    • Date
    • Thread