bluetooth: Move HSP_MAX_GAIN to header for reuse in n_volume_steps

Instead of hardcoding the number `16`, use `HSP_MAX_GAIN + 1`.

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/239>
This commit is contained in:
Marijn Suijten 2021-03-27 11:42:37 +01:00 committed by PulseAudio Marge Bot
parent dbaf450394
commit c098a75d10
3 changed files with 4 additions and 4 deletions

View file

@ -37,8 +37,6 @@
#include "bluez5-util.h"
#include "bt-codec-msbc.h"
#define HSP_MAX_GAIN 15
struct pa_bluetooth_backend {
pa_core *core;
pa_dbus_connection *connection;