I do this by counting how many frames have already been written(from the app), minus the frames still waiting to be written (from alsa, i.e. How many frames are still in the sound cards buffer waiting to be output.)
Cheers James > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Guenther > Sohler > Sent: 17 February 2002 10:28 > To: [EMAIL PROTECTED] > Subject: [Alsa-devel] PCM frames already played > > > Is there a way to determine the number of bytes/frames already > played through > the DAC since last reset via snd_pcm_status in v0.9.x ? > > Its possible in OSS via ioctl and in alsa v0.5.0 you can view at a element > "bytes" in sthe respective structure. > > But how does it work in v0.9.x ? > > > rds guenther > > _______________________________________________ > Alsa-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/alsa-devel _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel