// if would be in sync. To do this, we would give it a latency offset of -100 ms, i.e.
// -4410 frames.
- debug(1, "Output sample ratio is %d", conn->output_sample_ratio);
+ // debug(1, "Output sample ratio is %d", conn->output_sample_ratio);
int64_t delta = (conn->first_packet_timestamp - reference_timestamp) +
config.latency * conn->output_sample_ratio +
conn->output_sample_ratio = config.output_rate / conn->input_rate;
- debug(1, "Output sample ratio is %d.", conn->output_sample_ratio);
+ // debug(1, "Output sample ratio is %d.", conn->output_sample_ratio);
conn->max_frame_size_change = 500 * conn->output_sample_ratio; // we add or subtract one frame at the nominal
// rate, multiply it by the frame ratio.
if (!strncmp(cp, "volume: ", 8)) {
float volume = atof(cp + 8);
- debug(3, "volume: %f\n", volume);
+ debug(1, "AirPlay request to set volume to: %f\n", volume);
player_volume(volume,conn);
} else
#ifdef CONFIG_METADATA
if (playing_conn) {
debug(1,"Playing connection asked to stop");
if (playing_conn==conn) {
- debug(1,"ANNOuNCE asking to stop itself.");
+ debug(1,"ANNOUNCE asking to stop itself.");
} else {
playing_conn->stop = 1;
memory_barrier();