Commit ee2dd41a authored by Philippe Gorley's avatar Philippe Gorley Committed by Philippe Gorley

audio_input: unbind default buffer from file buffer

Change-Id: Iccf2b2234ecc17e8ef3c4cb2f144648aee8bbc45
parent 505ae0d7
...@@ -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;
......
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