Discussion:
[Alsa-user] alsa buffer/period size
Anders Genell
2017-05-05 08:33:33 UTC
Permalink
Dear experts!

When using aplay one can set the buffer size with the -B flag. Is there a
way to do this 'permanently' in asound.conf?

I tried to mess around with inserting a pcm_slave object and setting
different values for buffer_time and period_time but couldn't notice any
effect.

Best regards,
Anders
Clemens Ladisch
2017-05-05 09:15:47 UTC
Permalink
When using aplay one can set the buffer size with the -B flag. Is there a way to do this 'permanently' in asound.conf?
Not really. What buffer sizes are supported depends on the hardware,
but the actual buffer size is always chosen by the application.

The only way to restrict this is when you can affect the device itself,
i.e., when you have a virtual device like dmix.


Regards,
Clemens

Loading...