diff --git a/src/flexasio/FlexASIO/flexasio.cpp b/src/flexasio/FlexASIO/flexasio.cpp index d22c58b..57fe84b 100644 --- a/src/flexasio/FlexASIO/flexasio.cpp +++ b/src/flexasio/FlexASIO/flexasio.cpp @@ -823,7 +823,7 @@ namespace flexasio { long FlexASIO::ComputeLatencyFromStream(PaStream* stream, bool output, size_t bufferSizeInFrames) const { - const PaStreamInfo* stream_info = Pa_GetStreamInfo(&stream); + const PaStreamInfo* stream_info = Pa_GetStreamInfo(stream); if (!stream_info) throw ASIOException(ASE_HWMalfunction, "unable to get stream info"); // See https://github.com/dechamps/FlexASIO/issues/10.