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

audio_input: unbind default buffer from file buffer

Change-Id: Iccf2b2234ecc17e8ef3c4cb2f144648aee8bbc45
parent 505ae0d7
Branches
No related tags found
No related merge requests found
...@@ -187,6 +187,7 @@ AudioInput::switchInput(const std::string& resource) ...@@ -187,6 +187,7 @@ AudioInput::switchInput(const std::string& resource)
decoder_.reset(); decoder_.reset();
decodingFile_ = false; decodingFile_ = false;
Manager::instance().getRingBufferPool().unBindHalfDuplexOut(id_, fileId_); Manager::instance().getRingBufferPool().unBindHalfDuplexOut(id_, fileId_);
Manager::instance().getRingBufferPool().unBindHalfDuplexOut(RingBufferPool::DEFAULT_ID, fileId_);
fileBuf_.reset(); fileBuf_.reset();
currentResource_ = resource; currentResource_ = resource;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment