NetBSD-Users archive

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

Re: NetBSD alsa and its oss plugin



On Mon, Nov 22, 2021 at 12:02:36PM +0100, Hauke Fath wrote:
> As a data point, an attempt to record 10 seconds through alsa will hang 
> indefinitely, and leave an empty file stub:

It is repeatedly using SNDCTL_DSP_GETIPTR, which is a wrapper around
AUDIO_GETIOFFS, which is unimplemented in isaki-audio2, so always
returns 0 (indicating that no frames are available to read). So
it assumes that it can't read anything.

https://nxr.netbsd.org/xref/src/sys/dev/audio/audio.c#3031

I'll have to think about this.


Home | Main Index | Thread Index | Old Index