#
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 ...
|
#
4f3fcc39 |
| 28-Jun-2020 |
ratchov <ratchov@openbsd.org> |
Allow switching between alternate devices (-F option) with sndioctl(1)
|
#
49f67e12 |
| 28-Jun-2020 |
ratchov <ratchov@openbsd.org> |
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.
|
#
433bc805 |
| 18-Jun-2020 |
ratchov <ratchov@openbsd.org> |
Fix comments about sioctl_desc's maxval field
|
#
d07fece6 |
| 26-Feb-2020 |
ratchov <ratchov@openbsd.org> |
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
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
show more ...
|
#
bde5d162 |
| 20-Dec-2015 |
ratchov <ratchov@openbsd.org> |
Expose internal functions necessary to open audio devices and midi ports using existing file descriptors.
|
#
493ea524 |
| 22-Aug-2012 |
espie <espie@openbsd.org> |
hex constants unsigned, prevents some gcc warnings okay ratchov@
|
#
7690362d |
| 08-Jul-2012 |
ratchov <ratchov@openbsd.org> |
Include sys/types.h rather than sys/param.h to pull BYTE_ORDER macros. suggested by deraadt@
|
#
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@
|
#
4c68e881 |
| 06-Nov-2010 |
ratchov <ratchov@openbsd.org> |
make sio_onvol(3) return a integer exposing whether a volume knob is available for the stream. As we're at it, remove macros and functions that are neither used nor documented.
|
#
bb957eee |
| 25-Jul-2009 |
ratchov <ratchov@openbsd.org> |
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
|
#
6efede29 |
| 25-Jul-2009 |
ratchov <ratchov@openbsd.org> |
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 m
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@
show more ...
|
#
fcb16ac0 |
| 21-Apr-2009 |
ratchov <ratchov@openbsd.org> |
move src/lib/libsndio/sndio.h into src/include where other include files leave.
requested by deraadt@, ok miod@
|