mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 20:31:29 +02:00
make default ring buffer much larger
This commit is contained in:
parent
1d390faad8
commit
cdbda02765
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ const int NETWORK_BUFFER_LENGTH_SAMPLES_PER_CHANNEL = NETWORK_BUFFER_LENGTH_BYTE
|
||||||
const unsigned int BUFFER_SEND_INTERVAL_USECS = floorf((NETWORK_BUFFER_LENGTH_SAMPLES_PER_CHANNEL
|
const unsigned int BUFFER_SEND_INTERVAL_USECS = floorf((NETWORK_BUFFER_LENGTH_SAMPLES_PER_CHANNEL
|
||||||
/ (float) SAMPLE_RATE) * 1000 * 1000);
|
/ (float) SAMPLE_RATE) * 1000 * 1000);
|
||||||
|
|
||||||
const short RING_BUFFER_LENGTH_FRAMES = 10;
|
const short RING_BUFFER_LENGTH_FRAMES = 100;
|
||||||
|
|
||||||
const int MAX_SAMPLE_VALUE = std::numeric_limits<int16_t>::max();
|
const int MAX_SAMPLE_VALUE = std::numeric_limits<int16_t>::max();
|
||||||
const int MIN_SAMPLE_VALUE = std::numeric_limits<int16_t>::min();
|
const int MIN_SAMPLE_VALUE = std::numeric_limits<int16_t>::min();
|
||||||
|
|
Loading…
Reference in a new issue