Searched refs:prebuf (Results 1 – 2 of 2) sorted by relevance
661 uint32_t prebuf = 1; // 1 is prebuf of playback in ConnectRendererStreamToPA() local665 prebuf = 2; // 2 is double of normal, use more prebuf for dup stream in ConnectRendererStreamToPA()668 maxlength, prebuf); in ConnectRendererStreamToPA()671 … bufferAttr.prebuf = pa_usec_to_bytes(BUF_LENGTH_IN_MSEC * PA_USEC_PER_MSEC * prebuf, &sampleSpec); in ConnectRendererStreamToPA()
1200 uint32_t prebuf = 2; // 2 is prebuf of dup playback in UpdateMaxLength() local1203 maxlength, prebuf); in UpdateMaxLength()1209 …bufferAttr.prebuf = pa_usec_to_bytes(20 * PA_USEC_PER_MSEC * prebuf, sampleSpec); // 20 buf len in… in UpdateMaxLength()