Lines Matching refs:mMixer
58 mMixer(NULL), in FastMixer()
121 delete mMixer; in onExit()
149 if (mMixer == nullptr) { in updateMixerTrack()
155 mMixer->destroy(index); in updateMixerTrack()
158 const status_t status = mMixer->create( in updateMixerTrack()
167 mMixer->setBufferProvider(index, fastTrack->mBufferProvider); in updateMixerTrack()
181 mMixer->setParameter(index, AudioMixer::VOLUME, AudioMixer::VOLUME0, &vlf); in updateMixerTrack()
182 mMixer->setParameter(index, AudioMixer::VOLUME, AudioMixer::VOLUME1, &vrf); in updateMixerTrack()
184 mMixer->setParameter(index, AudioMixer::RESAMPLE, AudioMixer::REMOVE, nullptr); in updateMixerTrack()
185 mMixer->setParameter(index, AudioMixer::TRACK, AudioMixer::MAIN_BUFFER, in updateMixerTrack()
187 mMixer->setParameter(index, AudioMixer::TRACK, AudioMixer::MIXER_FORMAT, in updateMixerTrack()
189 mMixer->setParameter(index, AudioMixer::TRACK, AudioMixer::FORMAT, in updateMixerTrack()
191 mMixer->setParameter(index, AudioMixer::TRACK, AudioMixer::CHANNEL_MASK, in updateMixerTrack()
193 mMixer->setParameter(index, AudioMixer::TRACK, AudioMixer::MIXER_CHANNEL_MASK, in updateMixerTrack()
195 mMixer->setParameter(index, AudioMixer::TRACK, AudioMixer::HAPTIC_ENABLED, in updateMixerTrack()
197 mMixer->setParameter(index, AudioMixer::TRACK, AudioMixer::HAPTIC_INTENSITY, in updateMixerTrack()
200 mMixer->enable(index); in updateMixerTrack()
252 delete mMixer; in onStateChange()
253 mMixer = NULL; in onStateChange()
262 mMixer = new AudioMixer(frameCount, mSampleRate); in onStateChange()
366 if ((command & FastMixerState::MIX) && (mMixer != NULL) && mIsWarm) { in onWork()
404 mMixer->setParameter(name, AudioMixer::RAMP_VOLUME, AudioMixer::VOLUME0, &vlf); in onWork()
405 mMixer->setParameter(name, AudioMixer::RAMP_VOLUME, AudioMixer::VOLUME1, &vrf); in onWork()
426 mMixer->disable(name); in onWork()
431 mMixer->enable(name); in onWork()
437 mMixer->enable(name); in onWork()
447 mMixer->process(); in onWork()