Skip to content
Snippets Groups Projects
Commit f5ce0b2b authored by Cyrille Béraud's avatar Cyrille Béraud
Browse files

Revert "audio: buffer size"

This reverts commit e61092b3.

Change-Id: I0b92a092baa0818199ab5dea44d79337aa60791f
parent d07f3ef1
Branches
Tags
No related merge requests found
......@@ -37,12 +37,6 @@
namespace ring {
#ifdef __APPLE__
static const size_t BUFFER_SIZE = 16;
#else
static const size_t BUFFER_SIZE = 8;
#endif
/**
* A ring buffer for mutichannel audio samples
*/
......@@ -194,8 +188,7 @@ private:
/** Data */
AudioFormat format_ {AudioFormat::DEFAULT()};
std::vector<std::shared_ptr<AudioFrame>> buffer_ {BUFFER_SIZE};
std::vector<std::shared_ptr<AudioFrame>> buffer_ {16};
mutable std::mutex lock_;
mutable std::condition_variable not_empty_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment