From be9c1d1f659b0ff31f656424c478e83a4f7c53b5 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期五, 20 九月 2019 11:44:19 +0800 Subject: [PATCH] update ffmpeg --- csrc/worker/rec.hpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/csrc/worker/rec.hpp b/csrc/worker/rec.hpp index c489676..5ac00a9 100644 --- a/csrc/worker/rec.hpp +++ b/csrc/worker/rec.hpp @@ -53,11 +53,11 @@ // 涓㈠純缂撳瓨 int shrinkCache(); // 鍒涘缓褰曞儚瀹炰緥寮�濮嬪綍鍍� - std::unique_ptr<buz::Recorder> startRec(std::string id, std::string dir, const int mind, const int maxd); + std::unique_ptr<buz::Recorder> startRec(std::string id, std::string dir, const int mind, const int maxd, const bool audio); // 娓呴櫎缂撳瓨,鏂嚎閲嶈繛鏃堕渶瑕� void clear(); public: - void NewRec(const char* id, const char *output, const int mindur, const int maxdur); + void NewRec(const char* id, const char *output, const int mindur, const int maxdur, const bool audio); // 鍑嗗濂藉綍鍍� void Load(ffwrapper::FormatIn *in); -- Gitblit v1.8.0