Quantcast
Channel: Squeezebox : Community : Forums - Linux / Unix
Viewing all articles
Browse latest Browse all 1518

Line input with direct/mixed playback on piCorePlayer?

$
0
0
I have piCorePlayer running with an I2S amp hat but I'd like to play from an analogue input as well via an I2S or USB ADC. PCP has a neat option to stream output from a local ALSA input on the network but I want to play the stream directly on the local player, so it works with low latency and appears like the line input works on the Squeezebox Radio for example. I've searched on the forum but not found a solution (e.g., WaveInput plugin is no help since I run LMS on another machine). Has anyone done this already in a neat way, integrated with LMS or not?

I've been messing with the snd_aloop module and setting squeezelite to play to a loopback device, then starting/stopping alsaloop processes to switch between the line in capture and the squeezelite player which (handily) continues playing. Maybe it's possible instead to mix the two streams but I know pCP tries to discourage dmix devices that do automatic sample rate conversion.

Thanks in advance for any tips/thoughts!

Viewing all articles
Browse latest Browse all 1518

Trending Articles