Skip to contentSkip to conversation

External I/O-Plugin API is missing precise timestamp control

DISCUSSION GitHub issues - opened 1 participant 1 message Jan 9, 2024 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

alsa-project/alsa-lib issue #377 was opened from z-s-e:

Unless I overlooked something, it seems not possible for an ioplug plugin to influence the timestamps reported by snd_pcm_status_get_htstamp() - I suppose those are rather autogenerated by the lib and thus of fairly low precision. Also, at the moment it is possible that a status update contains newer timestamps than a previous update, but without an increased snd_pcm_status_get_avail() value, which makes these autogenerated timestamps not very well behaved.

It would be much better if there was a way for a plugin to tell the alsa-lib which timestamps it should forward to the user.

Issue URL : https://github.com/alsa-project/alsa-lib/issues/377
Repository URL: https://github.com/alsa-project/alsa-lib