Codebase list squeezelite / cca7a7e
Update upstream source from tag 'upstream/1.9+git20210513.556de56' Update to upstream version '1.9+git20210513.556de56' with Debian dir 363c9bb5244aed6e937ba111ed1dda47a40aa71c tony mancill 2 years ago
4 changed file(s) with 6 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
132132 { "KEY_DOWN", 0x7689b04f, true },
133133 { "KEY_HOME", 0x768922dd, false },
134134 { "KEY_MEDIA_REPEAT", 0x768938c7, false },
135 { "KEY_AGAIN", 0x768938c7, false },
135136 // { "KEY_TITLE", 0x76897887, false }, // Now Playing
136137 // { "KEY_TITLE", 0x7689a25d, false }, // Now Playing
137138 // { "KEY_TEXT", 0x7689f807, false }, // Size
5959 silence = false;
6060
6161 // start when threshold met
62 if (output.state == OUTPUT_BUFFER && frames > output.threshold * output.next_sample_rate / 10 && frames > output.start_frames) {
62 if (output.state == OUTPUT_BUFFER && (frames * BYTES_PER_FRAME) > output.threshold * output.next_sample_rate / 10 && frames > output.start_frames) {
6363 output.state = OUTPUT_RUNNING;
6464 LOG_INFO("start buffer frames: %u", frames);
6565 wake_controller();
361361 d->default_sink_name = strdup(l->name);
362362
363363 if (!d->userdef_rates) {
364 d->rates[0] = l->sample_spec.rate;
365 }
364 d->rates[0] = PA_RATE_MAX;
365 }
366 output.default_sample_rate = l->sample_spec.rate;
366367
367368 *d->sample_spec = l->sample_spec;
368369 }
2525
2626 #define MAJOR_VERSION "1.9"
2727 #define MINOR_VERSION "9"
28 #define MICRO_VERSION "1372"
28 #define MICRO_VERSION "1386"
2929
3030 #if defined(CUSTOM_VERSION)
3131 #define VERSION "v" MAJOR_VERSION "." MINOR_VERSION "-" MICRO_VERSION STR(CUSTOM_VERSION)