Sonoma Wire Works Logo

Buffer Size

From Guide

Jump to: navigation, search

As ­­­­­­­­­audio ­­­­­­­­­is ­­­­­­­­­being ­­­­­­­­­recorded ­­­­­­­­­into ­­­­­­­­­the ­­­­­­­­­computer, ­­­­­­­­­it ­­­­­­­­­is ­­­­­­­­­received ­­­­­­­­­in ­­­­­­­­­chunks ­­­­­­­­­of­­­­­­­­­ information. ­­­­­­­­­A ­­­­­­­­­Buffer ­­­­­­­­­is ­­­­­­­­­essentially ­­­­­­­­­a ­­­­­­­­­bin ­­­­­­­­­that ­­­­­­­­­gets ­­­­­­­­­filled ­­­­­­­­­with ­­­­­­­­­audio ­­­­­­­­­information. ­­­­­­­­­When ­­­­­­­­­the ­­­­­­­­­Buffer ­­­­­­­­­is ­­­­­­­­­full, ­­­­­­­­­the ­­­­­­­­­audio ­­­­­­­­­is ­­­­­­­­­written ­­­­­­­­­to ­­­­­­­­­memory ­­­­­­­­­or ­­­­­­­­­to ­­­­­­­­­the­­­­­­­­­ hard ­­­­­­­­­drive. ­­­­­­­­­Then, ­­­­­­­­­it ­­­­­­­­­is ­­­­­­­­­filled ­­­­­­­­­again. ­­­­­­­­­The ­­­­­­­­­Buffer ­­­­­­­­­Size ­­­­­­­­­corresponds ­­­­­­­­­to ­­­­­­­­­how ­­­­­­­­­big­­­­­­­­­ the ­­­­­­­­­Buffer ­­­­­­­­­is. ­­­­­­­­­It ­­­­­­­­­is ­­­­­­­­­often ­­­­­­­­­measured ­­­­­­­­­in ­­­­­­­­­number ­­­­­­­­­of ­­­­­­­­­samples. ­­­­­­­­­Common ­­­­­­­­­Buffer­­­­­­­­­ Sizes ­­­­­­­­­are ­­­­­­­­­256, ­­­­­­­­­512, ­­­­­­­­­and­­­­­­­­­ 1024.­­­­­­­­­

The ­­­­­­­­­larger ­­­­­­­­­the ­­­­­­­­­Buffer, ­­­­­­­­­the ­­­­­­­­­more ­­­­­­­­­time ­­­­­­­­­it ­­­­­­­­­takes ­­­­­­­­­to ­­­­­­­­­fill ­­­­­­­­­it ­­­­­­­­­up. ­­­­­­­­­This ­­­­­­­­­means­­­­­­­­­ the ­­­­­­­­­audio ­­­­­­­­­is ­­­­­­­­­being ­­­­­­­­­written ­­­­­­­­­less ­­­­­­­­­often ­­­­­­­­­and ­­­­­­­­­CPU ­­­­­­­­­usage ­­­­­­­­­is ­­­­­­­­­reduced. ­­­­­­­­­However, ­­­­­­­­­monitoring ­­­­­­­­­latency ­­­­­­­­­increases ­­­­­­­­­as ­­­­­­­­­Buffer ­­­­­­­­­Size ­­­­­­­­­increases. ­­­­­­­­­To ­­­­­­­­­decrease­­­­­­­­­ monitoring ­­­­­­­­­latency, ­­­­­­­­­decrease ­­­­­­­­­Buffer ­­­­­­­­­Size. ­­­­­­­­­But ­­­­­­­­­a­­­­­­­­­ lower ­­­­­­­­­Buffer ­­­­­­­­­Size ­­­­­­­­­means­­­­­­­­­ more ­­­­­­­­­CPU ­­­­­­­­­usage. ­­­­­­­­­You ­­­­­­­­­must ­­­­­­­­­find ­­­­­­­­­a ­­­­­­­­­balance.­­­­­­­­­

More

Personal tools