Skip to content
Snippets Groups Projects
Commit ecbb8f6d authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#1731] Enlarge audio stream buffer size

parent 9130109e
No related branches found
No related tags found
No related merge requests found
...@@ -127,7 +127,7 @@ AudioStream::createStream( pa_context* c ) ...@@ -127,7 +127,7 @@ AudioStream::createStream( pa_context* c )
assert( s ); assert( s );
if( _streamType == PLAYBACK_STREAM ){ if( _streamType == PLAYBACK_STREAM ){
attributes->maxlength = 20000; attributes->maxlength = 60000;
attributes->tlength = 4096; attributes->tlength = 4096;
attributes->prebuf = 4096; attributes->prebuf = 4096;
attributes->minreq = 940; attributes->minreq = 940;
...@@ -140,7 +140,7 @@ AudioStream::createStream( pa_context* c ) ...@@ -140,7 +140,7 @@ AudioStream::createStream( pa_context* c )
// attributes->maxlength = 66500; // attributes->maxlength = 66500;
// attributes->fragsize = (uint32_t)-1; // attributes->fragsize = (uint32_t)-1;
attributes->maxlength = 20000; attributes->maxlength = 60000;
attributes->tlength = 4096; attributes->tlength = 4096;
attributes->prebuf = 4096; attributes->prebuf = 4096;
attributes->minreq = 940; attributes->minreq = 940;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment