On 9/15/06, shane michael matthews <shane.michael.matthews@xxxxxxxxx> wrote: > On 9/15/06, Lee Revell <rlrevell@xxxxxxxxxxx> wrote: > > 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 The device is: # lspci 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01) I found a manual at: http://www.intel.com/design/chipsets/manuals/307017.htm On page 47 it discusses the wall clock. ------------------------------------------------------------------------- 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