Skip to content

Commit

Permalink
Merge pull request #763 from tandersn/master
Browse files Browse the repository at this point in the history
adding a .s8 extention to utils.py for signed 8 bit.
  • Loading branch information
happycube committed Jul 3, 2022
2 parents 77fa700 + 8a14d56 commit 321f7c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lddecode/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ def make_loader(filename, inputfreq=None):
input_args = ["-f", "u16le"]
elif filename.endswith(".rf"):
input_args = ["-f", "f32le"]
elif filename.endswith(".s8"):
input_args = ["-f", "s8"]
elif filename.endswith(".r8") or filename.endswith(".u8"):
input_args = ["-f", "u8"]
elif filename.endswith(".u16"):
Expand Down

0 comments on commit 321f7c6

Please sign in to comment.