mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
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:
parent
dbaf450394
commit
c098a75d10
3 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue