commit b809e1148793bbe33af2adb09af395668a8dae22 Author: Imre Vadász <i...@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(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b809e1148793bbe33af2adb09af395668a8dae22 -- DragonFly BSD source repository