BMLFS icon indicating copy to clipboard operation
BMLFS copied to clipboard

Have anyone tried to use sndio in a (Musl-)LFS build?

Open takusuman opened this issue 3 years ago • 11 comments

I think that would be a great experiment.

takusuman avatar Apr 02 '22 20:04 takusuman

By the way, sndio officially supports Linux, FreeBSD, NetBSD and, obviously, OpenBSD; so, in theory, we shouldn't have any problems.

EDIT: Void Linux template file for further reference: https://github.com/void-linux/void-packages/blob/master/srcpkgs/sndio/template

takusuman avatar Apr 02 '22 20:04 takusuman

It seems like it's still leaning on ALSA for communicating with the Linux kernel, but it still a lot saner than PulseAudio.

takusuman avatar Apr 02 '22 20:04 takusuman

Wait, I think I did when building pipewire.

dslm4515 avatar Apr 04 '22 02:04 dslm4515

I was thinking in making my build with it, but I couldn't find a lot of information on it. I mean, how does it depend on ALSA to work on Linux (and could I use OSS?)? What I'd need to compile? Et cetera, et cetera, et cetera...

I can try building it later here and seeing how does it work.

takusuman avatar Apr 04 '22 02:04 takusuman

I just checked. I built it as “libsndio”

https://github.com/dslm4515/BMLFS/build-scripts/libsndio.build

dslm4515 avatar Apr 04 '22 02:04 dslm4515

I will study it more later when I can go back to my desk without having to worry with other appointments.

takusuman avatar Apr 04 '22 02:04 takusuman

May I can contribute here with something related to sndio.

takusuman avatar Apr 04 '22 02:04 takusuman

Sure.

i was thinking of finding an alternative to Pulseaudio… maybe pipewire with sndio?

I remember my early builds of LFS did not use pulseaudio.

dslm4515 avatar Apr 04 '22 02:04 dslm4515

Sure.

i was thinking of finding an alternative to Pulseaudio… maybe pipewire with sndio?

I remember my early builds of LFS did not use pulseaudio.

I think PipeWire already do what sndio does and vice-versa. There's an article at Wikipedia briefly explaining how it works: https://en.wikipedia.org/wiki/Sound_server#Sound_server_in_an_operating_system

takusuman avatar Apr 04 '22 02:04 takusuman

sndio and PipeWire are both audio servers, it, theoretically, do the same thing --- PulseAudio too, just to complement.

takusuman avatar Apr 04 '22 02:04 takusuman

It would be cool if we could substitute the Sound Subsystem, although ALSA still seeming the best option nowadays in comparison to OSS in terms of support to hardware.

takusuman avatar Apr 04 '22 02:04 takusuman