On Thu, Jun 14, 2018 at 08:40:56AM +0300, Максим wrote: > Hello, > I use USB headphones on OpenBSD amd64 6.3 > So they are detected on the system: > uaudio0 at uhub3 port 2 configuration 1 interface 0 "Sennheiser > Communications Sennheiser USB headset" rev 1.10/1.00 addr 3 > uaudio0: audio rev 1.00, 8 mixer controls > audio1 at uaudio0 > > I've set up this audio device in accordance with official FAQ > (https://www.openbsd.org/faq/faq13.html#confaudio) > cat /etc/rc.conf.local > "sndiod_flags=-f rsnd/1" > > The first problem is: when I listen to music (cmus) and browse in the > internet (Firefox) cmus sometimes stops playing for a second. > This happens when I click a link on a page or receive some notification from > the web page (which may play some short sound) > > The second problem is: when some audio source is played (online video or some > music file) the sound is sometimes distorted or it bursts. > To fix this I have to pause and unpause the sound source several times. > > What can be a problem? Do I need any additional setup for my audio device?
Sounds like a driver bug. Your setup is correct. The interaction between programs is probably coincidence, I guess another program would hurt audio as well. To confirm this is not caused by sndiod, you could try the same setup on a PCI device and check that the problem is disappears.