Skip to content

Commit

Permalink
Merge pull request #173 from MorenoLaQuatra/master
Browse files Browse the repository at this point in the history
Removing set_backend to avoid torchaudio UserWarning
  • Loading branch information
iver56 committed Jan 10, 2024
2 parents 0dea5db + 1ce30c7 commit b2e4d24
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions torch_audiomentations/utils/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
The optional "channel" key can be used to indicate a specific channel.
"""

# TODO: Remove this when it is the default
torchaudio.USE_SOUNDFILE_LEGACY_INTERFACE = False
torchaudio.set_audio_backend("soundfile")


class Audio:
"""Audio IO with on-the-fly resampling
Expand Down

0 comments on commit b2e4d24

Please sign in to comment.