diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-11-29 20:28:20 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-11-29 20:28:20 +0000 |
commit | ba3225718b81d9ddcf7e0c2cf5dea2ae9dd5e166 (patch) | |
tree | ca4440daa899fb6b76df08cc90feee44fa6f6daf /audio/2.0/default/StreamIn.cpp | |
parent | adf8208c526bf22918f3652a41a75788dc4a1dbb (diff) | |
parent | 0c7d58b00a1da730aeef0e2a7dae6b7134786006 (diff) |
Merge "Fix inequality typo in StreamIn::getCapturePosition"
Diffstat (limited to 'audio/2.0/default/StreamIn.cpp')
-rw-r--r-- | audio/2.0/default/StreamIn.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/2.0/default/StreamIn.cpp b/audio/2.0/default/StreamIn.cpp index 575a4f47f5..3ed55a3aaf 100644 --- a/audio/2.0/default/StreamIn.cpp +++ b/audio/2.0/default/StreamIn.cpp @@ -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), |