What does start_threshold mean, and what value should it contain?

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

 



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
_______________________________________________
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