Home
last modified time | relevance | path

Searched refs:ExtendedTimestamp (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/av/services/audioflinger/
DFastMixer.cpp144 mTimestamp.mTimebaseOffset[ExtendedTimestamp::TIMEBASE_BOOTTIME] = in onStateChange()
355 ExtendedTimestamp perTrackTimestamp(mTimestamp); in onWork()
360 perTrackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] > 0) { in onWork()
361 perTrackTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = in onWork()
364 perTrackTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = 0; in onWork()
365 perTrackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = -1; in onWork()
367 perTrackTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER] = trackFramesWritten; in onWork()
471 ExtendedTimestamp timestamp; // local in onWork()
475 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL]; in onWork()
479 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = in onWork()
[all …]
DPlaybackTracks.h107 virtual void onTimestamp(const ExtendedTimestamp &timestamp);
120 const ExtendedTimestamp &timeStamp);
164 ExtendedTimestamp mSinkTimestamp;
DMmapTracks.h57 virtual void onTimestamp(const ExtendedTimestamp &timestamp);
DTracks.cpp648 void AudioFlinger::PlaybackThread::Track::onTimestamp(const ExtendedTimestamp &timestamp) in onTimestamp()
1195 const ExtendedTimestamp &timeStamp) { in updateTrackFrameInfo()
1203 ExtendedTimestamp local = timeStamp; in updateTrackFrameInfo()
1205 for (int i = ExtendedTimestamp::LOCATION_MAX - 1; in updateTrackFrameInfo()
1206 i >= ExtendedTimestamp::LOCATION_SERVER; --i) { in updateTrackFrameInfo()
1211 if (!checked && i <= ExtendedTimestamp::LOCATION_KERNEL) { in updateTrackFrameInfo()
1747 uint32_t halSampleRate, const ExtendedTimestamp &timestamp) in updateTrackFrameInfo()
1749 ExtendedTimestamp local = timestamp; in updateTrackFrameInfo()
1753 for (int i = ExtendedTimestamp::LOCATION_SERVER; i < ExtendedTimestamp::LOCATION_MAX; ++i) { in updateTrackFrameInfo()
1882 void AudioFlinger::MmapThread::MmapTrack::onTimestamp(const ExtendedTimestamp &timestamp __unused) in onTimestamp()
DFastMixer.h86 ExtendedTimestamp mTimestamp;
DRecordTracks.h61 const ExtendedTimestamp &timestamp);
/frameworks/av/media/libnbaio/
DMonoPipe.cpp180 status_t MonoPipe::getTimestamp(ExtendedTimestamp &timestamp) in getTimestamp()
182 ExtendedTimestamp ets; in getTimestamp()
184 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = in getTimestamp()
185 ets.mPosition[ExtendedTimestamp::LOCATION_KERNEL]; in getTimestamp()
186 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = in getTimestamp()
187 ets.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in getTimestamp()
DAudioStreamOutSink.cpp77 status_t AudioStreamOutSink::getTimestamp(ExtendedTimestamp &timestamp) in getTimestamp()
84 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = position64; in getTimestamp()
85 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = in getTimestamp()
DMonoPipeReader.cpp58 void MonoPipeReader::onTimestamp(const ExtendedTimestamp &timestamp) in onTimestamp()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp553 mPreviousLocation = ExtendedTimestamp::LOCATION_INVALID; in set()
599 mPreviousLocation = ExtendedTimestamp::LOCATION_INVALID; in start()
602 && mStartEts.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] > 0) { in start()
608 + mStartEts.mPosition[ExtendedTimestamp::LOCATION_SERVER]), in start()
611 mFramesWrittenServerOffset = -mStartEts.mPosition[ExtendedTimestamp::LOCATION_SERVER]; in start()
2377 status_t AudioTrack::getTimestamp(ExtendedTimestamp *timestamp) in getTimestamp()
2386 status_t AudioTrack::getTimestamp_l(ExtendedTimestamp *timestamp) in getTimestamp_l()
2403 timestamp->mPosition[ExtendedTimestamp::LOCATION_CLIENT] = mFramesWritten; in getTimestamp_l()
2404 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_CLIENT] = 0; in getTimestamp_l()
2406 for (int i = ExtendedTimestamp::LOCATION_SERVER; in getTimestamp_l()
[all …]
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamLegacy.cpp125 ExtendedTimestamp *extendedTimestamp) { in getBestTimestamp()
129 timebase = ExtendedTimestamp::TIMEBASE_BOOTTIME; in getBestTimestamp()
132 timebase = ExtendedTimestamp::TIMEBASE_MONOTONIC; in getBestTimestamp()
DAudioStreamLegacy.h99 android::ExtendedTimestamp *extendedTimestamp);
/frameworks/av/media/libnbaio/include/
DMonoPipe.h27 typedef SingleStateQueue<ExtendedTimestamp> ExtendedTimestampSingleStateQueue;
84 status_t getTimestamp(ExtendedTimestamp &timestamp);
DNBAIO.h223 virtual status_t getTimestamp(ExtendedTimestamp& /*timestamp*/) { return INVALID_OPERATION; } in getTimestamp() argument
321 virtual void onTimestamp(const ExtendedTimestamp& /*timestamp*/) { } in onTimestamp() argument
DMonoPipeReader.h52 virtual void onTimestamp(const ExtendedTimestamp &timestamp);
DSourceAudioBufferProvider.h40 virtual void onTimestamp(const ExtendedTimestamp &timestamp);
DAudioStreamOutSink.h51 virtual status_t getTimestamp(ExtendedTimestamp &timestamp);
/frameworks/av/include/media/
DAudioTrack.h815 status_t getTimestamp(ExtendedTimestamp *timestamp);
817 status_t getTimestamp_l(ExtendedTimestamp *timestamp);
857 ExtendedTimestamp::Location location = ExtendedTimestamp::LOCATION_SERVER);
1082 ExtendedTimestamp mStartEts; // Extended timestamp at start for normal
1091 ExtendedTimestamp::Location mPreviousLocation; // location used for previous timestamp
DAudioTimestamp.h37 struct alignas(8) /* bug 29096183, bug 29108507 */ ExtendedTimestamp { struct
60 ExtendedTimestamp() { in ExtendedTimestamp() function
DExtendedAudioBufferProvider.h34 virtual void onTimestamp(const ExtendedTimestamp& /*timestamp*/) { } in onTimestamp() argument
/frameworks/av/media/libaudioclient/include/media/
DAudioTrack.h815 status_t getTimestamp(ExtendedTimestamp *timestamp);
817 status_t getTimestamp_l(ExtendedTimestamp *timestamp);
857 ExtendedTimestamp::Location location = ExtendedTimestamp::LOCATION_SERVER);
1082 ExtendedTimestamp mStartEts; // Extended timestamp at start for normal
1091 ExtendedTimestamp::Location mPreviousLocation; // location used for previous timestamp
DAudioTimestamp.h37 struct alignas(8) /* bug 29096183, bug 29108507 */ ExtendedTimestamp { struct
60 ExtendedTimestamp() { in ExtendedTimestamp() argument
/frameworks/av/media/libmedia/include/media/
DExtendedAudioBufferProvider.h34 virtual void onTimestamp(const ExtendedTimestamp& /*timestamp*/) { } in onTimestamp() argument
/frameworks/av/include/private/media/
DAudioTrackShared.h122 typedef SingleStateQueue<ExtendedTimestamp> ExtendedTimestampQueue;
325 status_t getTimestamp(ExtendedTimestamp *timestamp) { in getTimestamp()
348 ExtendedTimestamp mTimestamp; // initialized by constructor
521 virtual void setTimestamp(const ExtendedTimestamp &timestamp) { in setTimestamp()
/frameworks/av/media/libstagefright/
DAudioSource.cpp301 ExtendedTimestamp ts; in dataCallback()
302 ExtendedTimestamp::Location location; in dataCallback()
306 ts.getBestTimestamp(&position, &timeNs, ExtendedTimestamp::TIMEBASE_MONOTONIC, in dataCallback()

12