The only complication was that I had to add namespaces to TestAudioMixer.cpp and TestAudioSegment.cpp to avoid multiple definitions of a few small helper functions like GetLowValue().