Lines Matching defs:track

110     // clientUid contains the uid of the app that is responsible for this track, so we can blame
114 // ALOGD("Creating track with %d buffers @ %d bytes", bufferCount, bufferSize);
189 mCblk->mFlags = CBLK_FORCEREADY; // FIXME hack, need to fix the track ready logic
289 AudioFlinger::TrackHandle::TrackHandle(const sp<AudioFlinger::PlaybackThread::Track>& track)
291 mTrack(track)
296 // just stop the track on deletion, associated resources
298 // been played. Unless it's not in the active track list, in which
391 mFrameMap(16 /* sink-frame-to-track-frame map memory */),
417 // Workaround: clear out mCblk to indicate track hasn't been properly created.
436 ALOGE("no more track names available");
439 // only allocate a fast track index if we were able to allocate a normal track name
448 // FIXME This is too eager. We allocate a fast track index before the
449 // fast track becomes active. Since fast tracks are a scarce resource,
700 // here the track could be either new, or restarted
701 // in both cases "unstop" the track
727 // refresh fast track underruns on start because that field is never cleared
728 // by the fast mixer; furthermore, the same track can be recycled, i.e. start
740 // track was already in the active list, not a problem
747 // isn't looking at this track yet: we still hold the normal mixer thread lock,
748 // and for fast tracks the track is not yet in the fast mixer thread's active set.
768 // If the track is not active (PAUSED and buffers full), flush buffers
778 // For an offloaded track this starts a drain and state will
803 /* nothing to do if track is not offloaded */
807 // Offloaded track was draining, we need to carry on draining when resumed
831 // Flush the ring buffer now if the track is not active in the PlaybackThread.
832 // Otherwise the flush would not be done until the track is resumed.
840 // and keep the track active to avoid problems if user is seeking
865 // do not reset the track if it is still in the process of being stopped or paused.
866 // this will be done by prepareTracks_l() when the track is stopped.
868 // remove from active track list, reset(), and trigger presentation complete
876 // Prevent flush being lost if the track is flushed and then resumed
899 // the audioflinger thread detects the track is stopped.
1048 // a track is considered presented when the total number of frames written to audio HAL
1051 // For an offloaded track the HAL+h/w delay is variable so a HAL drain() is used
1054 // buffers, particularly if a track has been paused and resumed during draining
1101 // track volumes come from shared memory, so can't be trusted and must be clamped
1169 /* Resume is pending if track was stopping before pause was called */
1201 // Our timestamps are only updated when the track is on the Thread active list.
1207 // Lookup the track frame corresponding to the sink frame position.
1258 ALOGW("Error creating output track on thread %p", playbackThread);
1597 // NOTE: It would be extremely rare that the record track cannot be created
1599 // the record track configuration valid.
1751 // Convert HAL frames to server-side track frames at track sample rate.