audio: fixup ifdefs for legacy VOIP compatibility

Change-Id: I75c8cb9e1e5937ffed0871f7407b4b219f053cb2