We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5574ed8 commit 2f08dcfCopy full SHA for 2f08dcf
components/usb/usb_device_uac/usb_device_uac.c
@@ -503,6 +503,7 @@ esp_err_t uac_device_init(uac_device_config_t *config)
503
s_uac_device->user_cfg.cb_ctx = config->cb_ctx;
504
s_uac_device->user_cfg.set_mute_cb = config->set_mute_cb;
505
s_uac_device->user_cfg.set_volume_cb = config->set_volume_cb;
506
+ s_uac_device->user_cfg.set_volume_db_cb = config->set_volume_db_cb;
507
s_uac_device->current_sample_rate = DEFAULT_SAMPLE_RATE;
508
s_uac_device->mic_buf_write = s_uac_device->mic_buf1;
509
s_uac_device->mic_buf_read = s_uac_device->mic_buf2;
0 commit comments