/frameworks/av/services/audioflinger/ |
D | FastMixer.cpp | 144 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 …]
|
D | PlaybackTracks.h | 107 virtual void onTimestamp(const ExtendedTimestamp ×tamp); 120 const ExtendedTimestamp &timeStamp); 164 ExtendedTimestamp mSinkTimestamp;
|
D | MmapTracks.h | 57 virtual void onTimestamp(const ExtendedTimestamp ×tamp);
|
D | Tracks.cpp | 648 void AudioFlinger::PlaybackThread::Track::onTimestamp(const ExtendedTimestamp ×tamp) 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 ×tamp) 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 ×tamp __unused) in onTimestamp()
|
D | FastMixer.h | 86 ExtendedTimestamp mTimestamp;
|
D | RecordTracks.h | 61 const ExtendedTimestamp ×tamp);
|
/frameworks/av/media/libnbaio/ |
D | MonoPipe.cpp | 180 status_t MonoPipe::getTimestamp(ExtendedTimestamp ×tamp) 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()
|
D | AudioStreamOutSink.cpp | 77 status_t AudioStreamOutSink::getTimestamp(ExtendedTimestamp ×tamp) in getTimestamp() 84 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = position64; in getTimestamp() 85 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = in getTimestamp()
|
D | MonoPipeReader.cpp | 58 void MonoPipeReader::onTimestamp(const ExtendedTimestamp ×tamp) in onTimestamp()
|
/frameworks/av/media/libaudioclient/ |
D | AudioTrack.cpp | 553 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/ |
D | AudioStreamLegacy.cpp | 125 ExtendedTimestamp *extendedTimestamp) { in getBestTimestamp() 129 timebase = ExtendedTimestamp::TIMEBASE_BOOTTIME; in getBestTimestamp() 132 timebase = ExtendedTimestamp::TIMEBASE_MONOTONIC; in getBestTimestamp()
|
D | AudioStreamLegacy.h | 99 android::ExtendedTimestamp *extendedTimestamp);
|
/frameworks/av/media/libnbaio/include/ |
D | MonoPipe.h | 27 typedef SingleStateQueue<ExtendedTimestamp> ExtendedTimestampSingleStateQueue; 84 status_t getTimestamp(ExtendedTimestamp ×tamp);
|
D | NBAIO.h | 223 virtual status_t getTimestamp(ExtendedTimestamp& /*timestamp*/) { return INVALID_OPERATION; } in getTimestamp() argument 321 virtual void onTimestamp(const ExtendedTimestamp& /*timestamp*/) { } in onTimestamp() argument
|
D | MonoPipeReader.h | 52 virtual void onTimestamp(const ExtendedTimestamp ×tamp);
|
D | SourceAudioBufferProvider.h | 40 virtual void onTimestamp(const ExtendedTimestamp ×tamp);
|
D | AudioStreamOutSink.h | 51 virtual status_t getTimestamp(ExtendedTimestamp ×tamp);
|
/frameworks/av/include/media/ |
D | AudioTrack.h | 815 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
|
D | AudioTimestamp.h | 37 struct alignas(8) /* bug 29096183, bug 29108507 */ ExtendedTimestamp { struct 60 ExtendedTimestamp() { in ExtendedTimestamp() function
|
D | ExtendedAudioBufferProvider.h | 34 virtual void onTimestamp(const ExtendedTimestamp& /*timestamp*/) { } in onTimestamp() argument
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioTrack.h | 815 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
|
D | AudioTimestamp.h | 37 struct alignas(8) /* bug 29096183, bug 29108507 */ ExtendedTimestamp { struct 60 ExtendedTimestamp() { in ExtendedTimestamp() argument
|
/frameworks/av/media/libmedia/include/media/ |
D | ExtendedAudioBufferProvider.h | 34 virtual void onTimestamp(const ExtendedTimestamp& /*timestamp*/) { } in onTimestamp() argument
|
/frameworks/av/include/private/media/ |
D | AudioTrackShared.h | 122 typedef SingleStateQueue<ExtendedTimestamp> ExtendedTimestampQueue; 325 status_t getTimestamp(ExtendedTimestamp *timestamp) { in getTimestamp() 348 ExtendedTimestamp mTimestamp; // initialized by constructor 521 virtual void setTimestamp(const ExtendedTimestamp ×tamp) { in setTimestamp()
|
/frameworks/av/media/libstagefright/ |
D | AudioSource.cpp | 301 ExtendedTimestamp ts; in dataCallback() 302 ExtendedTimestamp::Location location; in dataCallback() 306 ts.getBestTimestamp(&position, &timeNs, ExtendedTimestamp::TIMEBASE_MONOTONIC, in dataCallback()
|