paul- wrote: 
> Arecord reads the input device, and sends the data to sox in raw pcm. 
> sox is encoding the flac scream
> 
> ORDERING=little
> ENCODING=signed-integer
> CHLS=2
> outformat="--type flac --compression 4"
> BITS can be 16/24/32
> RATE can be any of the normally supported rates.
> 
> post="sox --type raw --bits ${BITS} --channels ${CHLS} --rate ${RATE}
> --encoding ${ENCODING} --endian ${ORDERING} - ${outformat} -"
> 
> 
> Ralphy made a comment by the commit that is causing the problems......
Got it - I've submitted the fix. I forgot, when I switched the Flac
header parsing to onStream instead of onBody, to return 0 at the end of
parseFlacHeader to tell LMS to close that socket. Meanwhile, you can
just edit Slim::Utils::Scanner::Remote.pm and add a "return 0" at the
very end of "parseFlacHeader"



LMS 7.9  on Pi 3B+ & Odroid-C2 - *SqueezeAMP!*, 5xRadio, 3xBoom, 4xDuet,
1xTouch, 1 SB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2,
Squeezelite on Pi,  Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5,
Riva 1 & 3
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=112767

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to