Enabling tstamp in proc status file externally

Pavel Hofman pavel.hofman at ivitera.com
Thu Jun 9 14:38:58 CEST 2022


Hi,

Please is there any way to enable the tstamp in stream status without 
modifying the client calling the alsa-lib API? I wanted to measure 
samplerate ratio between soundcards using data in their status proc 
files (comparing advancement of tstamp vs. hw_ptr). The method seems to 
work quite good, but some clients enable the stream status tstamp (e.g. 
pulseaudio) and some don't (e.g. sox, aplay), resulting in zeros in the 
status proc file.

Thanks a lot for any help or hint.

Best regards,

Pavel.


More information about the Alsa-devel mailing list