[interface] 语音接口 提供录音功能,和录音事件 更多...
#include <yy-api-client.h>
Public 成员函数 | |
virtual int | StartRecord (const char *file_name)=0 |
开始录音 | |
virtual int | StopRecord ()=0 |
停止录音 | |
virtual int | RegisterAudioEvent (IAudioEvent *e)=0 |
注册音频设备更改回调 | |
virtual int | UnRegisterAudioEvent (IAudioEvent *e)=0 |
反注册IAudioDeviceChangedEvent | |
virtual int | OpenKaraoke ()=0 |
打开卡拉ok效果 | |
virtual int | CloseKaraoke ()=0 |
关闭卡拉ok效果 | |
virtual int | EnableAudioMixing ()=0 |
开启混响 | |
virtual int | DisableAudioMixing ()=0 |
关闭混响 | |
virtual int | SetKaraokePlayerPath (const char *player_path, char *origin_player_path, unsigned int &origin_player_path_size, bool &origin_software_mix_enable)=0 |
设置卡拉ok播放器路径 | |
virtual int | ResetKaraokePlayerPath (const char *player_path, bool software_mix_enable)=0 |
恢复卡拉ok播放器路径 | |
[interface] 语音接口 提供录音功能,和录音事件
|
pure virtual |
关闭卡拉ok效果
|
pure virtual |
关闭混响
|
pure virtual |
开启混响
|
pure virtual |
打开卡拉ok效果
|
pure virtual |
|
pure virtual |
设置卡拉ok播放器路径
const | char player_path [in], 播放器路径 |
char</em> | origin_player_path [in][out], 前一次设置的播放器路径 |
char* | origin_player_path_size [in][out], 前一次设置的播放器路径的长度 |
char* | origin_software_mix_enable , 前一次是否开启了混音 |
|
pure virtual |
开始录音
const | char *file_name [in],录音保存文件名 |
|
pure virtual |
停止录音
|
pure virtual |
反注册IAudioDeviceChangedEvent