From fee8852762ae69d3b5ffe321a4a2b18e34b69db1 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Thu, 3 Oct 2019 00:06:33 +0200 Subject: [PATCH] Ref T730, increase buffer size to avoid buffer issues (temp workaround) see https://discordapp.com/channels/539048679160676382/623947987822837779/628874110973247499 --- src/blacksound/sampleprovider/resourcesoundsampleprovider.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/blacksound/sampleprovider/resourcesoundsampleprovider.h b/src/blacksound/sampleprovider/resourcesoundsampleprovider.h index 8014bf941..031419edc 100644 --- a/src/blacksound/sampleprovider/resourcesoundsampleprovider.h +++ b/src/blacksound/sampleprovider/resourcesoundsampleprovider.h @@ -48,7 +48,8 @@ namespace BlackSound CResourceSound m_resourceSound; qint64 m_position = 0; - const int m_tempBufferSize = 9600; //9600 = 200ms + // const int m_tempBufferSize = 9600; //9600 = 200ms + const int m_tempBufferSize = 24000; //24000 = 500ms (avoid " QVector m_tempBuffer; bool m_isFinished = false; };