Unless you want to implement something yourself (using squeezelite's visualizer export), I'd suggest you explore the ALSA option suggested above. You can send the stream to two cards, one being the real HW, the other a 'file plugin' (https://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html), which "stores contents of a PCM stream to file or pipes the stream to a command". However, if you want to write something yourself, here's another existing implementation which illustrates the bare minimum you have to do to get the data from squeezelite: 'cava/input/shmem.c' (https://github.com/karlstav/cava/blob/master/input/shmem.c)
'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Playlist Editor / Generator | Music Classification | Similar Music | Announce | EventTrigger | LMSlib2go | ... 'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ... ------------------------------------------------------------------------ Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808 View this thread: http://forums.slimdevices.com/showthread.php?t=111290 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
