#include "MediaServerAdec.hpp"
◆ MediaServerAdecChn()
| Emx::MediaServerAdecChn::MediaServerAdecChn |
( |
int32_t |
chn | ) |
|
|
inlineexplicit |
◆ ~MediaServerAdecChn()
| Emx::MediaServerAdecChn::~MediaServerAdecChn |
( |
| ) |
|
|
overridedefault |
◆ LoadParam()
| ErrCodeE Emx::MediaServerAdecChn::LoadParam |
( |
| ) |
|
|
overridevirtual |
◆ SaveParam()
| ErrCodeE Emx::MediaServerAdecChn::SaveParam |
( |
| ) |
|
|
overridevirtual |
◆ GetParam()
| void* Emx::MediaServerAdecChn::GetParam |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetNewParam()
| void* Emx::MediaServerAdecChn::GetNewParam |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetRunningParam()
| void* Emx::MediaServerAdecChn::GetRunningParam |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetParamSize()
| int Emx::MediaServerAdecChn::GetParamSize |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetParamDefaultData()
| ErrCodeE Emx::MediaServerAdecChn::GetParamDefaultData |
( |
std::string & |
data | ) |
|
|
overridevirtual |
◆ ParamValid()
| bool Emx::MediaServerAdecChn::ParamValid |
( |
| ) |
|
|
overridevirtual |
◆ OnRecvReqChn()
| ErrCodeE Emx::MediaServerAdecChn::OnRecvReqChn |
( |
uint32_t |
method, |
|
|
const char * |
data, |
|
|
int32_t |
size, |
|
|
std::string & |
out |
|
) |
| |
|
overridevirtual |
◆ SetVolumeTemp()
| ErrCodeE Emx::MediaServerAdecChn::SetVolumeTemp |
( |
int32_t |
volume | ) |
|
|
inlineoverridevirtual |
◆ OnServerCreate()
| ErrCodeE Emx::MediaServerAdecChn::OnServerCreate |
( |
| ) |
|
|
overridevirtual |
◆ OnServerDestroy()
| void Emx::MediaServerAdecChn::OnServerDestroy |
( |
| ) |
|
|
overridevirtual |
◆ SendToAo()
| virtual void Emx::MediaServerAdecChn::SendToAo |
( |
const int16_t * |
pcm, |
|
|
int32_t |
pktNum |
|
) |
| |
|
protectedpure virtual |
- 参数
-
| pcm | [in] 16bit pcm原始数据指针 |
| pktNum | [in] pcm采样数,注意不是数据字节数 |
◆ ClearAoBuffer()
| virtual void Emx::MediaServerAdecChn::ClearAoBuffer |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ PadSilentPcm()
| virtual void Emx::MediaServerAdecChn::PadSilentPcm |
( |
| ) |
|
|
protectedvirtual |
◆ OnGetMsg()
| void Emx::MediaServerAdecChn::OnGetMsg |
( |
uint32_t |
topic, |
|
|
const char * |
data, |
|
|
int32_t |
size |
|
) |
| |
|
protected |
◆ RunPlayWork()
| void Emx::MediaServerAdecChn::RunPlayWork |
( |
| ) |
|
|
protected |
◆ PlayFile()
| void Emx::MediaServerAdecChn::PlayFile |
( |
void * |
arg | ) |
|
|
protected |
◆ PlayFileDone()
| void Emx::MediaServerAdecChn::PlayFileDone |
( |
ErrCodeE |
e, |
|
|
void * |
arg |
|
) |
| |
|
protected |
◆ SpkEna()
| void Emx::MediaServerAdecChn::SpkEna |
( |
bool |
ena | ) |
|
|
protected |
◆ SendToChipAo()
| void Emx::MediaServerAdecChn::SendToChipAo |
( |
const int16_t * |
pcm, |
|
|
int32_t |
pktNum |
|
) |
| |
|
protected |
- 参数
-
| pcm | [in] 16bit pcm原始数据指针 |
| pktNum | [in] pcm采样数,注意不是数据字节数 |
◆ m_param
| Param Emx::MediaServerAdecChn::m_param |
|
protected |
◆ m_paramNew
| Param Emx::MediaServerAdecChn::m_paramNew |
|
protected |
◆ m_paramRunning
| Param Emx::MediaServerAdecChn::m_paramRunning |
|
protected |
◆ m_silentTimeMs
| uint32_t Emx::MediaServerAdecChn::m_silentTimeMs = 500 |
|
protected |
◆ m_delayPlayMs
| uint32_t Emx::MediaServerAdecChn::m_delayPlayMs = 0 |
|
protected |