Skip to content

OpenBSDGuy/pulseaudio-module-sndio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sndio PulseAudio module

A module for PulseAudio to support playing to sndio servers.

This is liberated from the OpenBSD PulseAudio port: http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/audio/pulseaudio/files/

This module supports playback only.

Installation on Debian

First install the dependencies:

$ sudo apt install pulseaudio pulsemixer build-essential libpulse-dev libtool libltdl-dev libsndio-dev

Reboot the computer,

$ sudo reboot

Then get the latest release of the repo,

$ wget 'https://github.com/OpenBSDGuy/pulseaudio-module-sndio/archive/refs/tags/v14.tar.gz' && tar -xvzf v14.tar.gz && cd pulseaudio-module-sndio-14

Compile the code,

$ make && sudo make install

Then load the sndio module and set the server,

$ pactl load-module module-sndio device="snd@100.64.1.2/0" record=false playback=true

Make it permanent by adding the following line to the /etc/pulse/default.pa file,

load-module module-sndio device="snd@100.64.1.2/0" record=false playback=true

The IP must point to the IP address of the VMM host machine in NAT set up (Networking option-2 on FAQ16, which in this case is the OpenBSD machine.

It's best to disable the suspend-on-idle module, so comment or remove the following line from /etc/pulse/default.pa:

load-module module-suspend-on-idle

Lastly, set the default sink in the /etc/pulse/default.pa file:

set-default-sink sndio-sink

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 99.6%
  • Makefile 0.4%