• 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
about changing inNumberFrames in renderer callbacks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

about changing inNumberFrames in renderer callbacks


  • Subject: about changing inNumberFrames in renderer callbacks
  • From: Derk-Jan Hartman <email@hidden>
  • Date: Fri, 27 May 2005 12:44:46 +0200

Hello all,

So i finally succeeded in getting auhal renderer working. There is one problem left. the inNumberFrames that the renderercallback gets passed sometimes changes value. Now i can change the amount of samplesframes i get from VLC, but this is not an atomic operation and takes 1 or 2 buffer retrieval call before it takes affect.

So my questions:
1: Why does the value change? what is the logical behind it, what goal does auhal try to reach?
2: Can i just set the 1st value auhal gives me and then if another amount of samples is requested: fill up rest space with silence and dump the rest parts of my buffer if auhal wants fewer samples?


DJ
---
Universiteit Twente
Derk-Jan Hartman (d.hartman at student.utwente dot nl)
http://www.sidequest.org

_______________________________________________
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


  • Follow-Ups:
    • Re: about changing inNumberFrames in renderer callbacks
      • From: William Stewart <email@hidden>
  • Prev by Date: help with MusicTrackCopyInsert
  • Next by Date: application crash in AudioHardwareGetPropertyInfo
  • Previous by thread: Re: help with MusicTrackCopyInsert
  • Next by thread: Re: about changing inNumberFrames in renderer callbacks
  • Index(es):
    • Date
    • Thread