aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-29 23:15:55 +0100
committerMax Kellermann <max@duempel.org>2009-01-29 23:15:55 +0100
commite68924435a0e9a3fc391be0426c43847a47287f4 (patch)
treec56d0a7d2221627d9aa202e0102ae9a0efc94f07 /src
parent5a2949552b63abc81b4a48c9b8c07e88b8c0d11e (diff)
downloadmpd-e68924435a0e9a3fc391be0426c43847a47287f4.tar.gz
mpd-e68924435a0e9a3fc391be0426c43847a47287f4.tar.xz
mpd-e68924435a0e9a3fc391be0426c43847a47287f4.zip
jack: removed "bps" attribute
The "bps" attribute is calculated, but never used.
Diffstat (limited to '')
-rw-r--r--src/output/jack_plugin.c6
1 files changed, 1 insertions, 5 deletions
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