|
PebbleOS
|
Operations implemented by a music backend. More...
#include <music_internal.h>
Data Fields | |
| const char * | debug_name |
| Name used in logs and tests. | |
| bool(* | is_command_supported )(MusicCommand command) |
| Check whether a command is supported. | |
| void(* | command_send )(MusicCommand command) |
| Send a command to the player. | |
| bool(* | needs_user_to_start_playback_on_phone )(void) |
| Check whether playback must be started from the phone. | |
| MusicServerCapability(* | get_capability_bitset )(void) |
| Get the supported MusicServerCapability bits. | |
| void(* | request_reduced_latency )(bool reduced_latency) |
| Enable or disable reduced connection latency. | |
| void(* | request_low_latency_for_period )(uint32_t period_ms) |
Request the lowest connection latency for period_ms milliseconds. | |
Operations implemented by a music backend.
| void(* MusicServerImplementation::command_send) (MusicCommand command) |
Send a command to the player.
| const char* MusicServerImplementation::debug_name |
Name used in logs and tests.
| MusicServerCapability(* MusicServerImplementation::get_capability_bitset) (void) |
Get the supported MusicServerCapability bits.
| bool(* MusicServerImplementation::is_command_supported) (MusicCommand command) |
Check whether a command is supported.
| bool(* MusicServerImplementation::needs_user_to_start_playback_on_phone) (void) |
Check whether playback must be started from the phone.
| void(* MusicServerImplementation::request_low_latency_for_period) (uint32_t period_ms) |
Request the lowest connection latency for period_ms milliseconds.
| void(* MusicServerImplementation::request_reduced_latency) (bool reduced_latency) |
Enable or disable reduced connection latency.