Developer World
Spresense SDK Library release-v1.2.0-627f51e
Public Attributes | List of all members
PlayerCommand Struct Reference

#include <audio_player_api.h>

Collaboration diagram for PlayerCommand:
Collaboration graph

Public Attributes

uint8_t player_id
 [in] target player id Use AsPlayerId enum type
union {
   AsActivatePlayer   act_param
   AsInitPlayerParam   init_param
 [in] for InitPlayer (header.command_code==AUDCMD_INITPLAYER) (Object Interface==AS_InitPlayer)
   AsPlayPlayerParam   play_param
 [in] for PlayPlayer (header.command_code==AUDCMD_PLAYPLAYER)
   AsStopPlayerParam   stop_param
 [in] for StopPlayer (header.command_code==AUDCMD_STOPPLAYER)
   AsRequestNextParam   req_next_param
   AsSetGainParam   set_gain_param
 [in] for Adjust sound period (header.command_code==AUDCMD_CLKRECOVERY)
   AsDeactivatePlayer   deact_param
 [in] for deactivate player (header.command_code==AUDCMD_SETREADYSTATUS)

Detailed Description

PlayerCommand definition

The documentation for this struct was generated from the following file: