Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/fastpath/
DFastMixer.cpp124 const FastTrack * const fastTrack = &current->mFastTracks[index]; in updateMixerTrack() local
127 if (reason == REASON_MODIFY && mGenerations[index] == fastTrack->mGeneration) { in updateMixerTrack()
130 mGenerations[index] = fastTrack->mGeneration; in updateMixerTrack()
143 index, fastTrack->mChannelMask, fastTrack->mFormat, AUDIO_SESSION_OUTPUT_MIX); in updateMixerTrack()
147 __func__, index, fastTrack->mChannelMask, fastTrack->mFormat); in updateMixerTrack()
151 mMixer->setBufferProvider(index, fastTrack->mBufferProvider); in updateMixerTrack()
154 if (fastTrack->mVolumeProvider != nullptr) { in updateMixerTrack()
155 const gain_minifloat_packed_t vlr = fastTrack->mVolumeProvider->getVolumeLR(); in updateMixerTrack()
174 (void *)(uintptr_t)fastTrack->mFormat); in updateMixerTrack()
176 (void *)(uintptr_t)fastTrack->mChannelMask); in updateMixerTrack()
[all …]
/frameworks/av/services/audioflinger/
DThreads.cpp5190 FastTrack *fastTrack = &state->mFastTracks[0]; in MixerThread() local
5192 fastTrack->mBufferProvider = new SourceAudioBufferProvider(new MonoPipeReader(monoPipe)); in MixerThread()
5193 fastTrack->mVolumeProvider = NULL; in MixerThread()
5194 fastTrack->mChannelMask = static_cast<audio_channel_mask_t>( in MixerThread()
5197 fastTrack->mFormat = mFormat; // mPipeSink format for audio to FastMixer in MixerThread()
5198 fastTrack->mHapticPlaybackEnabled = mHapticChannelMask != AUDIO_CHANNEL_NONE; in MixerThread()
5199 fastTrack->mHapticScale = {/*level=*/os::HapticLevel::NONE }; in MixerThread()
5200 fastTrack->mHapticMaxAmplitude = NAN; in MixerThread()
5201 fastTrack->mGeneration++; in MixerThread()
5285 FastTrack *fastTrack = &state->mFastTracks[0]; in ~MixerThread() local
[all …]