Searched refs:AudioMixer (Results 1 – 11 of 11) sorted by relevance
/frameworks/av/services/audioflinger/tests/ |
D | test-mixer.cpp | 146 if ((unsigned)argc > AudioMixer::MAX_NUM_TRACKS) { in main() 147 fprintf(stderr, "too many tracks: %d > %u", argc, AudioMixer::MAX_NUM_TRACKS); in main() 239 AudioMixer *mixer = new AudioMixer(mixerFrameCount, outputSampleRate); in main() 242 float f = AudioMixer::UNITY_GAIN_FLOAT / providers.size(); // normalize volume by # tracks in main() 254 mixer->setParameter(name, AudioMixer::TRACK, AudioMixer::MAIN_BUFFER, in main() 258 AudioMixer::TRACK, in main() 259 AudioMixer::MIXER_FORMAT, in main() 263 AudioMixer::TRACK, in main() 264 AudioMixer::FORMAT, in main() 268 AudioMixer::TRACK, in main() [all …]
|
D | Android.mk | 37 ../AudioMixer.cpp.arm \
|
/frameworks/av/services/audioflinger/ |
D | FastMixer.cpp | 165 LOG_ALWAYS_FATAL_IF(mSinkChannelCount > AudioMixer::MAX_NUM_CHANNELS); in onStateChange() 190 mMixer = new AudioMixer(frameCount, mSampleRate, FastMixerState::sMaxFastTracks); in onStateChange() 269 mMixer->setParameter(name, AudioMixer::TRACK, AudioMixer::MAIN_BUFFER, in onStateChange() 274 AudioMixer::TRACK, in onStateChange() 275 AudioMixer::MIXER_FORMAT, (void *)mMixerBufferFormat); in onStateChange() 276 mMixer->setParameter(name, AudioMixer::TRACK, AudioMixer::FORMAT, in onStateChange() 278 mMixer->setParameter(name, AudioMixer::TRACK, AudioMixer::CHANNEL_MASK, in onStateChange() 280 mMixer->setParameter(name, AudioMixer::TRACK, AudioMixer::MIXER_CHANNEL_MASK, in onStateChange() 303 float f = AudioMixer::UNITY_GAIN_FLOAT; in onStateChange() 304 mMixer->setParameter(name, AudioMixer::VOLUME, AudioMixer::VOLUME0, &f); in onStateChange() [all …]
|
D | AudioMixer.cpp | 101 AudioMixer::AudioMixer(size_t frameCount, uint32_t sampleRate, uint32_t maxNumTracks) in AudioMixer() function in android::AudioMixer 136 AudioMixer::~AudioMixer() in ~AudioMixer() 150 void AudioMixer::setLog(NBLog::Writer *log) in setLog() 159 int AudioMixer::getTrackName(audio_channel_mask_t channelMask, in getTrackName() 247 void AudioMixer::invalidateState(uint32_t mask) in invalidateState() 258 bool AudioMixer::setChannelMasks(int name, in setChannelMasks() 303 void AudioMixer::track_t::unprepareForDownmix() { in unprepareForDownmix() 318 status_t AudioMixer::track_t::prepareForDownmix() in prepareForDownmix() 359 void AudioMixer::track_t::unprepareForReformat() { in unprepareForReformat() 377 status_t AudioMixer::track_t::prepareForReformat() in prepareForReformat() [all …]
|
D | AudioMixer.h | 36 #define MAX_GAIN_INT AudioMixer::UNITY_GAIN_INT 42 class AudioMixer 45 AudioMixer(size_t frameCount, uint32_t sampleRate, 48 /*virtual*/ ~AudioMixer(); // non-virtual saves a v-table, restore if sub-classed 353 const TI *in, TA *aux, bool ramp, AudioMixer::track_t *t);
|
D | FastMixer.h | 28 class AudioMixer; variable 66 AudioMixer* mMixer;
|
D | Threads.cpp | 3446 mAudioMixer = new AudioMixer(mNormalFrameCount, mSampleRate); in MixerThread() 4062 if (AudioMixer::TRACK0 <= name && in prepareTracks_l() 4063 name < (int) (AudioMixer::TRACK0 + AudioMixer::MAX_NUM_TRACKS)) { in prepareTracks_l() 4064 name -= AudioMixer::TRACK0; in prepareTracks_l() 4101 int param = AudioMixer::VOLUME; in prepareTracks_l() 4107 param = AudioMixer::RAMP_VOLUME; in prepareTracks_l() 4109 mAudioMixer->setParameter(name, AudioMixer::RESAMPLE, AudioMixer::RESET, NULL); in prepareTracks_l() 4114 param = AudioMixer::RAMP_VOLUME; in prepareTracks_l() 4166 param = AudioMixer::VOLUME; in prepareTracks_l() 4175 param = AudioMixer::VOLUME; in prepareTracks_l() [all …]
|
D | Android.mk | 29 AudioMixer.cpp.arm \
|
D | AudioFlinger.h | 71 class AudioMixer; variable 356 || channelCount > AudioMixer::MAX_NUM_CHANNELS) { in isValidPcmSinkChannelMask() 367 && channelCount <= AudioMixer::MAX_NUM_CHANNELS) { in isValidPcmSinkChannelMask()
|
D | Tracks.cpp | 473 } else if (mName >= AudioMixer::TRACK0) { in dump() 474 sprintf(buffer, " %4d", mName - AudioMixer::TRACK0); in dump()
|
D | Threads.h | 900 AudioMixer* mAudioMixer; // normal mixer
|