#
4aaef610 |
| 24-May-2024 |
ratchov <ratchov@openbsd.org> |
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
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.
show more ...
|
#
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 ...
|
#
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 ...
|
#
9733588f |
| 26-Dec-2017 |
jca <jca@openbsd.org> |
Use a version script to limit exported symbols
ok ratchov@ kettenis@
|
#
bde5d162 |
| 20-Dec-2015 |
ratchov <ratchov@openbsd.org> |
Expose internal functions necessary to open audio devices and midi ports using existing file descriptors.
|
#
d418f94b |
| 13-Nov-2013 |
ratchov <ratchov@openbsd.org> |
Prefix by '_' symbols that are not part of the API.
ok deraadt, guenther
|
#
91a535ff |
| 13-Aug-2013 |
guenther <guenther@openbsd.org> |
Switch time_t, ino_t, clock_t, and struct kevent's ident and data members to 64bit types. Assign new syscall numbers for (almost all) the syscalls that involve the affected types, including anything
Switch time_t, ino_t, clock_t, and struct kevent's ident and data members to 64bit types. Assign new syscall numbers for (almost all) the syscalls that involve the affected types, including anything with time_t, timeval, itimerval, timespec, rusage, dirent, stat, or kevent arguments. Add a d_off member to struct dirent and replace getdirentries() with getdents(), thus immensely simplifying and accelerating telldir/seekdir. Build perl with -DBIG_TIME.
Bump the major on every single base library: the compat bits included here are only good enough to make the transition; the T32 compat option will be burned as soon as we've reached the new world are are happy with the snapshots for all architectures.
DANGER: ABI incompatibility. Updating to this kernel requires extra work or you won't be able to login: install a snapshot instead.
Much assistance in fixing userland issues from deraadt@ and tedu@ and build assistance from todd@ and otto@
show more ...
|
#
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.
|
#
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 ...
|
#
dd80057d |
| 17-Dec-2008 |
ratchov <ratchov@openbsd.org> |
add a writable ``appbufsz'' field to the sa_par structure, containing the program-part of the buffer size, ie the part that is subject to underruns. Useful for apps like cdio(1) that don't have their
add a writable ``appbufsz'' field to the sa_par structure, containing the program-part of the buffer size, ie the part that is subject to underruns. Useful for apps like cdio(1) that don't have their own rings, or to apps that have a minimum ring size constraint. Setting the ``bufsz'' parameter becomes deprecated. ok jakemsr
show more ...
|
#
634fa8c1 |
| 11-Nov-2008 |
ratchov <ratchov@openbsd.org> |
expose a volume knob in the sndio API: add sio_setvol(3) and sio_onvol(3) functions. The audio(4) backend tries to use the inputs.dac, outputs.dac, outputs.output and outputs.master controls (in this
expose a volume knob in the sndio API: add sio_setvol(3) and sio_onvol(3) functions. The audio(4) backend tries to use the inputs.dac, outputs.dac, outputs.output and outputs.master controls (in this order). Add a sample file in regress/lib/libsndio/vol/vol.c
show more ...
|
#
d0e01a5c |
| 07-Nov-2008 |
ratchov <ratchov@openbsd.org> |
expose the block size in the sndio API by making par->round writable and thus remove the ugly rate <-> block-size table from sio_setpar(3). Handle the block size negociation in aucat(1), since it has
expose the block size in the sndio API by making par->round writable and thus remove the ugly rate <-> block-size table from sio_setpar(3). Handle the block size negociation in aucat(1), since it has few constrains the code is overally simpler. ok jakemsr@, major crank suggested by deraadt@
show more ...
|
#
dd0e0764 |
| 28-Oct-2008 |
jsg <jsg@openbsd.org> |
sio_initpar() is supposed to return void like the documentation says according to ratchov@. Make it so, and crank major.
ok ratchov@
|
#
f153e440 |
| 27-Oct-2008 |
ratchov <ratchov@openbsd.org> |
rename libsa to libsndio requested by many, "just go for it" deraadt@
|