From: Jörn Nettingsmeier Date: Fri, 15 Feb 2019 19:34:23 +0000 (+0000) Subject: remove unused globals X-Git-Tag: 3.3RC0~52^2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adefcc698ccdd0164f834b233135b07ccb6f46c6;p=thirdparty%2Fshairport-sync.git remove unused globals --- diff --git a/audio_jack.c b/audio_jack.c index 15f1f49d..d825cacc 100644 --- a/audio_jack.c +++ b/audio_jack.c @@ -33,11 +33,6 @@ #include #include -enum ift_type { - IFT_frame_left_sample = 0, - IFT_frame_right_sample, -} ift_type; - // Two-channel, 16bit audio: static const int bytes_per_frame = 4; // Four seconds buffer -- should be plenty @@ -74,8 +69,6 @@ audio_output audio_jack = {.name = "jack", jack_port_t *left_port; jack_port_t *right_port; -long offset = 0; - int client_is_open; jack_client_t *client; jack_nframes_t sample_rate;