Project

General

Profile

Actions

Submit #2804

closed

Blocking IO in sound subsystem.

Added by yellowrabbit2010 about 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Driver
Target version:
-
Start date:
03/12/2015
Due date:
% Done:

100%

Estimated time:

Description

Reapply old patch to the new sound system

commit 3e2b80a43e8d3778b07c4680c8a2719cd4c7f621
Author: Hasso Tepper <>
Date: Mon Oct 8 17:55:00 2007 +0000
Dragonfly always passes a flag for every IO operation depending whether
the mode of the operation or of the fd is set to NBIO, but it doesn't
pass down fcntl() changes to the drivers. So, if you open /dev/dsp with
NONBLOCK and later fcntl it to blocking, the sound driver won't be aware
of this fact.

Fix: don't maintain this setting in the sound driver.

Requested and tested by corecode@.


Files

sound.patch (645 Bytes) sound.patch yellowrabbit2010, 03/12/2015 09:57 PM
FIONBIO_test.tar.bz2 (6.7 KB) FIONBIO_test.tar.bz2 tests shamaz, 03/18/2015 07:22 AM
fionbio_master.patch (4.54 KB) fionbio_master.patch patch shamaz, 03/18/2015 07:22 AM
patch-sound_fix_nonblock.diff (3.84 KB) patch-sound_fix_nonblock.diff vadaszi, 03/18/2015 01:47 PM
Actions

Also available in: Atom PDF