• 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
Re: InputCallback data request size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InputCallback data request size


  • Subject: Re: InputCallback data request size
  • From: Jens Ayton <email@hidden>
  • Date: Thu, 12 Oct 2006 10:33:33 +0200
  • Openpgp: id=84FF254B

Hari Seldon:
>
> The only problem I have with this is that the InputCallback parameter
> only takes a single buffer pointer, and I'm using a circular buffer.

  It’s possible to have a block of memory appear twice in a row in the
address space, letting you access any part of a circular buffer as a
linear buffer. Google for "Kurt Revis" VirtualRingBuffer for an example.
(It’s in Cocoa, but the core functionality is based on Mach calls.)


--
Jens Ayton

Sed quis custodiet ipsos custodes?
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >InputCallback data request size (From: Hari Seldon <email@hidden>)

  • Prev by Date: Re: InputCallback data request size
  • Next by Date: Re: AudioUnitAddRenderNotify and AudioUnitRender mDataByteSize
  • Previous by thread: Re: InputCallback data request size
  • Next by thread: Resolved: Re: playing a pcm buffer
  • Index(es):
    • Date
    • Thread