diff options
-rw-r--r-- | include/hardware/bt_gatt_client.h | 4 | ||||
-rw-r--r-- | modules/usbaudio/audio_hw.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/hardware/bt_gatt_client.h b/include/hardware/bt_gatt_client.h index d6b0cb4..cf4fabe 100644 --- a/include/hardware/bt_gatt_client.h +++ b/include/hardware/bt_gatt_client.h @@ -278,7 +278,9 @@ typedef struct { /** Set the advertising data or scan response data */ bt_status_t (*set_adv_data)(int server_if, bool set_scan_rsp, bool include_name, bool include_txpower, int min_interval, int max_interval, int appearance, - uint16_t manufacturer_len, char* manufacturer_data); + uint16_t manufacturer_len, char* manufacturer_data, + uint16_t service_data_len, char* service_data, + uint16_t service_uuid_len, char* service_uuid); /** Test mode interface */ bt_status_t (*test_command)( int command, btgatt_test_params_t* params); diff --git a/modules/usbaudio/audio_hw.c b/modules/usbaudio/audio_hw.c index f33c343..24a2d63 100644 --- a/modules/usbaudio/audio_hw.c +++ b/modules/usbaudio/audio_hw.c @@ -212,7 +212,7 @@ static ssize_t out_write(struct audio_stream_out *stream, const void* buffer, err: pthread_mutex_unlock(&out->lock); - + pthread_mutex_unlock(&out->dev->lock); if (ret != 0) { usleep(bytes * 1000000 / audio_stream_frame_size(&stream->common) / out_get_sample_rate(&stream->common)); |