PCI Audio Driver and takeTimeStamp
PCI Audio Driver and takeTimeStamp
- Subject: PCI Audio Driver and takeTimeStamp
- From: Peter Johnson <email@hidden>
- Date: Mon, 8 Dec 2008 22:11:13 -0800 (PST)
Hi
I'm writing a PCI audio driver for an audio/video capture card. I'm a little confused by the usage of takeTimeStamp(). For instance, the documentation and the SamplePCIAudioDriver example calls takeTimeStamp(false) from within the audio engine performAudioEngineStart(), however, the AudioReflectorDriver does not. Is there a reason for this?
This is further confusing me because the IOAudioFamily is reporting "missed samples" (I built a debug version the kext) when my own driver calls takeTimeStamp(false) from my performAudioEngineStart().
So, is it necessary to call takeTimeStamp(false) when the engine starts and therefore reset the loop count and start the engine from the beginning of the sample buffer, and is the IOAudioFamily spuriously reporting missed samples because the buffer indices have jumped to the start? (in other words, should I just ignore those messages).
cheers
peter
_______________________________________________
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