1 Star 1 Fork 1

周新童/AVFilter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
audiofilter.h 676 Bytes
一键复制 编辑 原始数据 按行查看 历史
周新童 提交于 2023-07-14 17:53 . 音频滤镜-混音完成
#ifndef AUDIOFILTER_H
#define AUDIOFILTER_H
#include <QThread>
#include <QDebug>
#include "header.h"
#define IN_PCM_BUF_SIZE 8192
#define OUT_PCM_BUF_SIZE 40960
struct AudioParm
{
int sampleRate;
int channel;
int byteSize;
AVSampleFormat format;
std::string filePath;
};
class AudioFilter : public QThread
{
public:
AudioFilter();
~AudioFilter();
//运行状态
void setRunState(bool start);
//参数设置
void setAudioParm(AudioParm &parm1, AudioParm &parm2);
protected:
void run();
private:
volatile bool isRun;
//输入流信息
AudioParm parmIn1;
AudioParm parmIn2;
};
#endif // AUDIOFILTER_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhou_xintong/avfilter.git
[email protected]:zhou_xintong/avfilter.git
zhou_xintong
avfilter
AVFilter
master

搜索帮助