philippe_44 wrote: 
> Just one precision wrt buffer sizes if you want to use the full
> crossfade:
> 
> - The outputbuf always contains 32 bits samples * 2 channels, so to hold
> 10s, you must allocate 8*10*96000=7,680,000
> - In addition, when you resample, there is an extra 
> 1.1*new_sample_rate/original_ sample_rate*codec_min_block, that is
> needed. In case of flac, codec_min_block is 204800, so 44.1=>96k means
> 1.1*96/44.1*204800 = 490,405
> - So, around 8.2MB for a 10s full crossfade with your settings. Real
> duration is reduced if not enough room is available
> - I've made changes not so long ago so that that buffer is only
> allocated when the player is actually playing something, so there are
> not statically allocated anymore!

I've set the output buffer to 10000000 just to be safe. So far so good.
Playing all day without any glitches!
Amazing stuff, very happy! Thanks!

Just as a question: I've setup the upsampling because I have a large
collection of high res material though my Sublime+ subscription and it's
really nice to have crossfade between all different tracks in my
playlist. Doesn't this hurt playback quality ? Don't know what filters
are used for the upsampling ?

As far as I'm aware it all sounds very great and I can't hear a
difference with my previous Roon setup. (bits are bits, right?).


------------------------------------------------------------------------
marcelveldt's Profile: http://forums.slimdevices.com/member.php?userid=66909
View this thread: http://forums.slimdevices.com/showthread.php?t=110449

_______________________________________________
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to