Resetting IOAudioEngine Timing Mechanism?
Resetting IOAudioEngine Timing Mechanism?
- Subject: Resetting IOAudioEngine Timing Mechanism?
- From: Dirk Musfeldt <email@hidden>
- Date: Wed, 30 Oct 2002 16:34:44 +0100
Hi,
is it possible to reset the IOAudioEngine timing mechanism?
I have an IOAudioEngine that splits the sample buffer used by the
IOAudioStream into several smaller buffers used by the hardware. The
hardware sets interrupts on the completion of each of the small buffers.
But if the system load is high, i.e. the screen resolution is changed, my
IOInterruptEventSource routine is called with higher latency and the
CoreAudio passes the read head and reads the input samples in front of it.
Is there an way to restart the mechanism from the driver?
Of course I could use setSampleOffset to set a greater offset but as I have
to synchronize with video I need the small offset or you will notice the
delay.
With kind regards
Dirk Musfeldt
Meilenstein Mac OS Software
Neue Strasse 5
D-31582 Nienburg
Germany
Tel: +49 (0) 5021 91 24 44
Fax: +49 (0) 5021 91 24 45
<
http://www.meilenstein.de/>
_______________________________________________
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.