Commit 43aa465f authored by Philippe Gorley's avatar Philippe Gorley

audio_input: add check if capturing

Can be used to call setInterruptCallback on encoders or decoders.

Change-Id: I7b17aa93f211936f67ca237e5fea3f266ae6ca83
parent d36d4d6e
......@@ -43,6 +43,7 @@ public:
std::shared_future<DeviceParams> switchInput(const std::string& resource);
bool isCapturing() const { return loop_.isRunning(); }
void setFormat(const AudioFormat& fmt);
void setMuted(bool isMuted);
void initRecorder(const std::shared_ptr<MediaRecorder>& rec);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment