CXD5602 Audio Synthesizer API. More...
#include <stdint.h>
#include <stdbool.h>
#include "audio/audio_common_defs.h"
#include "audio/audio_object_common_api.h"
Go to the source code of this file.
Classes | |
struct | AsActivateSynthesizer |
union | AsSynthesizerDataDest |
struct | AsSynthesizerDataDest::__st_tunnel |
struct | AsInitSynthesizerParam |
struct | AsSetSynthesizer |
struct | AsSynthesizerMsgQueId_t |
struct | AsSynthesizerPoolId_t |
struct | AsCreateSynthesizerParam_t |
Typedefs | |
typedef bool(* | SynthesizerCallback) (AsSynthesizerEvent evtype, uint32_t result, void *param) |
typedef void(* | SynthesizerDoneCallback) (AsPcmDataParam param) |
Enumerations | |
enum | AsSynthesizerEvent { AsSynthesizerEventAct = 0 , AsSynthesizerEventInit , AsSynthesizerEventStart , AsSynthesizerEventStop , AsSynthesizerEventDeact , AsSynthesizerEventSet , AsSynthesizerEventNum } |
enum | AsSynthesizerWaveMode { InvalidWave = 0xffffffff , AsSynthesizerSinWave = 0 , AsSynthesizerRectWave , AsSynthesizerSawWave , AsSynthesizerWaveModeNum } |
enum | AsSynthesizerChannelNum { AsSynthesizerMaxChannelNum = 8 } |
enum | AsSynthesizerDataPath { AsSynthesizerDataPathCallback = 0 , AsSynthesizerDataPathMessage } |
Functions | |
bool | AS_CreateMediaSynthesizer (FAR AsCreateSynthesizerParam_t *param, AudioAttentionCb attcb) |
Create audio synthesizer. More... | |
__attribute__ ((deprecated("\n \ \n Deprecated create API is used. \ \n Use \"AS_CreateMediaSynthesizer(AsCreateSynthesizerParam_t, \ \n AudioAttentionCb)\". \ \n \ \n"))) bool AS_CreateMediaSynthesizer(FAR AsCreateSynthesizerParam_t *param) | |
bool | AS_ActivateMediaSynthesizer (FAR AsActivateSynthesizer *actparam) |
Activate audio synthesizer. More... | |
bool | AS_InitMediaSynthesizer (FAR AsInitSynthesizerParam *initparam) |
Init audio synthesizer. More... | |
bool | AS_StartMediaSynthesizer (void) |
Start audio synthesizer. More... | |
bool | AS_StopMediaSynthesizer (void) |
Stop audio synthesizer. More... | |
bool | AS_SetFrequencyMediaSynthesizer (FAR AsSetSynthesizer *set_param) |
Set audio synthesizer at frequency. More... | |
bool | AS_SetEnvelopeMediaSynthesizer (FAR AsSetSynthesizer *set_param) |
Set audio synthesizer at envelope. More... | |
bool | AS_SetMediaSynthesizer (FAR AsSetSynthesizer *set_param) |
Deactivate audio synthesizer. More... | |
bool | AS_DeactivateMediaSynthesizer (void) |
Deactivate audio synthesizer. More... | |
bool | AS_DeleteMediaSynthesizer (void) |
Deactivate audio synthesizer. More... | |
bool | AS_ReleaseMediaSynthesizer (bool is_end) |
Deactivate audio synthesizer. More... | |
CXD5602 Audio Synthesizer API.