Codebase list squeezelite / 94e0631
1.6.2 - fix xrun on track change on low power cpus - write command line to logfile when debugging enabled Adrian Smith 9 years ago
4 changed file(s) with 25 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
7373 - fix gapless playback on portaudio builds
7474 - fix gapless playback for mp3 localfile case with tags at start of file
7575
76 Version 1.6.1
77 =============
76 Version 1.6.1 22/4/14
77 =====================
7878
7979 Minor changes
8080 - fix bug with PA version changing sample rate between tracks
8181 - fix crash when skipping in ogg while resampling
8282 - fix typo
83
84 Version 1.6.2
85 =============
86
87 Minor changes
88 - fix XRUN on track change when resampling on low power cpus
89 - log command line to logfile when debugging enabled
195195
196196 unsigned decode_newstream(unsigned sample_rate, unsigned supported_rates[]) {
197197
198 // called with O locked to get sample rate for potentially processed output stream
199 // release O mutex during process_newstream as it can take some time
200
198201 MAY_PROCESS(
199202 if (decode.process) {
200 return process_newstream(&decode.direct, sample_rate, supported_rates);
203 UNLOCK_O;
204 sample_rate = process_newstream(&decode.direct, sample_rate, supported_rates);
205 LOCK_O;
201206 }
202207 );
203208
398398 }
399399
400400 if (logfile) {
401 if (!freopen(logfile, "a", stdout) || !freopen(logfile, "a", stderr)) {
401 if (!freopen(logfile, "a", stderr)) {
402402 fprintf(stderr, "error opening logfile %s: %s\n", logfile, strerror(errno));
403 } else {
404 if (log_output >= lDEBUG || log_stream >= lDEBUG || log_decode >= lDEBUG || log_slimproto >= lDEBUG) {
405 int i;
406 for (i = 0; i < argc; i++) {
407 fprintf(stderr, "%s ", argv[i]);
408 }
409 fprintf(stderr, "\n");
410 }
403411 }
404412 }
405413
1919
2020 // make may define: PORTAUDIO, SELFPIPE, RESAMPLE, VISEXPORT, DSD, LINKALL to influence build
2121
22 #define VERSION "v1.6.1"
22 #define VERSION "v1.6.2"
2323
2424 // build detection
2525 #if defined(linux)