git: sound - Allow /dev/sndstat to be opened multiple times from one process.
ivadasz at crater.dragonflybsd.org
Sat Oct 27 05:11:55 PDT 2018
Author: Imre VadÃ¡sz <imre at vdsz.com>
Date: Fri Oct 26 22:14:47 2018 +0200
sound - Allow /dev/sndstat to be opened multiple times from one process.
* This still isn't great, but at least it's enough to make pulseaudio's
oss module detect the audio devices correctly.
* This now uses the buf->uio_offset, instead of trying to track the read
position ourselves in the driver with sndstat_bufptr.
Summary of changes:
sys/dev/sound/pcm/sndstat.c | 36 ++++++++++++++++++++----------------
1 file changed, 20 insertions(+), 16 deletions(-)
DragonFly BSD source repository
More information about the Commits