1 unstable release

0.0.1 May 2, 2020

#28 in #openbsd

27 downloads per month
Used in 2 crates (via sioctl)

MIT license

5KB

sndio-sys

Bindings for sndio.

This crate provides low-level bindings for sndio generated using bindgen.

Sndio is a small audio and MIDI framework part of the OpenBSD project and ported to FreeBSD, Linux and NetBSD. It provides a lightweight audio & MIDI server and a fully documented user-space API to access either the server or directly the hardware in a uniform way.

See sndio documentation for more information about each API:

  • sio_open and other sio_* methods for accessing the audio server for playback/recording.
  • mio_open and other mio_* methods for accessing MIDI hardware.
  • sioctl_open and other sioctl_* methods for accessing control parameters of audio devices.

lib.rs:

Bindings for sndio.

This crate provides low-level bindings for sndio generated using bindgen.

Sndio is a small audio and MIDI framework part of the OpenBSD project and ported to FreeBSD, Linux and NetBSD. It provides a lightweight audio & MIDI server and a fully documented user-space API to access either the server or directly the hardware in a uniform way.

See sndio documentation for more information about each API:

  • sio_open and other sio_* methods for accessing the audio server for playback/recording.
  • mio_open and other mio_* methods for accessing MIDI hardware.
  • sioctl_open and other sioctl_* methods for accessing control parameters of audio devices.

Dependencies

~0–1.8MB
~35K SLoC