Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: OSS loopback device

10 views
Skip to first unread message

Sid

unread,
May 26, 2018, 11:14:47 PM5/26/18
to
"Where's the midi loopback device in the FreeBSD OSS implementation?" - blubee blubeeme

sndiod is intended for Midi on FreeBSD.

ports/sndio

From pkg-descr:
Sndio is a small audio and MIDI framework part of the OpenBSD project.

It provides an lightweight audio & MIDI server and a fully documented
user-space API to access either the server or directly the hardware in
a uniform way. Sndio is designed to work for desktop applications,
but pays special attention to synchronization mechanisms and
reliability required by music applications. Reliability through
simplicity are part of the project goals.

/etc/group ---> _sndio:* ...
/etc/rc.conf.local ---> sndiod_enable="YES"

The rc.conf.local variable is from:
/usr/local/etc/rc.d/sndiod ---> rcvar=sndiod_enable

See also pkg-plist from its port directory

man sndiod(8) is about the sndio MIDI server daemon
_______________________________________________
freebsd-m...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
To unsubscribe, send any mail to "freebsd-multime...@freebsd.org"

Sid

unread,
May 31, 2018, 6:01:50 PM5/31/18
to
> blubee blubeeme wrote,

> So there's no actual native midi handling on FreeBSD... Yikes!

> Why doesn't FreeBSD import this sndio into kernel instead of a port?
> sndio is more feature complete and the developers are actually active,
> while OSS seems to be dead in it's tracks and the main developer has gone away.

Good thoughts.

Sid

unread,
Jun 1, 2018, 5:24:28 AM6/1/18
to
> sndio is a port; does it have a kernel module? - Blubee bluebeeme

It has a daemon, that gets installed at /usr/local/etc/rc.d/sndiod

Files from /usr/ports/audio/sndio/pkg-plist are

bin/aucat
bin/midicat
bin/sndiod
include/sndio.h
lib/libsndio.so
lib/libsndio.so.6.1
plus a lot of manpages.

The sndio manpage turns up a few /dev/ devices.

I couldn't find anything in the /boot/modules or /boot/kernel directories about sndio, after installing.
You'll have to investigate OpenBSD to learn about if there are any modules.


Here is part of the output from installing...
bindir................... /usr/local/bin
datadir.................. /usr/local/share
includedir............... /usr/local/include
libdir................... /usr/local/lib
mandir................... /usr/local/man
user..................... _sndio
libbsd................... no
precision................ 16
alsa..................... no
oss...................... yes
sun...................... no
rmidi.................... yes
umidi.................... yes

It looks like this setup is for 16 bit (CD quality) playback, and not 24 bit playback.
0 new messages