mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 06:22:53 +00:00
Merge "Fix inequality typo in StreamIn::getCapturePosition" am: ba3225718b
am: 3770968cf9
Change-Id: Ia0310363cce5aa004844cf77edafcdc78cdc5011
This commit is contained in:
@@ -415,7 +415,7 @@ Result StreamIn::getCapturePositionImpl(audio_stream_in_t* stream,
|
||||
// spam the log in this case.
|
||||
static const std::vector<int> ignoredErrors{ENOSYS};
|
||||
Result retval(Result::NOT_SUPPORTED);
|
||||
if (stream->get_capture_position != NULL) return retval;
|
||||
if (stream->get_capture_position == NULL) return retval;
|
||||
int64_t halFrames, halTime;
|
||||
retval = Stream::analyzeStatus("get_capture_position",
|
||||
stream->get_capture_position(stream, &halFrames, &halTime),
|
||||
|
||||
Reference in New Issue
Block a user