diff options
author | Chris Robinson <[email protected]> | 2023-10-14 11:57:13 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-10-14 11:57:13 -0700 |
commit | 59b31970866cb226084e0fcb9dbf4a3cae1e409e (patch) | |
tree | 23497a0f0e8d047febf6b5059d0f8c3ea7bc1cbf | |
parent | d157cf4154dd7a078ac534cd6bbd0f762c23eaaf (diff) |
Don't use an iterator where a pointer is expected
-rw-r--r-- | core/uhjfilter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/uhjfilter.cpp b/core/uhjfilter.cpp index ee5d4b86..744054a7 100644 --- a/core/uhjfilter.cpp +++ b/core/uhjfilter.cpp @@ -235,7 +235,7 @@ void UhjEncoder<N>::encode(float *LeftOut, float *RightOut, /* Apply the first segment of the filter in the time domain. */ auto buf_iter = mD.begin() + base; - Filter.mPShift.process({buf_iter, todo}, mWXIn.begin()+1 + mFifoPos); + Filter.mPShift.process({buf_iter, todo}, mWXIn.data()+1 + mFifoPos); /* Add the other segments of the filter that were previously processed * by the FFT. |