#include <audio_high_level_api.h>
Public Member Functions | |
uint8_t | getCode (void) |
bool | isStateChange (void) |
Public Attributes | |
AudioCommandHeader | header |
[in] Command Header | |
union { | |
AsInitMixerParam init_mixer_param | |
[in] for Init OutputMixer (header.command_code==AUDCMD_INIT_OUTPUTMIXER) | |
AsPlayerClockRecovery clk_recovery_param | |
[in] for Adjust sound period (header.command_code==AUDCMD_CLKRECOVERY) | |
AsInitMediaPlayerPost init_mpp_param | |
[in] for InitMPP (header.command_code==AUDCMD_INITMPP) | |
AsSetMediaPlayerPost set_mpp_param | |
[in] for SetMPPParam (header.command_code==AUDCMD_SETMPPPARAM) | |
AsInitMicFrontEnd init_micfrontend_param | |
[in] for InitMicFrontend (header.command_code==AUDCMD_INIT_MICFRONTEND) | |
AsInitPreProcParam init_preproc_param | |
[in] for InitPreProcessDSP (header.command_code==AUDCMD_INIT_PREPROCESS_DSP) | |
AsSetPreProcParam set_preproc_param | |
[in] for SetPreProcessDSP (header.command_code==AUDCMD_SET_PREPROCESS_DSP) | |
SetMicMapParam set_mic_map_param | |
[in] for SetMicMap (header.command_code==AUDCMD_SETMICMAP) | |
InitMicGainParam init_mic_gain_param | |
[in] for InitMicGain (header.command_code==AUDCMD_INITMICGAIN) | |
InitI2SParam init_i2s_param | |
[in] for InitI2SParam (header.command_code==AUDCMD_INITI2SPARAM) More... | |
InitOutputSelectParam init_output_select_param | |
[in] for InitOutputSelect (header.command_code==AUDCMD_INITOUTPUTSELECT) | |
InitDNCParam init_dnc_param | |
[in] for InitDNCParam (header.command_code==AUDCMD_INITDNCPARAM) More... | |
InitClearStereoParam init_clear_stereo_param | |
[in] for InitClearStereo (header.command_code==AUDCMD_INITCLEARSTEREO) More... | |
SetVolumeParam set_volume_param | |
[in] for SetVolume (header.command_code==AUDCMD_SETVOLUME) | |
SetVolumeMuteParam set_volume_mute_param | |
[in] for SetVolumeMute (header.command_code==AUDCMD_SETVOLUMEMUTE) | |
SetBeepParam set_beep_param | |
[in] for SetBeep (header.command_code==AUDCMD_SETBEEPPARAM) | |
PowerOnParam power_on_param | |
[in] for PowerOn (header.command_code==AUDCMD_POWERON) | |
AsSetThroughPathParam set_through_path | |
[in] for SetThrouhgPath (header.command_code==AUDCMD_SETTHROUGHPATH) | |
SetRenderingClkParam set_renderingclk_param | |
[in] for SetRenderingClk (header.command_code==AUDCMD_SETRENDERINGCLK) | |
InitSpDrvModeParam init_sp_drv_mode | |
[in] for InitSpDrvMode (header.command_code==AUDCMD_INITSPDRVMODE) | |
SetSpDrvModeParam set_sp_drv_mode | |
}; | |
Audio command packet
InitI2SParam init_i2s_param |
[in] for InitI2SParam (header.command_code==AUDCMD_INITI2SPARAM)
InitDNCParam init_dnc_param |
[in] for InitDNCParam (header.command_code==AUDCMD_INITDNCPARAM)
InitClearStereoParam init_clear_stereo_param |
[in] for InitClearStereo (header.command_code==AUDCMD_INITCLEARSTEREO)