Re: Wall Clock Counter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2006-09-15 at 09:06 -0700, shane michael matthews wrote:
> Hello group,
> 
> What I want to do is read the value stored in the wall clock counter
> on my sound card.  Searching through the alsa documentation and source
> it appears that snd_timer_read is the function I want to use.  From
> timer.c:
> 
> "The timer implementation uses ring buffer to store information about
> timing events. In this buffer is recorded count of ticks and current
> tick resolution in nanoseconds."  Is the 'ticks' referred to here the
> value in the wall clock counter (It seems to always be set to 5 on my
> system)?  If anyone could point me to more documentation I would
> greatly appreciate it. 

The answer to this will be hardware-specific.  In order for
snd_timer_read() to work there must be a low level ALSA timer
implementation for your sound device.  What soundcard do you use?

Lee



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux