#include "dev_audio_pipe.h"
浏览该文件的源代码.
◆ _AUDIO_CTL
◆ AUDIO_CTL_GETCAPS
◆ AUDIO_CTL_CONFIGURE
◆ AUDIO_CTL_START
◆ AUDIO_CTL_STOP
◆ AUDIO_CTL_GETBUFFERINFO
◆ AUDIO_TYPE_QUERY
#define AUDIO_TYPE_QUERY 0x00 |
◆ AUDIO_TYPE_INPUT
#define AUDIO_TYPE_INPUT 0x01 |
◆ AUDIO_TYPE_OUTPUT
#define AUDIO_TYPE_OUTPUT 0x02 |
◆ AUDIO_TYPE_MIXER
#define AUDIO_TYPE_MIXER 0x04 |
◆ AUDIO_SAMP_RATE_8K
#define AUDIO_SAMP_RATE_8K 0x0001 |
◆ AUDIO_SAMP_RATE_11K
#define AUDIO_SAMP_RATE_11K 0x0002 |
◆ AUDIO_SAMP_RATE_16K
#define AUDIO_SAMP_RATE_16K 0x0004 |
◆ AUDIO_SAMP_RATE_22K
#define AUDIO_SAMP_RATE_22K 0x0008 |
◆ AUDIO_SAMP_RATE_32K
#define AUDIO_SAMP_RATE_32K 0x0010 |
◆ AUDIO_SAMP_RATE_44K
#define AUDIO_SAMP_RATE_44K 0x0020 |
◆ AUDIO_SAMP_RATE_48K
#define AUDIO_SAMP_RATE_48K 0x0040 |
◆ AUDIO_SAMP_RATE_96K
#define AUDIO_SAMP_RATE_96K 0x0080 |
◆ AUDIO_SAMP_RATE_128K
#define AUDIO_SAMP_RATE_128K 0x0100 |
◆ AUDIO_SAMP_RATE_160K
#define AUDIO_SAMP_RATE_160K 0x0200 |
◆ AUDIO_SAMP_RATE_172K
#define AUDIO_SAMP_RATE_172K 0x0400 |
◆ AUDIO_SAMP_RATE_192K
#define AUDIO_SAMP_RATE_192K 0x0800 |
◆ AUDIO_BIT_RATE_22K
#define AUDIO_BIT_RATE_22K 0x01 |
◆ AUDIO_BIT_RATE_44K
#define AUDIO_BIT_RATE_44K 0x02 |
◆ AUDIO_BIT_RATE_48K
#define AUDIO_BIT_RATE_48K 0x04 |
◆ AUDIO_BIT_RATE_96K
#define AUDIO_BIT_RATE_96K 0x08 |
◆ AUDIO_BIT_RATE_128K
#define AUDIO_BIT_RATE_128K 0x10 |
◆ AUDIO_BIT_RATE_160K
#define AUDIO_BIT_RATE_160K 0x20 |
◆ AUDIO_BIT_RATE_172K
#define AUDIO_BIT_RATE_172K 0x40 |
◆ AUDIO_BIT_RATE_192K
#define AUDIO_BIT_RATE_192K 0x80 |
◆ AUDIO_DSP_PARAM
#define AUDIO_DSP_PARAM 0 /* get/set all params */ |
◆ AUDIO_DSP_SAMPLERATE
#define AUDIO_DSP_SAMPLERATE 1 /* samplerate */ |
◆ AUDIO_DSP_CHANNELS
#define AUDIO_DSP_CHANNELS 2 /* channels */ |
◆ AUDIO_DSP_SAMPLEBITS
#define AUDIO_DSP_SAMPLEBITS 3 /* sample bits width */ |
◆ AUDIO_MIXER_QUERY
#define AUDIO_MIXER_QUERY 0x0000 |
◆ AUDIO_MIXER_MUTE
#define AUDIO_MIXER_MUTE 0x0001 |
◆ AUDIO_MIXER_VOLUME
#define AUDIO_MIXER_VOLUME 0x0002 |
◆ AUDIO_MIXER_BASS
#define AUDIO_MIXER_BASS 0x0004 |
◆ AUDIO_MIXER_MID
#define AUDIO_MIXER_MID 0x0008 |
◆ AUDIO_MIXER_TREBLE
#define AUDIO_MIXER_TREBLE 0x0010 |
◆ AUDIO_MIXER_EQUALIZER
#define AUDIO_MIXER_EQUALIZER 0x0020 |
◆ AUDIO_MIXER_LINE
#define AUDIO_MIXER_LINE 0x0040 |
◆ AUDIO_MIXER_DIGITAL
#define AUDIO_MIXER_DIGITAL 0x0080 |
◆ AUDIO_MIXER_MIC
#define AUDIO_MIXER_MIC 0x0100 |
◆ AUDIO_MIXER_VITURAL
#define AUDIO_MIXER_VITURAL 0x0200 |
◆ AUDIO_MIXER_EXTEND
#define AUDIO_MIXER_EXTEND 0x8000 /* extend mixer command */ |
◆ AUDIO_VOLUME_MAX
#define AUDIO_VOLUME_MAX (100) |
◆ AUDIO_VOLUME_MIN
#define AUDIO_VOLUME_MIN (0) |
◆ CFG_AUDIO_REPLAY_QUEUE_COUNT
#define CFG_AUDIO_REPLAY_QUEUE_COUNT 4 |
◆ CODEC_CMD_RESET
#define CODEC_CMD_RESET 0 |
◆ CODEC_CMD_SET_VOLUME
#define CODEC_CMD_SET_VOLUME 1 |
◆ CODEC_CMD_GET_VOLUME
#define CODEC_CMD_GET_VOLUME 2 |
◆ CODEC_CMD_SAMPLERATE
#define CODEC_CMD_SAMPLERATE 3 |
◆ CODEC_CMD_EQ
◆ CODEC_CMD_3D
◆ CODEC_VOLUME_MAX
#define CODEC_VOLUME_MAX (63) |
◆ anonymous enum
枚举值 |
---|
AUDIO_STREAM_REPLAY | 0 | |
AUDIO_STREAM_RECORD | | |
AUDIO_STREAM_LAST | AUDIO_STREAM_RECORD | |
在文件 dev_audio.h 第 82 行定义.
◆ rt_audio_register()
◆ rt_audio_tx_complete()
◆ rt_audio_rx_done()