mherger wrote:
> Unfortunately the librespot library Spotty is using does convert the
> data to PCM, rather than forward the OGG stream directly. That said you
> can try to disable Spotty's conversion to mp3 and/or flac. The Boom
> should be able to stream PCM without transcoding. At the risk of having
> interruptions due to the higher bitrate required. It's a network
> stability vs. CPU load trade-off. But give it a try anyway.
I know nothing about rust, so excuse my ignorance but looking at
player.rs, I see
Code:
--------------------
let audio_file = Subfile::new(decrypted_file, 0xa7);
let mut decoder = VorbisDecoder::new(audio_file).unwrap();
match decoder.seek(position) {
Ok(_) => (),
Err(err) => error!("Vorbis error: {:?}", err),
}
info!("Track \"{}\" loaded", track.name);
Some((decoder, normalisation_factor))
--------------------
I also assume that you use the "pipe" option of the audio backend, so I
was wondering if the "decoder" created from "VorbisDecoder" could not be
replaced by a "PassThrough", not use normalisation of course and all the
rest stay the same (use "pipe") and then we'd save a decoding/encoding
process. I would gladly do that but don't understand rust syntax :-(
LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi
B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010,
AppleTV 4, Airport Express, GGMM E5
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=110282
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins