Re: Is hw buffersize configurable from .asound.rc?

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

 



On 2/15/07, el hombre <mark473@xxxxxxxxx> wrote:
> Hi.
>
> If I run:
> cat /dev/urandom | aplay -f cd --buffer-size=1024
> then the hardware buffer size is 1024 - I can see this using:
> grep buffer_size /proc/asound/card0/pcm0p/sub0/hw_params
>
> If I run:
> cat /dev/urandom | aplay -f cd --buffer-size=8192
> then the hardware buffer size is 8192 - again I can see this using:
> grep buffer_size /proc/asound/card0/pcm0p/sub0/hw_params
>
> This is only possible because aplay has an option to change the
> requested buffer size. Some applications don't have this option.
>
> Is there a way to change the hw buffer size by changing some
> parameter in my .asoundrc? I've tried using the following .asoundrc:

This should be set by the application, or the app should be prepared
to deal with whatever buffer size it gets from ALSA.

What problem are you trying to solve?

Lee

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux