diff options
-rw-r--r-- | audio/paaudio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/paaudio.c b/audio/paaudio.c index fa9dd9efd4..5fc886bb33 100644 --- a/audio/paaudio.c +++ b/audio/paaudio.c @@ -618,7 +618,7 @@ static int qpa_init_in(HWVoiceIn *hw, struct audsettings *as, void *drv_opaque) ss.rate = as->freq; ba.fragsize = pa_usec_to_bytes(ppdo->latency, &ss); - ba.maxlength = -1; + ba.maxlength = pa_usec_to_bytes(ppdo->latency * 2, &ss); ba.minreq = -1; ba.prebuf = -1; |