From e68924435a0e9a3fc391be0426c43847a47287f4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 29 Jan 2009 23:15:55 +0100 Subject: jack: removed "bps" attribute The "bps" attribute is calculated, but never used. --- src/output/jack_plugin.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/output') diff --git a/src/output/jack_plugin.c b/src/output/jack_plugin.c index 2cda53784..4a96b4d82 100644 --- a/src/output/jack_plugin.c +++ b/src/output/jack_plugin.c @@ -54,7 +54,7 @@ struct jack_data { jack_port_t *ports[2]; jack_client_t *client; jack_ringbuffer_t *ringbuffer[2]; - int bps; + bool shutdown; }; @@ -159,10 +159,6 @@ set_audioformat(struct jack_data *jd, struct audio_format *audio_format) if (audio_format->bits != 16 && audio_format->bits != 24) audio_format->bits = 24; - - jd->bps = audio_format->channels - * sizeof(jack_default_audio_sample_t) - * audio_format->sample_rate; } static void -- cgit v1.2.3