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 | 35 ../AudioMixer.cpp.arm \
|
/frameworks/av/services/audioflinger/ |
D | FastMixer.cpp | 162 LOG_ALWAYS_FATAL_IF(mSinkChannelCount > AudioMixer::MAX_NUM_CHANNELS); in onStateChange() 187 mMixer = new AudioMixer(frameCount, mSampleRate, FastMixerState::kMaxFastTracks); in onStateChange() 266 mMixer->setParameter(name, AudioMixer::TRACK, AudioMixer::MAIN_BUFFER, in onStateChange() 271 AudioMixer::TRACK, in onStateChange() 272 AudioMixer::MIXER_FORMAT, (void *)mMixerBufferFormat); in onStateChange() 273 mMixer->setParameter(name, AudioMixer::TRACK, AudioMixer::FORMAT, in onStateChange() 275 mMixer->setParameter(name, AudioMixer::TRACK, AudioMixer::CHANNEL_MASK, in onStateChange() 277 mMixer->setParameter(name, AudioMixer::TRACK, AudioMixer::MIXER_CHANNEL_MASK, in onStateChange() 300 float f = AudioMixer::UNITY_GAIN_FLOAT; in onStateChange() 301 mMixer->setParameter(name, AudioMixer::VOLUME, AudioMixer::VOLUME0, &f); in onStateChange() [all …]
|
D | AudioMixer.cpp | 103 AudioMixer::AudioMixer(size_t frameCount, uint32_t sampleRate, uint32_t maxNumTracks) in AudioMixer() function in android::AudioMixer 138 AudioMixer::~AudioMixer() in ~AudioMixer() 152 void AudioMixer::setLog(NBLog::Writer *log) in setLog() 161 int AudioMixer::getTrackName(audio_channel_mask_t channelMask, in getTrackName() 249 void AudioMixer::invalidateState(uint32_t mask) in invalidateState() 260 bool AudioMixer::setChannelMasks(int name, in setChannelMasks() 305 void AudioMixer::track_t::unprepareForDownmix() { in unprepareForDownmix() 320 status_t AudioMixer::track_t::prepareForDownmix() in prepareForDownmix() 361 void AudioMixer::track_t::unprepareForReformat() { in unprepareForReformat() 379 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 358 const TI *in, TA *aux, bool ramp, AudioMixer::track_t *t);
|
D | FastMixer.h | 27 class AudioMixer; variable 62 AudioMixer* mMixer;
|
D | Threads.cpp | 3272 mAudioMixer = new AudioMixer(mNormalFrameCount, mSampleRate); in MixerThread() 3879 if (AudioMixer::TRACK0 <= name && in prepareTracks_l() 3880 name < (int) (AudioMixer::TRACK0 + AudioMixer::MAX_NUM_TRACKS)) { in prepareTracks_l() 3881 name -= AudioMixer::TRACK0; in prepareTracks_l() 3918 int param = AudioMixer::VOLUME; in prepareTracks_l() 3924 param = AudioMixer::RAMP_VOLUME; in prepareTracks_l() 3926 mAudioMixer->setParameter(name, AudioMixer::RESAMPLE, AudioMixer::RESET, NULL); in prepareTracks_l() 3931 param = AudioMixer::RAMP_VOLUME; in prepareTracks_l() 3983 param = AudioMixer::VOLUME; in prepareTracks_l() 3992 param = AudioMixer::VOLUME; in prepareTracks_l() [all …]
|
D | Android.mk | 40 AudioMixer.cpp.arm \
|
D | AudioFlinger.h | 72 class AudioMixer; variable 355 || channelCount > AudioMixer::MAX_NUM_CHANNELS) { in isValidPcmSinkChannelMask() 366 && channelCount <= AudioMixer::MAX_NUM_CHANNELS) { in isValidPcmSinkChannelMask()
|
D | Tracks.cpp | 506 } else if (mName >= AudioMixer::TRACK0) { in dump() 507 sprintf(buffer, " %4d", mName - AudioMixer::TRACK0); in dump()
|
D | Threads.h | 893 AudioMixer* mAudioMixer; // normal mixer
|