Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DFastMixer.cpp139 const FastTrack * const fastTrack = &current->mFastTracks[index]; in updateMixerTrack() local
142 if (reason == REASON_MODIFY && mGenerations[index] == fastTrack->mGeneration) { in updateMixerTrack()
145 mGenerations[index] = fastTrack->mGeneration; in updateMixerTrack()
158 index, fastTrack->mChannelMask, fastTrack->mFormat, AUDIO_SESSION_OUTPUT_MIX); in updateMixerTrack()
162 __func__, index, fastTrack->mChannelMask, fastTrack->mFormat); in updateMixerTrack()
166 mMixer->setBufferProvider(index, fastTrack->mBufferProvider); in updateMixerTrack()
169 if (fastTrack->mVolumeProvider != nullptr) { in updateMixerTrack()
170 const gain_minifloat_packed_t vlr = fastTrack->mVolumeProvider->getVolumeLR(); in updateMixerTrack()
189 (void *)(uintptr_t)fastTrack->mFormat); in updateMixerTrack()
191 (void *)(uintptr_t)fastTrack->mChannelMask); in updateMixerTrack()
[all …]
DThreads.cpp4448 FastTrack *fastTrack = &state->mFastTracks[0]; in MixerThread() local
4450 fastTrack->mBufferProvider = new SourceAudioBufferProvider(new MonoPipeReader(monoPipe)); in MixerThread()
4451 fastTrack->mVolumeProvider = NULL; in MixerThread()
4452 fastTrack->mChannelMask = mChannelMask | mHapticChannelMask; // mPipeSink channel mask for in MixerThread()
4454 fastTrack->mFormat = mFormat; // mPipeSink format for audio to FastMixer in MixerThread()
4455 fastTrack->mHapticPlaybackEnabled = mHapticChannelMask != AUDIO_CHANNEL_NONE; in MixerThread()
4456 fastTrack->mHapticIntensity = AudioMixer::HAPTIC_SCALE_NONE; in MixerThread()
4457 fastTrack->mGeneration++; in MixerThread()
4540 FastTrack *fastTrack = &state->mFastTracks[0]; in ~MixerThread() local
4541 ALOG_ASSERT(fastTrack->mBufferProvider != NULL); in ~MixerThread()
[all …]