Hello, Dear Community.
I use NetBSD-current and have some issue with the sound.
When I'm listening to music or watching a video, after some time I always get this error:
audio1(hdafg1): audio_write: device timeout, seq=13014, usrbuf=65268/H65268, outbuf=1920/1920
audio1(hdafg1): audio_drain: device timeout, seq=13014, usrbuf=65268/H65268, outbuf=1920/1920
It doesn't matter if a program uses ossaudio or native sound API is used directly.
When it happens, MOC reports this error:
FATAL_ERROR: Can't receive value from the server!
It seems the data comes into a buffer faster than the driver can process it, but I don't know how to fix it. I tried to increase a device timeout in sys/dev/audio/audio.c and recompile the module, I tried to increase hw.audio1.blk_ms from 10 to 100. Nothing helps.
Has anyone faced the same?