static const btav_interface_t *blued_a2dp_interface = NULL;
static btav_callbacks_t blued_a2dp_cb = {
- sizeof(blued_a2dp_cb),
- cb_audio_connection_state,
- cb_audio_state,
- NULL /* Audio Config Callback */
+ .size = sizeof(blued_a2dp_cb),
+ .connection_state_cb = cb_audio_connection_state,
+ .audio_state_cb = cb_audio_state,
+ .audio_config_cb = NULL
};
oal_status_t audio_enable(char *service_name , char *provider_name)