Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Duncaen/alsa-sndio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alsa-sndio

This alsa plugin provides a pcm that connects to a sndiod server as a fallback for applications that don't support sndio.

At the moment only playback is supported, capturing might be added later.

Each time the pcm is used a new sndio slot is created and sndio can control the volume per application.

The downside of this fallback instead of using sndio directly is that the application can't have control over the sndio per slot volume because alsa has no "per application" mixers.

Configuration

The simplest .asoundrc just sets the default pcm to this plugin.

pcm.!default {
	type sndio
}

The volume configuration option can be used to set an initial volume.

The device is used to overwrite the default device and/or the device set by the AUDIODEVICE environment variable.

About

ALSA PCM to play audio on sndio servers.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published