AudioDeviceRead and AUGraph
AudioDeviceRead and AUGraph
- Subject: AudioDeviceRead and AUGraph
- From: Robert Grant <email@hidden>
- Date: Wed, 3 Dec 2003 08:44:41 -0500
I'm using the AudioDeviceManager class from the PlayEffect sample code
to bring live audio into my AUGraph and it's working nicely except for
one thing. If the graph is left running for a long time (like 12 hours)
a noticeable latency is gradually introduced.
I think this is because there is no connection between the graph's time
and the AudioDeviceRead time. In the PlayEffect sample code the
inTimeStamp from the graph is ignored and the AudioDeviceManager
maintains its own TimeStamp.
I'm not sure why that is, but plugging in the AUGraph timestamp (from
an AURender callback) does not help in fact it causes the
AudioDeviceRead to produce silence (but no error code).
Thanks for any insight,
Robert.
_______________________________________________
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.