static const btav_interface_t *blued_a2dp_sink_interface = NULL;
static btav_callbacks_t blued_a2dp_sink_cb = {
- sizeof(blued_a2dp_sink_cb),
- cb_a2dp_sink_connection_state,
- cb_a2dp_sink_audio_state
+ .size = sizeof(blued_a2dp_sink_cb),
+ .connection_state_cb = cb_a2dp_sink_connection_state,
+ .audio_state_cb = cb_a2dp_sink_audio_state,
+ .audio_config_cb = NULL
};
oal_status_t a2dp_sink_enable(char *service_name , char *provider_name)