[alsa-devel] What does start_threshold mean, and what value should it contain?

j t mark473 at gmail.com
Mon Apr 23 12:27:31 CEST 2007


Hi.

I'm trying to debug a problem with xruns which happen when playing a
wav file with vlc, but I can't reproduce the problems when using
"aplay -M" to play the same wav file. (logged as
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3031).

I've checked the contents of /proc/asound/card0/pcm0p/sub0/ in both
cases - they appear to be very similar except for the contents of
sw_params: when I use vlc, start_threshold says 1, but when I use
"aplay -M", start_threshold says 16384.

So, what does start_threshold mean, is there a particular value that
start_threshold "should" contain, and could this difference be the
cause of the xruns? (The aplay man page doesn't seem to have any flags
for controlling the value of this parameter, so it doesn't appear to
be "user-configurable").

(Apologies if this is the wrong mailing list - I though that -devel
would be better than -user, but I could be wrong).

Thanks,

Jaime


More information about the Alsa-devel mailing list