Home
last modified time | relevance | path

Searched refs:media_player (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/include/zephyr/bluetooth/audio/
Dmedia_proxy.h403 struct media_player;
425 void (*local_player_instance)(struct media_player *player, int err);
439 void (*discover_player)(struct media_player *player, int err);
453 void (*player_name_recv)(struct media_player *player, int err, const char *name);
466 void (*icon_id_recv)(struct media_player *player, int err, uint64_t id);
479 void (*icon_url_recv)(struct media_player *player, int err, const char *url);
490 void (*track_changed_recv)(struct media_player *player, int err);
503 void (*track_title_recv)(struct media_player *player, int err, const char *title);
516 void (*track_duration_recv)(struct media_player *player, int err, int32_t duration);
530 void (*track_position_recv)(struct media_player *player, int err, int32_t position);
[all …]
/Zephyr-latest/subsys/bluetooth/audio/
Dmpl.c246 static struct mpl_mediaplayer media_player = { variable
712 if (id == media_player.icon_id) { in on_obj_selected()
715 } else if (id == media_player.group->track->segments_id) { in on_obj_selected()
717 (void)setup_segments_object(media_player.group->track); in on_obj_selected()
718 } else if (id == media_player.group->track->id) { in on_obj_selected()
720 (void)setup_track_object(media_player.group->track); in on_obj_selected()
721 } else if (media_player.next_track_set && id == media_player.next.track->id) { in on_obj_selected()
724 (void)setup_track_object(media_player.next.track); in on_obj_selected()
725 } else if (id == media_player.group->track->next->id) { in on_obj_selected()
728 (void)setup_track_object(media_player.group->track->next); in on_obj_selected()
[all …]
Dmedia_proxy.c28 struct media_player { struct
60 struct media_player local_player;
66 struct media_player remote_player;
795 int media_proxy_ctrl_get_player_name(struct media_player *player) in media_proxy_ctrl_get_player_name()
832 int media_proxy_ctrl_get_icon_id(struct media_player *player) in media_proxy_ctrl_get_icon_id()
867 int media_proxy_ctrl_get_icon_url(struct media_player *player) in media_proxy_ctrl_get_icon_url()
902 int media_proxy_ctrl_get_track_title(struct media_player *player) in media_proxy_ctrl_get_track_title()
937 int media_proxy_ctrl_get_track_duration(struct media_player *player) in media_proxy_ctrl_get_track_duration()
973 int media_proxy_ctrl_get_track_position(struct media_player *player) in media_proxy_ctrl_get_track_position()
1009 int media_proxy_ctrl_set_track_position(struct media_player *player, int32_t position) in media_proxy_ctrl_set_track_position()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dmedia_controller_test.c70 static struct media_player *local_player;
71 static struct media_player *remote_player;
72 static struct media_player *current_player;
74 static void local_player_instance_cb(struct media_player *player, int err) in local_player_instance_cb()
85 static void discover_player_cb(struct media_player *player, int err) in discover_player_cb()
96 static void player_name_cb(struct media_player *plr, int err, const char *name) in player_name_cb()
111 static void icon_id_cb(struct media_player *plr, int err, uint64_t id) in icon_id_cb()
127 static void icon_url_cb(struct media_player *plr, int err, const char *url) in icon_url_cb()
141 static void track_title_cb(struct media_player *plr, int err, const char *title) in track_title_cb()
156 static void track_duration_cb(struct media_player *plr, int err, int32_t duration) in track_duration_cb()
[all …]
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dmedia_controller.c42 static struct media_player *local_player;
43 static struct media_player *remote_player;
44 static struct media_player *current_player;
46 static void local_player_instance_cb(struct media_player *plr, int err) in local_player_instance_cb()
62 static void discover_player_cb(struct media_player *plr, int err) in discover_player_cb()
77 static void player_name_cb(struct media_player *plr, int err, const char *name) in player_name_cb()
87 static void icon_id_cb(struct media_player *plr, int err, uint64_t id) in icon_id_cb()
100 static void icon_url_cb(struct media_player *plr, int err, const char *url) in icon_url_cb()
110 static void track_changed_cb(struct media_player *plr, int err) in track_changed_cb()
120 static void track_title_cb(struct media_player *plr, int err, const char *title) in track_title_cb()
[all …]
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_mcp.c35 static struct media_player *mcs_media_player;
1581 static void mcs_player_instance_cb(struct media_player *plr, int err) in mcs_player_instance_cb()
1588 static void mcs_command_send_cb(struct media_player *player, int err, const struct mpl_cmd *cmd) in mcs_command_send_cb()
1593 static void mcs_current_track_obj_id_cb(struct media_player *player, int err, uint64_t id) in mcs_current_track_obj_id_cb()
1600 static void mcs_next_track_obj_id_cb(struct media_player *player, int err, uint64_t id) in mcs_next_track_obj_id_cb()
1607 static void mcs_media_state_cb(struct media_player *player, int err, uint8_t state) in mcs_media_state_cb()
1614 static void mcs_current_group_id_cb(struct media_player *player, int err, uint64_t id) in mcs_current_group_id_cb()
1621 static void mcs_parent_group_id_cb(struct media_player *player, int err, uint64_t id) in mcs_parent_group_id_cb()