Thank you very much. This sounds reasonably. I will try it.
Until now I hoped there would be a more easy solution.
But this is ok.

rds guenther

On 17-Feb-02 James Courtier-Dutton wrote:
> 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

Guenther Sohler

NewLogic Technologies AG 
Millennium Park 6
A-6890 Lustenau
                                           Phone: +43-5577-62000-507
E-Mail: [EMAIL PROTECTED]       Fax:   +43-5577-62000-988


_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to