Re: Improving status timestamp accuracy

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

 



Alan Young wrote:
> On 04/06/16 16:59, Clemens Ladisch wrote:
>>> >I want to know, at any given point in wall-clock time, how many samples
>>> >have been output.
>>
>>  From the buffer, or from the speaker?
>
> Obviously the speaker would be ideal

That is reported by snd_pcm_delay().

But for what purpose do you need the number of samples?  What are you
going to do with that value?


Regards,
Clemens
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/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