Home
last modified time | relevance | path

Searched refs:positionFrames (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/services/oboeservice/
DAAudioServiceStreamMMAP.cpp144 aaudio_result_t AAudioServiceStreamMMAP::getFreeRunningPosition(int64_t *positionFrames, in getFreeRunningPosition() argument
154 aaudio_result_t result = serviceEndpointMMAP->getFreeRunningPosition(positionFrames, timeNanos); in getFreeRunningPosition()
156 Timestamp timestamp(*positionFrames, *timeNanos); in getFreeRunningPosition()
158 *positionFrames = timestamp.getPosition(); in getFreeRunningPosition()
168 aaudio_result_t AAudioServiceStreamMMAP::getHardwareTimestamp(int64_t *positionFrames, in getHardwareTimestamp() argument
186 *positionFrames = (int64_t) position; in getHardwareTimestamp()
192 *positionFrames = timestamp.getPosition(); in getHardwareTimestamp()
DAAudioServiceEndpointMMAP.h67 aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) override;
69 aaudio_result_t getTimestamp(int64_t *positionFrames, int64_t *timeNanos) override;
88 aaudio_result_t getExternalPosition(uint64_t *positionFrames, int64_t *timeNanos);
DAAudioServiceEndpointShared.cpp193 aaudio_result_t AAudioServiceEndpointShared::getFreeRunningPosition(int64_t *positionFrames, in getFreeRunningPosition() argument
197 *positionFrames = timestamp.getPosition(); in getFreeRunningPosition()
205 aaudio_result_t AAudioServiceEndpointShared::getTimestamp(int64_t *positionFrames, in getTimestamp() argument
207 …aaudio_result_t result = mStreamInternal->getTimestamp(CLOCK_MONOTONIC, positionFrames, timeNanos); in getTimestamp()
DAAudioServiceStreamMMAP.h76 aaudio_result_t getFreeRunningPosition(int64_t *positionFrames,
79 aaudio_result_t getHardwareTimestamp(int64_t *positionFrames, int64_t *timeNanos) override;
DAAudioServiceEndpointShared.h56 aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) override;
58 aaudio_result_t getTimestamp(int64_t *positionFrames, int64_t *timeNanos) override;
DAAudioServiceStreamShared.cpp234 aaudio_result_t AAudioServiceStreamShared::getFreeRunningPosition(int64_t *positionFrames, in getFreeRunningPosition() argument
239 *positionFrames = timestamp.getPosition(); in getFreeRunningPosition()
248 aaudio_result_t AAudioServiceStreamShared::getHardwareTimestamp(int64_t *positionFrames, in getHardwareTimestamp() argument
266 *positionFrames = position; in getHardwareTimestamp()
DAAudioServiceStreamShared.h93 aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) override;
95 aaudio_result_t getHardwareTimestamp(int64_t *positionFrames, int64_t *timeNanos) override;
DAAudioServiceEndpointMMAP.cpp324 aaudio_result_t AAudioServiceEndpointMMAP::getFreeRunningPosition(int64_t *positionFrames, in getFreeRunningPosition() argument
341 *positionFrames = mFramesTransferred.get(); in getFreeRunningPosition()
347 aaudio_result_t AAudioServiceEndpointMMAP::getTimestamp(int64_t *positionFrames, in getTimestamp() argument
422 aaudio_result_t AAudioServiceEndpointMMAP::getExternalPosition(uint64_t *positionFrames, in getExternalPosition() argument
428 status_t status = mMmapStream->getExternalPosition(positionFrames, timeNanos); in getExternalPosition()
DAAudioServiceEndpoint.h85 virtual aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) = 0;
94 virtual aaudio_result_t getTimestamp(int64_t *positionFrames, int64_t *timeNanos) = 0;
DAAudioServiceStreamBase.h262 virtual aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) = 0;
264 virtual aaudio_result_t getHardwareTimestamp(int64_t *positionFrames, int64_t *timeNanos) = 0;
/frameworks/av/media/libaudiohal/impl/
DStreamHalHidl.cpp215 position->position_frames = hidlPosition.positionFrames; in getMmapPosition()