Search found 4 matches

by espgtxs
Wed Apr 17, 2019 2:30 am
Forum: ESP-IDF 中文讨论版
Topic: 蓝牙a2dp sink模式,关闭蓝牙后,重新打开,无法连接
Replies: 0
Views: 4620

蓝牙a2dp sink模式,关闭蓝牙后,重新打开,无法连接

失能蓝牙,反初始化,关闭主任务 然后,再次初始化,开启蓝牙、主任务,可以连接蓝牙,但是不能作为音频设备连接上。 只能用一次的蓝牙音箱,不符合要求啊! 测试代码如下: ret = esp_bluedroid_disable(); ESP_LOGI(BT_AV_TAG, "esp_bluedroid_disable"); vTaskDelay(2*1000/portTICK_RATE_MS); ret = esp_bluedroid_deinit(); ESP_LOGI(BT_AV_TAG, "esp_bluedroid_deinit"); vTaskDelay(2*1000/portTICK_R...
by espgtxs
Wed Dec 12, 2018 5:32 am
Forum: ESP-IDF
Topic: Change volume or loudness for ESP32 A2DP sink
Replies: 2
Views: 4791

Re: Change volume or loudness for ESP32 A2DP sink

synthesis-8-generated.c line48


#define MUL_16S_16S(_x, _y) ((_x)/32 * (_y))
by espgtxs
Wed Dec 12, 2018 5:31 am
Forum: ESP-IDF
Topic: Change volume or loudness for ESP32 A2DP sink
Replies: 2
Views: 4791

Re: Change volume or loudness for ESP32 A2DP sink

i have changed filter bank. seems solve that problem
  1. #define MUL_16S_16S(_x, _y) ((_x)/16 * (_y))
by espgtxs
Fri Nov 30, 2018 2:23 am
Forum: ESP-IDF
Topic: Change volume or loudness for ESP32 A2DP sink
Replies: 2
Views: 4791

Change volume or loudness for ESP32 A2DP sink

I'm working on a A2DP sink application modified from A2DP example, but the defult volume is too loud, even I turn down the volume on iphone to minimum level. How to config the volume in bluedroid of esp-idf ? Change these lines are useless. btc_rc_vb.rc_volume = MAX_VOLUME; //btc_avrc.c line 161 UIN...