Skip to content

Conversation

@mtboehlke
Copy link

First of all, thank you for your awesome tools. I wanted to try fbff, but I use sndio (which in turn uses alsa-lib on linux). It turns out libao can output audio data to a variety of sound devices, including alsa, oss, sndio, and PulseAudio; it also provides a pretty simple api. I was pleasantly surprised how few changes were necessary, so I thought I'd share.

Libao has its own configuration file to select which output driver to use. Users can have their own configuration file if they wish.

I've tested these changes using sndio and the default alsa configuration on my computer. I have no reason to think that this wouldn't work for oss or PulseAudio users either provided they have it configured. Instead of using OSSDSP environment variable, an oss user would need to add a dev option in their libao configuration if using something other than /dev/dsp or /dev/sound/dsp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant