Commit 48ecb0e5 authored by Anika Treffehn's avatar Anika Treffehn
Browse files

removed fs argument from function calls

parent c264cf21
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -230,7 +230,7 @@ def lpfilter_itu(
    y = filter_itu(tmp, flt_type=flt_type, block_size=960)

    # delay compensation
    y = delay_compensation(y, flt_type=flt_type, fs=tmp.fs)
    y = delay_compensation(y, flt_type=flt_type)

    # reverse resampling
    if old_fs:
@@ -287,7 +287,7 @@ def hp50filter_itu(
    y = filter_itu(tmp, flt_type=flt_type, skip_channel=skip_channel)

    # delay compensation
    y = delay_compensation(y, flt_type=flt_type, fs=tmp.fs)
    y = delay_compensation(y, flt_type=flt_type)

    # reverse resampling
    if old_fs:
@@ -342,7 +342,7 @@ def kbp20filter_itu(
    y = filter_itu(tmp, flt_type=flt_type, skip_channel=skip_channel)

    # delay compensation
    y = delay_compensation(y, flt_type=flt_type, fs=tmp.fs)
    y = delay_compensation(y, flt_type=flt_type)

    # reverse resampling
    if old_fs:
@@ -447,7 +447,7 @@ def resample_itu(

        # delay compensation
        y.audio = delay_compensation(
            y.audio, flt_type=flt, fs=y.fs, up=up[i], down=down[i]
            y.audio, flt_type=flt, up=up[i], down=down[i]
        )

    return y.audio