Skip to content
Snippets Groups Projects
Commit 43aa465f authored by Philippe Gorley's avatar Philippe Gorley
Browse files

audio_input: add check if capturing

Can be used to call setInterruptCallback on encoders or decoders.

Change-Id: I7b17aa93f211936f67ca237e5fea3f266ae6ca83
parent d36d4d6e
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment