OpenBSD CVS

CVS log for src/lib/libsndio/mio_open.3


[BACK] Up to [local] / src / lib / libsndio

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.18 / (download) - annotate - [select for diffs], Tue Dec 18 20:37:27 2018 UTC (5 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, HEAD
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

"a" MIDI, not "an";

Revision 1.17 / (download) - annotate - [select for diffs], Tue Oct 17 22:47:58 2017 UTC (6 years, 7 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.16: +7 -2 lines
Diff to previous 1.16 (colored)

add missing HISTORY; based on CVS logs and release announcements

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jan 7 07:41:01 2016 UTC (8 years, 4 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Move sndiod man page to section 8.

suggested by deraadt, fixes from jmc, ok millert

Revision 1.15 / (download) - annotate - [select for diffs], Mon Sep 14 15:14:55 2015 UTC (8 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.14: +10 -10 lines
Diff to previous 1.14 (colored)

Remove useless quoting from .Fo and .Fn function names, to prevent
development of a cargo cult in case people look at existing files
for examples.  This achieves a consistent .Fo and .Fn quoting style
across the whole tree.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Mar 5 20:01:59 2014 UTC (10 years, 3 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.13: +1 -1 lines
Diff to previous 1.13 (colored)

say this is the "sndio" api, as we have other audio/midi apis,
makes "man -k" happier.

ok jmc, schwarze

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jul 4 21:49:10 2013 UTC (10 years, 11 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.12: +2 -12 lines
Diff to previous 1.12 (colored)

remove FILES sections because it's incomplete, wrong and doesn't give
any useful information

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jun 5 03:44:50 2013 UTC (11 years ago) by tedu
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

use fancy .In macro for includes. from Jan Klemkow. ok jmc schwarze

Revision 1.11 / (download) - annotate - [select for diffs], Sat Apr 6 11:38:41 2013 UTC (11 years, 1 month ago) by ratchov
Branch: MAIN
Changes since 1.10: +2 -9 lines
Diff to previous 1.10 (colored)

explain what "default" means in sndio.7 rather than {sio,mio}_open.3,
with tweaks from jmc

Revision 1.10 / (download) - annotate - [select for diffs], Sat Sep 15 08:58:08 2012 UTC (11 years, 8 months ago) by stsp
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.9: +30 -12 lines
Diff to previous 1.9 (colored)

Improve instructions for handling non-blocking I/O with poll(2) and
the mio_* functions. As per suggestion from jmc tidy up spacing in
RETURN VALUES section and Xr poll(2). ok jmc ratchov

Revision 1.9 / (download) - annotate - [select for diffs], Fri Sep 14 20:16:24 2012 UTC (11 years, 8 months ago) by stsp
Branch: MAIN
Changes since 1.8: +27 -32 lines
Diff to previous 1.8 (colored)

Have mio_open(3) document all return values in the RETURN VALUES section.
And don't document the return value of mio_pollfd() twice, one instance
of which was incorrect. ok jmc, ratchov

Revision 1.8 / (download) - annotate - [select for diffs], Wed May 23 19:25:11 2012 UTC (12 years ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Make the "default" string a valid device name that has the same effect
as NULL has. This will (hopefully) simplify ports where the user
passes the device string.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Apr 11 06:05:43 2012 UTC (12 years, 1 month ago) by ratchov
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Use "unsigned int" rather than "unsigned". No object change.
suggested by deraadt@

Revision 1.6 / (download) - annotate - [select for diffs], Fri Dec 9 14:38:09 2011 UTC (12 years, 5 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.5: +6 -6 lines
Diff to previous 1.5 (colored)

mention sndiod rather than aucat when talking about the server

Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 17 21:09:11 2011 UTC (12 years, 7 months ago) by ratchov
Branch: MAIN
Changes since 1.4: +12 -12 lines
Diff to previous 1.4 (colored)

Remove midicat since aucat can now be used instead of midicat
with almost the same syntax (roughly an extra -M option).
Thru boxes are created with aucat, and corresponding MIDI port
names have the "aucat" prefix instead of "midithru". The old
device name will still work some time for backward compatibility.

ok deraadt

Revision 1.4 / (download) - annotate - [select for diffs], Sat Apr 16 10:52:22 2011 UTC (13 years, 1 month ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Make aucat audio and midi backends share the same code to communicate
with the server. As we're at it use the same protocol for midi and
audio. Now, both audio and midi code use the same SNDIO_DEBUG environment
variable to turn on/off DPRINTF's.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jul 26 12:42:48 2009 UTC (14 years, 10 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.2: +4 -3 lines
Diff to previous 1.2 (colored)

rephrase description of (MIO_IN | MIO_OUT) mode
from Thomas Pfaff, ok jmc@

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jul 25 11:15:56 2009 UTC (14 years, 10 months ago) by ratchov
Branch: MAIN
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)

use const qualifier in libsndio, making it slightly more consistent
with open(2) and write(2) syscalls.
from Thomas Pfaff, jakemsr is fine with it

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jul 25 08:44:26 2009 UTC (14 years, 10 months ago) by ratchov
Branch: MAIN

Currently midi capable programs can control midi hardware, but
cannot cooperate with other programs.  The aim of this change is
to allow any program to send midi data to other programs as they
were midi hardware. For instance, this change should solve the
longstanding problem of using a midi sequencer with software
synthesizers. More precisely:

 - new midicat(1) utility (actually hardlink to aucat(1)).
   it creates software midi thru boxes, allowing programs
   to send midi messages to other programs as they were
   midi(4) hardware.

 - new midi api in libsndio (see mio_open(3)), to access
   midi(4) devices and midicat(1) sockets in a uniform way.

 - new device naming scheme <service>:<unit>[.<option>],
   common to audio and midi.

 - new sndio(7) manual describing concepts and naming

The current audio device naming still works, but people having
scripts or configuration files containing device names could read
the sndio(7) man page and slowly start updating device names.

discussed with jakemsr@ and deraadt@, help form jmc@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.