]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
remove unused globals
authorJörn Nettingsmeier <nettings@luchtbeweging.nl>
Fri, 15 Feb 2019 19:34:23 +0000 (19:34 +0000)
committerJörn Nettingsmeier <nettings@luchtbeweging.nl>
Fri, 15 Feb 2019 19:34:23 +0000 (19:34 +0000)
audio_jack.c

index 15f1f49dc1b39e09005843962b64e155d71a3561..d825cacc91bca7c9050cca4f6405ecccecd8073e 100644 (file)
 #include <jack/transport.h>
 #include <jack/ringbuffer.h>
 
-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;