Better use max=2 and min=1 for safety

This commit is contained in:
raven02 2013-05-22 14:33:21 +08:00
parent 73311c746b
commit b76ee8f2ec

View file

@ -44,8 +44,8 @@ const int audioHostIntervalUs = (int)(1000000ULL * hostAttemptBlockSize / hwSamp
// High and low watermarks, basically. For perfect emulation, the correct values are 0 and 1, respectively.
// TODO: Tweak
const int chanQueueMaxSizeFactor = 1;
const int chanQueueMinSizeFactor = 0;
const int chanQueueMaxSizeFactor = 2;
const int chanQueueMinSizeFactor = 1
FixedSizeQueue<s16, hostAttemptBlockSize * 16> outAudioQueue;