[sndtools] sndpeek on linux

Turku Ting turkuting at gmail.com
Mon Nov 4 19:01:33 EST 2013

thanks tristan,

btw i forgot to mention that this is sndpeek compiled for alsa.
i grabbed the git version, now the error reads thus:
[sndpeek]: opening /tmp/mpd.fifo...
[sndpeek]: error: cannot open '/tmp/mpd.fifo':File contains data in an unknown format.
[sndpeek]: exiting...
code 253

the music player daemon mpd has this in its config:
audio_output {
        type            "fifo"
        name            "My FIFO"
        path            "/tmp/mpd.fifo"
        format          "44100:16:2"

so apart from these 3 numbers i don't really know what format it is.

what kind of adjustment would the data flowing through the fifo need to be recognizable by sndpeek?
or, what kind of adjustment would sndpeek need to accept/recognize it?



On Mon, 4 Nov 2013 17:48:53 -0500
Tristan Matthews <le.businessman at gmail.com> wrote:

> On Mon, Nov 4, 2013 at 2:36 AM, Turku Ting <turkuting at gmail.com> wrote:
> > hello,
> > i'd be happy if someone could help setting up sndpeek.
> > i want it to read from a fifo, createt by mpd (music player daemon).
> > i can access the fifo with e.g.
> > $ aplay -f cd /tmp/mpd.fifo
> > but sndpeek just throws a non-descript error:
> > $ sndpeek /tmp/mpd.fifo
> > [sndpeek]: opening /tmp/mpd.fifo...
> > [sndpeek]: error: cannot open '/tmp/mpd.fifo'...
> > [sndpeek]: exiting...
> > code 253
> >
> > any ideas?
> You can grab this version of sndpeek, which will at least show you the
> error message from sf_open:
> https://gitorious.org/sndpeek/sndpeek
> Best,
> Tristan

More information about the sndtools mailing list