Commit e6892443 authored by Max Kellermann's avatar Max Kellermann

jack: removed "bps" attribute

The "bps" attribute is calculated, but never used.
parent 5a294955
...@@ -54,7 +54,7 @@ struct jack_data { ...@@ -54,7 +54,7 @@ struct jack_data {
jack_port_t *ports[2]; jack_port_t *ports[2];
jack_client_t *client; jack_client_t *client;
jack_ringbuffer_t *ringbuffer[2]; jack_ringbuffer_t *ringbuffer[2];
int bps;
bool shutdown; bool shutdown;
}; };
...@@ -159,10 +159,6 @@ set_audioformat(struct jack_data *jd, struct audio_format *audio_format) ...@@ -159,10 +159,6 @@ set_audioformat(struct jack_data *jd, struct audio_format *audio_format)
if (audio_format->bits != 16 && audio_format->bits != 24) if (audio_format->bits != 16 && audio_format->bits != 24)
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 static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment