Re: Underruns in basic audio playback application

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

 



On Fri, Dec 4, 2009 at 3:28 AM, Christophe Osuna
<christophe.osuna@xxxxxxxxx> wrote:
> I don't have much experience myself, but in such a situation I would
> recommend either increasing buffer size, or linking capture and
> playback devices with snd_pcm_link().

Thanks for the input.  In the end, I hacked up a version of the
test/latency.c to do what I needed.  I think the root of the issue is
that ALSA behaves badly if both the period and buffer sizes/times are
configured, and the values provided do not match up (in terms of the
buffer size relative to the period size).

Anyway, I've got it working now, so thanks anyway!

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
_______________________________________________
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