[-] A bit of cleaning up

This commit is contained in:
ejurgensen
2019-04-10 22:38:48 +02:00
parent dc65cb5b76
commit ce2be1a724
3 changed files with 5 additions and 15 deletions

View File

@@ -110,12 +110,6 @@
// (value is in milliseconds)
#define PLAYER_WRITE_BEHIND_MAX 1500
// When we pause, we keep the input open, but we can't do that forever. We must
// think of the poor streaming servers, for instance. This timeout determines
// how long we stay paused, before we close the inputs.
// (value is in seconds)
#define PLAYER_PAUSE_TIMEOUT 600
//#define DEBUG_PLAYER 1
struct volume_param {
@@ -273,8 +267,6 @@ static struct timespec player_tick_interval;
// Timer resolution
static struct timespec player_timer_res;
//static struct timeval player_pause_timeout = { PLAYER_PAUSE_TIMEOUT, 0 };
// PLAYER_WRITE_BEHIND_MAX converted to clock ticks
static int pb_write_deficit_max;
@@ -939,8 +931,6 @@ event_play_eof()
if (consume)
db_queue_delete_byitemid(pb_session.playing_now->item_id);
// outputs_metadata_prune(pb_session.pos);
if (pb_session.reading_next)
outputs_metadata_send(pb_session.reading_next->item_id, false, metadata_finalize_cb);