Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62053
b: refs/heads/master
c: 1919de0
h: refs/heads/master
i:
  62051: 94ac806
v: v3
  • Loading branch information
Alan Horstmann authored and Jaroslav Kysela committed Jul 20, 2007
1 parent 266d89b commit 524fda5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3b194401a31b8df9a07a1850e3fe44fc7ba832a4
refs/heads/master: 1919de0a9e939ef4f9453ef1630ca1345991e144
15 changes: 15 additions & 0 deletions trunk/Documentation/sound/alsa/OSS-Emulation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,21 @@ current mixer configuration by reading and writing the whole file
image.


Duplex Streams
==============

Note that when attempting to use a single device file for playback and
capture, the OSS API provides no way to set the format, sample rate or
number of channels different in each direction. Thus
io_handle = open("device", O_RDWR)
will only function correctly if the values are the same in each direction.

To use different values in the two directions, use both
input_handle = open("device", O_RDONLY)
output_handle = open("device", O_WRONLY)
and set the values for the corresponding handle.


Unsupported Features
====================

Expand Down

0 comments on commit 524fda5

Please sign in to comment.