gahabana wrote: > Hi Triode, > if you remember 2 months ago - I really needed that feature and you > were kind enough to quickly provide source-code addition that was > putting out pause-frames (zeros) for needed duration of time under new > sample rate when it was different then previous one. My DAC is Benchmark > DAC2 and it does needs about 500ms under new sample rate to start > producing sound ... so making it part of regular build works great for > me !!! I am bit confused on the value of outputting pause frames (1/2) > at 'old' samplerate and the other half at new sample rate .... but in my > testing for some wierd reason it seems to work as well as putting out > pauses only at the new sample rate. I would assume former is not needed > as DAC is anyhow lockedin at the old sample rate so only thing needed is > pauses with new sample rate but i find that it works with parameter of > 600ms (300ms at old sample rate according to the log file and 300 under > new one) where as when I used only code update where it was outputted > only at the new sample rate about 450 ms was enough.... Will do bit more > testing and let you know precisely. > > Hope this helps a bit and thank you for supporting user community in > fantastic way !!! > > thanks !!!
The original idea for this was to cater for dacs with an internal buffer of several ms worth of data - the idea was to let the last track drain before changing sample rate, then send a period of silence after the change before starting the new track. I realize this could make the delay longer than necessary but when we discussed it related to dop it was thought this would cover the largest range of possibilities. ------------------------------------------------------------------------ Triode's Profile: http://forums.slimdevices.com/member.php?userid=17 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
