about changing inNumberFrames in renderer callbacks
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