summaryrefslogtreecommitdiff
path: root/lib/libsndio/sio_open.3
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2013-07-04 21:43:26 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2013-07-04 21:43:26 +0000
commita1bef529260661438a648fc8964ea1b9e50c92fd (patch)
tree69bf0377af3f9c297964aa3c9abd373370382ce1 /lib/libsndio/sio_open.3
parent53ec0df231f0abe62920b60b4682d9fc5b3ab615 (diff)
shorten lines in literal blocks to avoid word wraping
Diffstat (limited to 'lib/libsndio/sio_open.3')
-rw-r--r--lib/libsndio/sio_open.336
1 files changed, 18 insertions, 18 deletions
diff --git a/lib/libsndio/sio_open.3 b/lib/libsndio/sio_open.3
index 1ba08f81877..f4527d2624e 100644
--- a/lib/libsndio/sio_open.3
+++ b/lib/libsndio/sio_open.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sio_open.3,v 1.35 2013/06/05 03:44:50 tedu Exp $
+.\" $OpenBSD: sio_open.3,v 1.36 2013/07/04 21:43:25 ratchov Exp $
.\"
.\" Copyright (c) 2007 Alexandre Ratchov <alex@caoua.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: July 4 2013 $
.Dt SIO_OPEN 3
.Os
.Sh NAME
@@ -147,21 +147,21 @@ The set of parameters of the stream that can be controlled
is given by the following structure:
.Bd -literal
struct sio_par {
- unsigned int bits; /* bits per sample */
- unsigned int bps; /* bytes per sample */
- unsigned int sig; /* 1 = signed, 0 = unsigned int */
- unsigned int le; /* 1 = LE, 0 = BE byte order */
- unsigned int msb; /* 1 = MSB, 0 = LSB aligned */
- unsigned int rchan; /* number channels for recording */
- unsigned int pchan; /* number channels for playback */
- unsigned int rate; /* frames per second */
+ unsigned int bits; /* bits per sample */
+ unsigned int bps; /* bytes per sample */
+ unsigned int sig; /* 1 = signed, 0 = unsigned int */
+ unsigned int le; /* 1 = LE, 0 = BE byte order */
+ unsigned int msb; /* 1 = MSB, 0 = LSB aligned */
+ unsigned int rchan; /* number channels for recording */
+ unsigned int pchan; /* number channels for playback */
+ unsigned int rate; /* frames per second */
unsigned int appbufsz; /* minimum buffer size without xruns */
- unsigned int bufsz; /* end-to-end buffer size (read-only) */
- unsigned int round; /* optimal buffer size divisor */
+ unsigned int bufsz; /* end-to-end buffer size (read-only) */
+ unsigned int round; /* optimal buffer size divisor */
#define SIO_IGNORE 0 /* pause during xrun */
#define SIO_SYNC 1 /* resync after xrun */
#define SIO_ERROR 2 /* terminate on xrun */
- unsigned int xrun; /* what to do on overrun/underrun */
+ unsigned int xrun; /* what to do on overrun/underrun */
};
.Ed
.Pp
@@ -307,7 +307,7 @@ Parameters of different configurations
usable together.
.Bd -literal
struct sio_cap {
- struct sio_enc { /* allowed encodings */
+ struct sio_enc { /* allowed encodings */
unsigned int bits;
unsigned int bps;
unsigned int sig;
@@ -319,10 +319,10 @@ struct sio_cap {
unsigned int rate[SIO_NRATE]; /* allowed rates */
unsigned int nconf; /* num. of confs[] */
struct sio_conf {
- unsigned int enc; /* bitmask of enc[] indexes */
- unsigned int rchan; /* bitmask of rchan[] indexes */
- unsigned int pchan; /* bitmask of pchan[] indexes */
- unsigned int rate; /* bitmask of rate[] indexes */
+ unsigned int enc; /* bitmask of enc[] indexes */
+ unsigned int rchan; /* bitmask of rchan[] indexes */
+ unsigned int pchan; /* bitmask of pchan[] indexes */
+ unsigned int rate; /* bitmask of rate[] indexes */
} confs[SIO_NCONF];
};
.Ed