nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches

◆ bt_content_ctrl_state_override()

void bt_content_ctrl_state_override ( bool playing)

#include <applications/nrf_audio/src/bluetooth/bt_content_control/bt_content_ctrl.h>

Override the current state of the media player.

Note
This is needed if the media player state is not in sync with the actual state of stream. This can happen if a device disconnects at the same time as a play/pause command is sent.
Parameters
[in]playingIndicate whether the content should be in the playing state.