Follow

How do you play an mp3 file on plan 9?

mp3dec < sandstorm.mp3 > /dev/audio

@sir I wish this was how it's done on linux :v
@sir Well, this still exists with OSS(FreeBSD AFAIK) and SunAudio(Solaris, NetBSD, …).

@lanodan lord save me from using a Solaris or BSD system

@sir Well, I consider Solaris to be dead.
What's wrong the the BSDs in your opinion?

@lanodan they think they know better than everyone else, when in fact they don't, and it leaks

@sir Well, sadly this one is quite getting way too true in the Linux ecosystem too.
@sir True for most but doesn't seems so for NetBSD which has a bunch of drivers too, in fact might have more than linux as it's much more portable.

@lanodan true, but ramp up on a new arch is pretty easy, whereas drivers for every peripheral ever is much harder

@sir there is pkgin for the binary packages and it's quite good (between apk and apt I'd say).

@lanodan I'm not the sort of person who is satisfied with the binary packages

@sir @lanodan FreeBSD and OpenBSD (probably, NetBSD too) provide binary pakages
@sir Yup and linux only has part of that because of vendors support.
For example any BSD on a android-vendored smartphone is probably never going to happen.
@sir @lanodan by that logic, windows has even better driver support
@sir @lanodan better in the sense, it has support for more devices

@kurisu on plan 9 every process has a distinct /dev/audio file, which can be provided by a userspace process that handles multiplexing. Every process has its own filesystem, which has shared resources mounted into it explicitly

@kurisu @sir Just launch it multiple times, /dev/ stuff are just binary IOs to the kernel.
It's like if you would put stuff to /dev/tty.
Sign in to participate in the conversation
Mastodon

cmpwn.com is a private Mastodon instance for friends of SirCmpwn.