Is there any documentation on the timer api that goes beyond what's on the als
a-project pages? We're trying to sync Video and Audio, and all we need is a wa
y to query the current time relative to some arbitrary start point.
i don't believe that the timer API has much to do with this. its more
On Wed, 6 Mar 2002, Paul Davis wrote:
Is there any documentation on the timer api that goes beyond what's on the als
a-project pages? We're trying to sync Video and Audio, and all we need is a wa
y to query the current time relative to some arbitrary start point.
i don't believe that the
You're right. But it would be really nice to have a continuous timer
source in some resolution (microseconds?) available for all platforms
to satisfy synchronization requirements.
its often called UST (Unadjusted System Time). Its part of the POSIX
CLOCK_MONOTONIC specification. this is
The delay value is calculated from getting the amount of samples still in
the sound buffer.
See the ao_alsa_delay function is
xine-lib/src/audio_out/audio_alsa_out.c
So if the delay is 100 ms.
You have to place samples in the audio buffer 100ms before you wish to hear
them.
Not quite right.
-Original Message-
From: Paul Davis [mailto:[EMAIL PROTECTED]]
Sent: 06 March 2002 17:27
To: James Courtier-Dutton
Cc: Ulrich Zadow; [EMAIL PROTECTED]
Subject: Re: [Alsa-devel] Timer?
The delay value is calculated from getting the amount of samples still in
the sound buffer