History log of /openbsd-src/lib/libsndio/sio_open.3 (Results 1 – 25 of 56)
Revision Date Author Comments
# 3678e563 30-May-2022 op <op@openbsd.org>

move bufsz description after appbufsz as per struct fields order

ok ratchov@


# edb0e8e8 30-Apr-2022 ratchov <ratchov@openbsd.org>

Tweak to clarify sio_stop(3) and sio_flush() description, from jmc@


# ec8a3410 29-Apr-2022 ratchov <ratchov@openbsd.org>

Add sio_flush(3) function to stop playback immediately

The new sio_flush(3) functions works the same way as sio_stop(3),
except that it doesn't wait for play buffer to be drained. Instead,
it discar

Add sio_flush(3) function to stop playback immediately

The new sio_flush(3) functions works the same way as sio_stop(3),
except that it doesn't wait for play buffer to be drained. Instead,
it discards its contents and returns immediately.

show more ...


# 41ce3b17 31-Mar-2022 naddy <naddy@openbsd.org>

man pages: add missing commas between subordinate and main clauses

jmc@ dislikes a comma before "then" in a conditional, so leave those
untouched.

ok jmc@


# b710ff09 29-Nov-2020 ratchov <ratchov@openbsd.org>

Clarify what sio_start() does exactly

Suggested by Erico Nogueira <ericonr@disroot.org>,
help from and ok jmc@, schwarze@


# a852c866 20-Nov-2020 schwarze <schwarze@openbsd.org>

* Add SIO_BPS() to NAME and SYNOPSIS where it is missing.
* Use .Fn rather than .Dv for macros taking arguments.
* Actually say what SIO_LE_NATIVE means.
* Add closely related APIs to SEE ALSO.
* Add

* Add SIO_BPS() to NAME and SYNOPSIS where it is missing.
* Use .Fn rather than .Dv for macros taking arguments.
* Actually say what SIO_LE_NATIVE means.
* Add closely related APIs to SEE ALSO.
* Add missing HISTORY and AUTHORS sections.
OK ratchov@

show more ...


# c4b445c6 20-Jun-2020 schwarze <schwarze@openbsd.org>

basic macro cleanup: .Fo for long .Fn lines, .Fa for struct fields,
avoid \*(Gt and \*(Lt, .Dv NULL, .Cm for pledge promises


# 596a878a 21-Apr-2020 deraadt <deraadt@openbsd.org>

move mixerctl and audioctl man pages to section 8, as these work
against root-only device nodes.


# dbc87f2b 18-Jan-2019 ratchov <ratchov@openbsd.org>

Sayt that using capabilities to negociate audio parameters (ie using
sio_getcap() function) is not recomended.

From Paul Swanson <psw at protonmail.com>, ok jmc


# 096da69d 28-Jul-2018 ratchov <ratchov@openbsd.org>

Move libsndio session cookie in its own $HOME/.sndio/ directory to
make libsndio easier to use with unveil(2).

"make sense" deraadt


# 38b9dda8 03-Jan-2017 natano <natano@openbsd.org>

Tweak RETURN VALUES section. Move description of sio_pollfd() and
sio_nfds() return values there and add a paragraph about sio_eof().

ok jmc ratchov


# edb9bfb9 11-Feb-2016 tim <tim@openbsd.org>

Document how to use sndio in pledged programs.

Input and OK jmc@ ratchov@ semarie@


# 3f2e611a 07-Jan-2016 ratchov <ratchov@openbsd.org>

Move sndiod man page to section 8.

suggested by deraadt, fixes from jmc, ok millert


# 5dfee228 14-Sep-2015 schwarze <schwarze@openbsd.org>

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 styl

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.

show more ...


# 3d57a6b8 02-Dec-2014 schwarze <schwarze@openbsd.org>

Kill the only instance of .Lb in our tree. It is better to not use
it at all, not even occasionally, because there is no sustainable
way (and even less any portable way) to maintain the list of libr

Kill the only instance of .Lb in our tree. It is better to not use
it at all, not even occasionally, because there is no sustainable
way (and even less any portable way) to maintain the list of library
names. Besides, without such a list, even the formatting looks bad.
OK jmc@ bentley@

show more ...


# 0064b033 05-Mar-2014 ratchov <ratchov@openbsd.org>

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

ok jmc, schwarze


# eb79ad94 22-Jan-2014 schwarze <schwarze@openbsd.org>

clean up macro usage;
tweak and ok ratchov@, ok jmc@


# 033c109e 23-Dec-2013 ratchov <ratchov@openbsd.org>

- clarify that sio_close() stops the device first, then
frees the handle and not the opposite
- clarify that sio_close() and sio_stop() dont discard
samples in the play buffer.

suggested by Reim

- clarify that sio_close() stops the device first, then
frees the handle and not the opposite
- clarify that sio_close() and sio_stop() dont discard
samples in the play buffer.

suggested by Reimar Doeffinger <Reimar.Doeffinger at gmx.de>

ok jmc@

show more ...


# 305a9af0 22-Dec-2013 ratchov <ratchov@openbsd.org>

- replaces "audio stream" by "audio device", as sndio is a device
abstraction
- remove useless statements.

ok jmc@


# eeb374f4 04-Jul-2013 ratchov <ratchov@openbsd.org>

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


# 72fd9ef7 04-Jul-2013 ratchov <ratchov@openbsd.org>

shorten lines in literal blocks to avoid word wraping


# 86f9d4cd 05-Jun-2013 tedu <tedu@openbsd.org>

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


# 091bf160 06-Apr-2013 ratchov <ratchov@openbsd.org>

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


# 9f9aa69f 23-May-2012 ratchov <ratchov@openbsd.org>

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.


# 7207b069 11-Apr-2012 ratchov <ratchov@openbsd.org>

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


123