Commit e7d2808a authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[fix] use WAV instead of PCM for tempfile so that channel count is detected properly

parent 4fed9d3b
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -87,8 +87,8 @@ def ivasRendMasa(

    with TemporaryDirectory() as tmp_dir:
        tmp_dir = Path(tmp_dir)
        tmp_in = tmp_dir.joinpath("tmp_masaRendIn.pcm")
        tmp_out = tmp_dir.joinpath("tmp_masaRendOut.pcm")
        tmp_in = tmp_dir.joinpath("tmp_masaRendIn.wav")
        tmp_out = tmp_dir.joinpath("tmp_masaRendOut.wav")
        
        write(tmp_in, masa.audio, masa.fs)