Change audio buffer duration back to 80 ms for now

This commit is contained in:
Cameron Gutman
2019-12-04 18:58:36 -08:00
parent 61c18c201c
commit b71f06aa04

View File

@@ -33,7 +33,10 @@ static id<ConnectionCallbacks> _callbacks;
#define OUTPUT_BUS 0
#define CIRCULAR_BUFFER_DURATION 60
// My iPod touch 5th Generation seems to really require 80 ms
// of buffering to deliver glitch-free playback :(
// FIXME: Maybe we can use a smaller buffer on more modern iOS versions?
#define CIRCULAR_BUFFER_DURATION 80
static int audioBufferEntries;
static int audioBufferWriteIndex;