Codebase list squeezelite / 2f18649
resample by exception to lowest sync sample rate rather than highest Adrian Smith 9 years ago
1 changed file(s) with 8 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
134134 break;
135135 }
136136 }
137 // else find next highest sync sample rate
138 while (!outrate && i >= 0) {
139 if (supported_rates[i] > raw_sample_rate && supported_rates[i] % raw_sample_rate == 0) {
140 outrate = supported_rates[i];
141 break;
142 }
143 i--;
144 }
137145 }
138146
139147 if (!outrate) {