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
73 | 73 |
- fix gapless playback on portaudio builds
|
74 | 74 |
- fix gapless playback for mp3 localfile case with tags at start of file
|
75 | 75 |
|
76 | |
Version 1.6.1
|
77 | |
=============
|
|
76 |
Version 1.6.1 22/4/14
|
|
77 |
=====================
|
78 | 78 |
|
79 | 79 |
Minor changes
|
80 | 80 |
- fix bug with PA version changing sample rate between tracks
|
81 | 81 |
- fix crash when skipping in ogg while resampling
|
82 | 82 |
- 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
|
195 | 195 |
|
196 | 196 |
unsigned decode_newstream(unsigned sample_rate, unsigned supported_rates[]) {
|
197 | 197 |
|
|
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 |
|
198 | 201 |
MAY_PROCESS(
|
199 | 202 |
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;
|
201 | 206 |
}
|
202 | 207 |
);
|
203 | 208 |
|
398 | 398 |
}
|
399 | 399 |
|
400 | 400 |
if (logfile) {
|
401 | |
if (!freopen(logfile, "a", stdout) || !freopen(logfile, "a", stderr)) {
|
|
401 |
if (!freopen(logfile, "a", stderr)) {
|
402 | 402 |
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 |
}
|
403 | 411 |
}
|
404 | 412 |
}
|
405 | 413 |
|
19 | 19 |
|
20 | 20 |
// make may define: PORTAUDIO, SELFPIPE, RESAMPLE, VISEXPORT, DSD, LINKALL to influence build
|
21 | 21 |
|
22 | |
#define VERSION "v1.6.1"
|
|
22 |
#define VERSION "v1.6.2"
|
23 | 23 |
|
24 | 24 |
// build detection
|
25 | 25 |
#if defined(linux)
|