rgro wrote: > Ralphy or Triode, > > I see this description of the "-r" parameter in squeezelite: > > -r <rates>[:<delay>] Sample rates supported, allows output to be off > when squeezelite is started; rates = > <maxrate>|<minrate>-<maxrate>|<rate1>,<rate2>,<rate3>; delay = optional > delay switching rates in ms. > > So, right now, I have the following set up in > /lib/systemd/system/squeezelite0.service for what I thought would > implement a 400ms delay when switching rates: > > ExecStart=/usr/bin/squeezelite -s localhost -o hw:CARD=B20,DEV=0 -m > 00:04:20:E6:6F:8E -n "VBA" -r :400 > > However, when I saved this and restarted squeezelite, I did not note any > difference in the truncation with a sample rate change between tracks. > I also tried it at 500ms with no improvement. I suspect I've done > something that is not quite right, so would appreciate a bit more > assistance. Thanks!
hi I have the same issue - had to increase the pause to 700ms. If you can compile - modify output.c since squeezelite outputs 1stly 1/2 of the pause time under old sample rate and the other 1/2 of the pause under new sample rate. Benchmark DAC2 doesnt really care about the 1st one so you in theory need 800ms but i found out that 600 works OR 480 works if you modify the source code so that 1st half is not played at all and only 2nd half. Another issue which bugs me related to 'pause' is that DAC doesn't seem to LOCK while pause is being sent - LED that relfects bit-depth is off (i tried increasing pause to 2 seconds to be able to see it) .... if i play empty (all 0s) flac file DAC will lock and show if it is 16bit or 24bit ... which means there is something 'odd' in how squeezelite outputs pauses or interracts with DAC during outputing silence.... Triode - could you take a look into that please ? I looked through source code and not that i get it all but it seems that it should work ... but my DAC SHOWS/behaves differently if i play File1-96khz-SqueezelitePauseOf2seconds-File2-44khz as oppsoed to File1-96khz-SilenceFile1second44khz-File2-44khz (with no pause in squeezelite settings) ? BTW - all also on linux so ouput_alsa is key one! thanks ------------------------------------------------------------------------ gahabana's Profile: http://forums.slimdevices.com/member.php?userid=62064 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix