highfidelity/hifi — pull request #3368 by chansensturm (2014-09-06 10:00:54+00:00)
Title: New Audio Buffer, Format, Tone Generator, Pink Noise Generator, and Gain objects

New audio buffer and audio format objects added.
New tone generator and pink noise generator source objects added.
New gain(+mute) object added.
Interface client rendering loop is now in the process of being "decomposed" to use these objects (as well as future processor objects). At the head of the loop, we now apply a gain to the mic/source input, optionally inject either pink noise or sine samples, apply a gain to injected audio, and finally optionally apply our 3-band PEQ. There is a buffer copy at the beginning and end of this new processing section, but zero copies between the objects within. Floating point sample data used throughout.