Home
last modified time | relevance | path

Searched refs:AudioMixer (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libaudioprocessing/tests/
Dtest-mixer.cpp235 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/
DFastMixer.cpp183 vlf = vrf = AudioMixer::UNITY_GAIN_FLOAT; in updateMixerTrack()
189 mMixer->setParameter(index, AudioMixer::VOLUME, AudioMixer::VOLUME0, &vlf); in updateMixerTrack()
190 mMixer->setParameter(index, AudioMixer::VOLUME, AudioMixer::VOLUME1, &vrf); in updateMixerTrack()
192 mMixer->setParameter(index, AudioMixer::RESAMPLE, AudioMixer::REMOVE, nullptr); in updateMixerTrack()
193 mMixer->setParameter(index, AudioMixer::TRACK, AudioMixer::MAIN_BUFFER, in updateMixerTrack()
195 mMixer->setParameter(index, AudioMixer::TRACK, AudioMixer::MIXER_FORMAT, in updateMixerTrack()
197 mMixer->setParameter(index, AudioMixer::TRACK, AudioMixer::FORMAT, in updateMixerTrack()
199 mMixer->setParameter(index, AudioMixer::TRACK, AudioMixer::CHANNEL_MASK, in updateMixerTrack()
201 mMixer->setParameter(index, AudioMixer::TRACK, AudioMixer::MIXER_CHANNEL_MASK, in updateMixerTrack()
203 mMixer->setParameter(index, AudioMixer::TRACK, AudioMixer::HAPTIC_ENABLED, in updateMixerTrack()
[all …]
DFastMixer.h30 class AudioMixer; variable
78 AudioMixer* mMixer;
DThreads.cpp4467 mAudioMixer = new AudioMixer(mNormalFrameCount, mSampleRate); in MixerThread()
5249 int param = AudioMixer::VOLUME; in prepareTracks_l()
5257 param = AudioMixer::RAMP_VOLUME; in prepareTracks_l()
5260 mAudioMixer->setParameter(trackId, AudioMixer::RESAMPLE, AudioMixer::RESET, NULL); in prepareTracks_l()
5266 param = AudioMixer::RAMP_VOLUME; in prepareTracks_l()
5326 param = AudioMixer::VOLUME; in prepareTracks_l()
5335 param = AudioMixer::VOLUME; in prepareTracks_l()
5344 mAudioMixer->setParameter(trackId, param, AudioMixer::VOLUME0, &vlf); in prepareTracks_l()
5345 mAudioMixer->setParameter(trackId, param, AudioMixer::VOLUME1, &vrf); in prepareTracks_l()
5346 mAudioMixer->setParameter(trackId, param, AudioMixer::AUXLEVEL, &vaf); in prepareTracks_l()
[all …]
DAudioFlinger.h111 class AudioMixer; variable
419 ? AudioMixer::MAX_NUM_CHANNELS : FCC_2; in isValidPcmSinkChannelMask()
431 && channelCount <= AudioMixer::MAX_NUM_CHANNELS) { in isValidPcmSinkChannelMask()
DThreads.h1363 AudioMixer* mAudioMixer; // normal mixer
/frameworks/av/media/libaudioprocessing/
DAudioMixer.cpp66 bool AudioMixer::isValidChannelMask(audio_channel_mask_t channelMask) const { in isValidChannelMask()
73 bool AudioMixer::setChannelMasks(int name, in setChannelMasks()
142 void AudioMixer::Track::unprepareForDownmix() { in unprepareForDownmix()
161 status_t AudioMixer::Track::prepareForDownmix() in prepareForDownmix()
204 void AudioMixer::Track::unprepareForReformat() { in unprepareForReformat()
220 status_t AudioMixer::Track::prepareForReformat() in prepareForReformat()
259 void AudioMixer::Track::unprepareForAdjustChannels() in unprepareForAdjustChannels()
268 status_t AudioMixer::Track::prepareForAdjustChannels() in prepareForAdjustChannels()
281 void AudioMixer::Track::unprepareForAdjustChannelsNonDestructive() in unprepareForAdjustChannelsNonDestructive()
290 status_t AudioMixer::Track::prepareForAdjustChannelsNonDestructive(size_t frames) in prepareForAdjustChannelsNonDestructive()
[all …]
DAndroid.bp57 "AudioMixer.cpp",
DRecordBufferConverter.cpp177 mResampler->setVolume(AudioMixer::UNITY_GAIN_FLOAT, AudioMixer::UNITY_GAIN_FLOAT); in updateParameters()
/frameworks/av/media/libaudioprocessing/include/media/
DAudioMixer.h42 class AudioMixer : public AudioMixerBase
58 AudioMixer(size_t frameCount, uint32_t sampleRate) in AudioMixer() function