Merge "Fix inequality typo in StreamIn::getCapturePosition"
This commit is contained in:
commit
ba3225718b
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,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),
|
||||
|
|
Loading…
Reference in a new issue