Searched refs:AudioMixer (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/media/libaudioprocessing/tests/ |
D | test-mixer.cpp | 235 AudioMixer *mixer = new AudioMixer(mixerFrameCount, outputSampleRate); in main() 238 float f = AudioMixer::UNITY_GAIN_FLOAT / providers.size(); // normalize volume by # tracks in main() 252 mixer->setParameter(name, AudioMixer::TRACK, AudioMixer::MAIN_BUFFER, in main() 256 AudioMixer::TRACK, in main() 257 AudioMixer::MIXER_FORMAT, in main() 261 AudioMixer::TRACK, in main() 262 AudioMixer::FORMAT, in main() 266 AudioMixer::TRACK, in main() 267 AudioMixer::MIXER_CHANNEL_MASK, in main() 271 AudioMixer::TRACK, in main() [all …]
|
/frameworks/av/services/audioflinger/fastpath/ |
D | FastMixer.cpp | 159 vlf = vrf = AudioMixer::UNITY_GAIN_FLOAT; in updateMixerTrack() 165 mMixer->setParameter(index, AudioMixer::VOLUME, AudioMixer::VOLUME0, &vlf); in updateMixerTrack() 166 mMixer->setParameter(index, AudioMixer::VOLUME, AudioMixer::VOLUME1, &vrf); in updateMixerTrack() 168 mMixer->setParameter(index, AudioMixer::RESAMPLE, AudioMixer::REMOVE, nullptr); in updateMixerTrack() 169 mMixer->setParameter(index, AudioMixer::TRACK, AudioMixer::MAIN_BUFFER, in updateMixerTrack() 171 mMixer->setParameter(index, AudioMixer::TRACK, AudioMixer::MIXER_FORMAT, in updateMixerTrack() 173 mMixer->setParameter(index, AudioMixer::TRACK, AudioMixer::FORMAT, in updateMixerTrack() 175 mMixer->setParameter(index, AudioMixer::TRACK, AudioMixer::CHANNEL_MASK, in updateMixerTrack() 177 mMixer->setParameter(index, AudioMixer::TRACK, AudioMixer::MIXER_CHANNEL_MASK, in updateMixerTrack() 179 mMixer->setParameter(index, AudioMixer::TRACK, AudioMixer::HAPTIC_ENABLED, in updateMixerTrack() [all …]
|
D | FastMixer.h | 29 class AudioMixer; variable 76 AudioMixer* mMixer = nullptr;
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioMixer.cpp | 66 bool AudioMixer::isValidChannelMask(audio_channel_mask_t channelMask) const { in isValidChannelMask() 73 bool AudioMixer::setChannelMasks(int name, in setChannelMasks() 140 void AudioMixer::Track::unprepareForDownmix() { in unprepareForDownmix() 159 status_t AudioMixer::Track::prepareForDownmix() in prepareForDownmix() 220 void AudioMixer::Track::unprepareForReformat() { in unprepareForReformat() 236 status_t AudioMixer::Track::prepareForReformat() in prepareForReformat() 275 void AudioMixer::Track::unprepareForAdjustChannels() in unprepareForAdjustChannels() 284 status_t AudioMixer::Track::prepareForAdjustChannels(size_t frames) in prepareForAdjustChannels() 303 void AudioMixer::Track::unprepareForTee() { in unprepareForTee() 311 status_t AudioMixer::Track::prepareForTee() { in prepareForTee() [all …]
|
D | Android.bp | 58 "AudioMixer.cpp",
|
D | RecordBufferConverter.cpp | 177 mResampler->setVolume(AudioMixer::UNITY_GAIN_FLOAT, AudioMixer::UNITY_GAIN_FLOAT); in updateParameters()
|
/frameworks/av/media/libaudioprocessing/include/media/ |
D | AudioMixer.h | 42 class AudioMixer : public AudioMixerBase 59 AudioMixer(size_t frameCount, uint32_t sampleRate) in AudioMixer() function
|
/frameworks/av/services/audioflinger/ |
D | Threads.cpp | 5098 mAudioMixer = new AudioMixer(mNormalFrameCount, mSampleRate); in MixerThread() 5922 int param = AudioMixer::VOLUME; in prepareTracks_l() 5930 param = AudioMixer::RAMP_VOLUME; in prepareTracks_l() 5933 mAudioMixer->setParameter(trackId, AudioMixer::RESAMPLE, AudioMixer::RESET, NULL); in prepareTracks_l() 5939 param = AudioMixer::RAMP_VOLUME; in prepareTracks_l() 6013 param = AudioMixer::VOLUME; in prepareTracks_l() 6022 param = AudioMixer::VOLUME; in prepareTracks_l() 6031 mAudioMixer->setParameter(trackId, param, AudioMixer::VOLUME0, &vlf); in prepareTracks_l() 6032 mAudioMixer->setParameter(trackId, param, AudioMixer::VOLUME1, &vrf); in prepareTracks_l() 6033 mAudioMixer->setParameter(trackId, param, AudioMixer::AUXLEVEL, &vaf); in prepareTracks_l() [all …]
|
D | Threads.h | 1642 AudioMixer* mAudioMixer; // normal mixer
|