Send the right command to set the speaker and microphone gain. --- src/modules/bluetooth/backend-native.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/bluetooth/backend-native.c b/src/modules/bluetooth/backend-native.c index 86af422..cea2db2 100644 --- a/src/modules/bluetooth/backend-native.c +++ b/src/modules/bluetooth/backend-native.c @@ -285,8 +285,8 @@ static void set_speaker_gain(pa_bluetooth_transport *t, uint16_t gain) { t->speaker_gain = gain; - len = sprintf(buf, "AT+VGS=%d\r", gain); - pa_log_debug("RFCOMM >> AT+VGS=%d", gain); + len = sprintf(buf, "+VGS=%d\r", gain); + pa_log_debug("RFCOMM >> +VGS=%d", gain); written = write(trfc->rfcomm_fd, buf, len); @@ -304,8 +304,8 @@ static void set_microphone_gain(pa_bluetooth_transport *t, uint16_t gain) { t->microphone_gain = gain; - len = sprintf(buf, "AT+VGM=%d\r", gain); - pa_log_debug("RFCOMM >> AT+VGM=%d", gain); + len = sprintf(buf, "+VGM=%d\r", gain); + pa_log_debug("RFCOMM >> +VGM=%d", gain); written = write (trfc->rfcomm_fd, buf, len); -- 1.9.3