19 May
2009
19 May
'09
1:01 p.m.
Laurent Pinchart wrote:
On Monday 18 May 2009 10:39:24 Clemens Ladisch wrote:
The ALSA API doesn't give you access to the SOF clock.
Does the ALSA API give applications access to the audio clock ?
ALSA wakes up the application (if it's blocked) whenever a sound card interrupt happens, i.e., at period boundaries. At all times, you can get the current sample position by calling snd_pcm_delay().
As Alan Stern mention in his e-mail, does ALSA allow an application to resample audio from an ALSA source (microphone on sound card 1) before sending it to an ALSA sink (speaker on sound card 2) ?
It is possible, if the application monitors the speed of both devices.
Best regards, Clemens