diff options
author | Daniel Van Veen <dvanv@dolby.com> | 2017-11-29 20:46:08 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-11-29 20:46:08 +0000 |
commit | 3770968cf9f4ee3ff25d4214aa5f14b11fad9ffa (patch) | |
tree | 75adf9ad2e67600e33ad57ea3d7c6974f4f27112 /audio/2.0/default/StreamIn.cpp | |
parent | 73eaa91e0a094bcccc8107244c8c81b1fc80a93d (diff) | |
parent | ba3225718b81d9ddcf7e0c2cf5dea2ae9dd5e166 (diff) |
Merge "Fix inequality typo in StreamIn::getCapturePosition"
am: ba3225718b
Change-Id: I9ec534a8ec45525021180fa9219a1e3d4f34d0a7
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 c074f3c928..61d5d8ea4d 100644 --- a/audio/2.0/default/StreamIn.cpp +++ b/audio/2.0/default/StreamIn.cpp @@ -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), |