diff options
author | Jaroslav Kysela <perex@suse.cz> | 2004-11-11 13:52:13 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2004-11-11 13:52:13 +0100 |
commit | ec5eb611d27ac1a0c18b82b2a9c0818af7bb9c72 (patch) | |
tree | 0a83b07c3bee02f84a73f00db3935e8912a59ff5 /Documentation | |
parent | 55fb6aae9066209c9027edfff4868c6af901fe1b (diff) | |
download | history-ec5eb611d27ac1a0c18b82b2a9c0818af7bb9c72.tar.gz |
[ALSA] nonblock_open=1 by default for OSS PCM API emulation
Documentation,ALSA<-OSS emulation
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/sound/alsa/OSS-Emulation.txt | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Documentation/sound/alsa/OSS-Emulation.txt b/Documentation/sound/alsa/OSS-Emulation.txt index 7ba680cf43ab37..ec2a02541d5b2a 100644 --- a/Documentation/sound/alsa/OSS-Emulation.txt +++ b/Documentation/sound/alsa/OSS-Emulation.txt @@ -164,16 +164,15 @@ sending the command above. The block and non-block options are used to change the behavior of opening the device file. -As default, ALSA behaves as defined in POSIX, i.e. blocks the file -when it's busy until the device becomes free (unless O_NONBLOCK is -specified). Some applications assume the non-block open behavior, -which are actually implemented in some real OSS drivers. + +As default, ALSA behaves as original OSS drivers, i.e. does not block +the file when it's busy. The -EBUSY error is returned in this case. This blocking behavior can be changed globally via nonblock_open -module option of snd-pcm-oss. For using the non-block mode as default +module option of snd-pcm-oss. For using the blocking mode as default for OSS devices, define like the following: - options snd-pcm-oss nonblock_open=1 + options snd-pcm-oss nonblock_open=0 The partial-frag and no-silence commands have been added recently. Both commands are for optimization use only. The former command |