Lines Matching refs:AudioMixer
40 #include "AudioMixer.h"
161 LOG_ALWAYS_FATAL_IF(mSinkChannelCount > AudioMixer::MAX_NUM_CHANNELS);
182 mixer = new AudioMixer(frameCount, sampleRate, FastMixerState::kMaxFastTracks);
259 mixer->setParameter(name, AudioMixer::TRACK, AudioMixer::MAIN_BUFFER,
264 AudioMixer::TRACK,
265 AudioMixer::MIXER_FORMAT, (void *)mMixerBufferFormat);
266 mixer->setParameter(name, AudioMixer::TRACK, AudioMixer::FORMAT,
268 mixer->setParameter(name, AudioMixer::TRACK, AudioMixer::CHANNEL_MASK,
270 mixer->setParameter(name, AudioMixer::TRACK, AudioMixer::MIXER_CHANNEL_MASK,
293 float f = AudioMixer::UNITY_GAIN_FLOAT;
294 mixer->setParameter(name, AudioMixer::VOLUME, AudioMixer::VOLUME0, &f);
295 mixer->setParameter(name, AudioMixer::VOLUME, AudioMixer::VOLUME1, &f);
297 mixer->setParameter(name, AudioMixer::RESAMPLE,
298 AudioMixer::REMOVE, NULL);
301 AudioMixer::TRACK,
302 AudioMixer::MIXER_FORMAT, (void *)mMixerBufferFormat);
303 mixer->setParameter(name, AudioMixer::TRACK, AudioMixer::FORMAT,
305 mixer->setParameter(name, AudioMixer::TRACK, AudioMixer::CHANNEL_MASK,
307 mixer->setParameter(name, AudioMixer::TRACK, AudioMixer::MIXER_CHANNEL_MASK,
360 mixer->setParameter(name, AudioMixer::VOLUME, AudioMixer::VOLUME0, &vlf);
361 mixer->setParameter(name, AudioMixer::VOLUME, AudioMixer::VOLUME1, &vrf);