Increase buffer size
Andrew Pattison <[email protected]> Wed, 9 Apr 2025 20:36:47 +0100
| Newsgroups | gmane.linux.alsa.user |
|---|---|
| Message-ID | <CAM7PLK46Nx0acF1P=xFfzM-WDpxTv8Edxf97ZGD8-33F6WZ1cA@mail.gmail.com> |
--===============5101508973164418000==
Content-Type: multipart/alternative; boundary="0000000000009ce43d06325d9716"
--0000000000009ce43d06325d9716
Content-Type: text/plain; charset="UTF-8"
Hi ALSA peeps
I need to increase the buffer size ALSA is using, in order to work around a
problem with my USB audio device, which appears to be caused by something
on my Raspberry Pi. I get occasional pauses in the sound output, which I'm
hoping are just buffer underruns. They sort themselves out once the audio
has been playing for something like 20 seconds.
All my attempts so far to use various conbinations of 'periods'
'period_size' and 'buffer_size' have failed. I'm starting with the
following base asound.conf, which does work:
pcm.ufo202 {
type hw
card 1
}
ctl.ufo202 {
type hw
card 1
}
How can I get a nice big audio buffer for this device?
Thanks
Andrew.
--0000000000009ce43d06325d9716
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Hi ALSA peeps<div><br></div><div>I need to increase the bu=
ffer size ALSA is using, in order to work around a problem with my USB audi=
o device, which appears to be caused by something on my Raspberry Pi. I get=
occasional pauses in the sound output, which I'm hoping are just buffe=
r underruns. They sort themselves out once the audio has been playing for s=
omething like 20 seconds.</div><div><br></div><div>All my attempts so far t=
o use various conbinations of 'periods' 'period_size' and &=
#39;buffer_size' have failed. I'm starting with the following base =
asound.conf, which does work:</div><div><br></div><div>pcm.ufo202 {<br>=C2=
=A0 =C2=A0 type hw<br>=C2=A0 =C2=A0 card 1<br>}<br><br>ctl.ufo202 {<br>=C2=
=A0 =C2=A0 type hw<br>=C2=A0 =C2=A0 card 1<br>}<br></div><div><br></div><di=
v>How can I get a nice big audio buffer for this device?</div><div><br></di=
v><div>Thanks</div><div><br>Andrew.</div></div>
--0000000000009ce43d06325d9716--
--===============5101508973164418000==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============5101508973164418000==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user
--===============5101508973164418000==--