Re: underruns and strange code in pcm_rate.c

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

 



Hello.

Timur Tabi wrote:
>> For example, set
>>    slave.periods 3
>>    slave.period_size 4096
>> then you'll hear the improvement, I guess.
> Can someone tell me exactly where I'm supposed to put those two lines?
/etc/asound.conf for instance, or ~/.asoundrc
Like this:
---
pcm.swmix {
    type dmix
    ipc_key 1111
    slave.pcm "hw:0,0"
    slave.periods 3
    slave.period_size 4096
}
---

Also change the "default" to use it,
like this:
---
pcm.!default {
    type plug
    slave.pcm "swmix"
}
---
(that's also where "rate" gets into play -
"plug" may use it)

_______________________________________________
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