Home
last modified time | relevance | path

Searched refs:fastTrack (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/audioflinger/
DFastMixer.cpp140 const FastTrack * const fastTrack = &current->mFastTracks[index]; in updateMixerTrack() local
143 if (reason == REASON_MODIFY && mGenerations[index] == fastTrack->mGeneration) { in updateMixerTrack()
146 mGenerations[index] = fastTrack->mGeneration; in updateMixerTrack()
159 index, fastTrack->mChannelMask, fastTrack->mFormat, AUDIO_SESSION_OUTPUT_MIX); in updateMixerTrack()
163 __func__, index, fastTrack->mChannelMask, fastTrack->mFormat); in updateMixerTrack()
167 mMixer->setBufferProvider(index, fastTrack->mBufferProvider); in updateMixerTrack()
170 if (fastTrack->mVolumeProvider != nullptr) { in updateMixerTrack()
171 const gain_minifloat_packed_t vlr = fastTrack->mVolumeProvider->getVolumeLR(); in updateMixerTrack()
190 (void *)(uintptr_t)fastTrack->mFormat); in updateMixerTrack()
192 (void *)(uintptr_t)fastTrack->mChannelMask); in updateMixerTrack()
[all …]
DThreads.cpp4313 FastTrack *fastTrack = &state->mFastTracks[0]; in MixerThread() local
4315 fastTrack->mBufferProvider = new SourceAudioBufferProvider(new MonoPipeReader(monoPipe)); in MixerThread()
4316 fastTrack->mVolumeProvider = NULL; in MixerThread()
4317 fastTrack->mChannelMask = mChannelMask | mHapticChannelMask; // mPipeSink channel mask for in MixerThread()
4319 fastTrack->mFormat = mFormat; // mPipeSink format for audio to FastMixer in MixerThread()
4320 fastTrack->mHapticPlaybackEnabled = mHapticChannelMask != AUDIO_CHANNEL_NONE; in MixerThread()
4321 fastTrack->mHapticIntensity = AudioMixer::HAPTIC_SCALE_NONE; in MixerThread()
4322 fastTrack->mGeneration++; in MixerThread()
4405 FastTrack *fastTrack = &state->mFastTracks[0]; in ~MixerThread() local
4406 ALOG_ASSERT(fastTrack->mBufferProvider != NULL); in ~MixerThread()
[all …]