On Wed, Oct 29, 2014 at 08:40:30PM -0700, Rusty wrote:
> I feel as if i am overlooking somthing obvious, but..
> 
> Is there a way to list sndio endpoints?
> 

no, unfortunately one host can't have the list of usable audio
devices (remember some are exposed on the network by other hosts).

> Specifically I was trying to attach a scope(probably one of the ffplay
> visualizations) to the main output. however I could not figure out what
> endpoints exist.

You could create a monitoring sub-device, and make the scope
program record from it (monitoring devices record what other
programs play).

Example, start sndiod as follows:

sndiod_flags="-s default -m play,mon -s foo"

then configure your scope program to use "snd/0.foo" as audio
device. Another option is to configure the scope to use "default"
and to export AUDIODEVICE=snd/0.foo

For more info, see description of the -m and -s options in
sndiod(1), and the device naming scheme in sndio(7).

Reply via email to