Hi,

Great experience! But I have no possibility to recompile each sound producer 
software to have sndio support.

So my way is to use additional layer of well implemented sound architecture and 
it add additional layer to sound system for sure.

I've tried to use alsa-sndio module from https://github.com/Duncaen/alsa-sndio

Module builds successfully, but

$ sudo alsactl init
returns it can't find any audio hardware (Debian system is headless and run on 
VM).

Tried to add snd-dummy module from 
https://www.alsa-project.org/main/index.php/Matrix:Module-dummy
$ sudo modprobe snd-dummy

$ sudo alsactl init
Found hardware: "Dummy" "Dummy Mixer" "" "" ""

But how to output from alsa-sndio module using alsa is not clear for me.

I've created /etc/asound.conf as required by developers of alsa-sndio module.

$ cat /etc/asound.conf
pcm.!default (
     type sndio
     device "snd@192.168.33.1/0"

alsa don't use this config.

Do you have some experience how to use alsa modules to iteract with OpenBSD 
sndiod server?

Martin

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Sunday, May 9, 2021 9:49 AM, Alexandre Ratchov <a...@caoua.org> wrote:

> On Sat, May 08, 2021 at 10:29:35AM +0000, Martin wrote:
>
> > Hi list,
> > It is great to have bidirectional audio between OpenBSD host and Debian 
> > guest (headless). I hope I move in a right way to make this thing working.
> > Required configuration:
> > mic-in on OpenBSD host >> Debian VMM guest
> > audio-out from Debian VMM guest >> OpenBSD host
> > Does anybody using pulseaudio or any other driver to have
> > bidirectional network audio stream between VMM guest and OpenBSD
> > host system?
>
> Hi,
>
> These days I use a simiar setup with Alpine running in a
> OpenBSD-hosted VM. The main purpose of sndiod -L option is to handle
> such setups (don't forget to copy your ~/.sndio/cookie on the VM). In
> the past, I used a lot Debian, but on a real machine.
>
> I didn't try to involve pulseaudio or any alsa tweakery, to limit the
> number of audio software layers and in turn get the maximum audio
> stability. So I just rebuild the software I needed with sndio support
> enabled (that was mostly firefox and few audio players).


Reply via email to