OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.14 / (download) - annotate - [select for diffs], Fri May 24 15:10:27 2024 UTC (2 weeks, 3 days ago) by ratchov
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +8 -2 lines
Diff to previous 1.13 (colored)

sndio: Add a display string to the sioctl_open API

For hardware devices, add a server.device control
with a single item and the device name as display
string.

Add the necessary sndioctl(1) bits to print it.

Revision 1.13 / (download) - annotate - [select for diffs], Tue May 3 13:03:30 2022 UTC (2 years, 1 month ago) by ratchov
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
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

sioctl_onval(3) returns int not void

Fix from Carlin Bingham <cb at viennan.net>, thanks!

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jun 28 05:39:30 2020 UTC (3 years, 11 months ago) by ratchov
Branch: MAIN
CVS Tags: 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
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

Use .Dv for SIOCTL_SEL, as we do for all other macros

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jun 28 05:21:38 2020 UTC (3 years, 11 months ago) by ratchov
Branch: MAIN
Changes since 1.10: +0 -0 lines
Diff to previous 1.10 (colored)

Allow switching between alternate devices (-F option) with sndioctl(1)

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jun 28 05:17:25 2020 UTC (3 years, 11 months ago) by ratchov
Branch: MAIN
Changes since 1.9: +11 -5 lines
Diff to previous 1.9 (colored)

Add a new SIOCTL_SEL control type to select one of a predefined set of
mutually exclusive values. It's the same as SIOCTL_LIST except that
exactly one list element may be selected.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jun 20 08:41:37 2020 UTC (3 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.8: +28 -11 lines
Diff to previous 1.8 (colored)

add missing ENVIRONMENT. HISTORY, and AUTHORS sections,
and a few other wording and markup improvements while here;
OK jmc@ ratchov@

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jun 18 16:21:28 2020 UTC (3 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.7: +8 -9 lines
Diff to previous 1.7 (colored)

uint8_t is a discrete, not a continuous type,
and some other wording improvements with respect to types;
OK ratchov@

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jun 18 14:49:46 2020 UTC (3 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.6: +48 -19 lines
Diff to previous 1.6 (colored)

Many of these functions have several arguments, and some arguments
are very long (function pointers), such that a number of input lines
in the SYNOPSIS do not fit into 80 columns.  Consequently, consistently
use .Fo/.Fa/.Fc rather than .Fn for better readability of the source
code.  Mechanical diff, no output change.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jun 18 14:38:21 2020 UTC (3 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.5: +53 -54 lines
Diff to previous 1.5 (colored)

basic macro cleanup, and reword two phrases about closed intervals
of integers for clarity and to read better;
one of the issues (abuse of .Sm) was originally reported by jmc@;
ok jmc@ ratchov@

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jun 18 04:45:03 2020 UTC (3 years, 11 months ago) by ratchov
Branch: MAIN
Changes since 1.4: +18 -4 lines
Diff to previous 1.4 (colored)

Document sioctl_desc structure maxval attribute

Revision 1.4 / (download) - annotate - [select for diffs], Sun Apr 19 09:54:56 2020 UTC (4 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

spelling fix;

Revision 1.3 / (download) - annotate - [select for diffs], Sun Apr 19 06:39:47 2020 UTC (4 years, 1 month ago) by feinerer
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Mention SIO_DEVANY instead of nonexistent SIOCTL_DEVANY constant

OK ratchov@

Revision 1.2 / (download) - annotate - [select for diffs], Wed Feb 26 14:41:42 2020 UTC (4 years, 3 months ago) by ratchov
Branch: MAIN
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)

Fix .Dt line and copyright year.

From jmc@, thanks.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Feb 26 13:53:58 2020 UTC (4 years, 3 months ago) by ratchov
Branch: MAIN

Add API to control audio device parameters exposed by sndiod.

The API exposes controls of modern audio hardware and sndiod software
volume knobs in a uniform way.  Hardware knobs are exposed through
sndiod.  Multiple programs may use the controls at the same time
without the need to continuously scan the controls.

For now sndiod exposes only its own controls and the master output and
input volumes of the underlying hardware (if any), i.e. those
typically exposed by acpi volume keys.

ok deraadt

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.