Ticket #394: Reduce PJMEDIA_SOUND_BUFFER_COUNT default setting from 16 to 6 to reduce audio latency
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1483 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
parent
cf0b4b22d4
commit
3303d0b2d0
|
@ -84,7 +84,7 @@
|
|||
|
||||
/**
|
||||
* Specify number of sound buffers. Larger number is better for sound
|
||||
* stability and to accomodate sound devices that are unable to send frames
|
||||
* stability and to accommodate sound devices that are unable to send frames
|
||||
* in timely manner, however it would probably cause more audio delay (and
|
||||
* definitely will take more memory). One individual buffer is normally 10ms
|
||||
* or 20 ms long, depending on ptime settings (samples_per_frame value).
|
||||
|
@ -92,10 +92,10 @@
|
|||
* The setting here currently is used by the conference bridge, the splitter
|
||||
* combiner port, and dsound.c.
|
||||
*
|
||||
* Default: 16
|
||||
* Default: 6
|
||||
*/
|
||||
#ifndef PJMEDIA_SOUND_BUFFER_COUNT
|
||||
# define PJMEDIA_SOUND_BUFFER_COUNT 16
|
||||
# define PJMEDIA_SOUND_BUFFER_COUNT 6
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue