52 static pthread_mutex_t
ready_mutex = PTHREAD_MUTEX_INITIALIZER;
53 static pthread_cond_t
ready_cond = PTHREAD_COND_INITIALIZER;
86 memset (& gain_from_playlist, 0,
sizeof gain_from_playlist);
100 gain_from_playlist.
album_gain = album_gain / (float) gain_unit;
101 gain_from_playlist.
track_gain = track_gain / (float) gain_unit;
106 gain_from_playlist.
album_peak = album_peak / (float) peak_unit;
107 gain_from_playlist.
track_peak = track_peak / (float) peak_unit;
175 static void update_cb (
void * hook_data,
void * user_data)
425 current_file, start_time, end_time,
paused);
503 static void set_data (InputPlayback * p,
void * data)
515 static void set_params (InputPlayback * p,
int bitrate,
int samplerate,
528 static void set_tuple (InputPlayback * p, Tuple * tuple)
538 p->output->set_replaygain_info (& gain_from_playlist);
573 snprintf (s,
sizeof s,
get_bool (
NULL,
"leading_zero") ?
574 " (%02d:%02d)" :
" (%d:%02d)", len / 60, len % 60);
576 snprintf (s,
sizeof s,
" (%d:%02d:%02d)", len / 3600, (len / 60) %
617 l =
CLAMP (l, 0, 100);
618 r =
CLAMP (r, 0, 100);