Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Torchaudio
Commits
2777562a
Unverified
Commit
2777562a
authored
Mar 01, 2021
by
Mike Decker
Committed by
GitHub
Mar 01, 2021
Browse files
Fix default backend for Linux (#1329)
parent
53af9779
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchaudio/backend/utils.py
torchaudio/backend/utils.py
+1
-1
No files found.
torchaudio/backend/utils.py
View file @
2777562a
...
...
@@ -59,7 +59,7 @@ def set_audio_backend(backend: Optional[str]):
def
_init_audio_backend
():
backends
=
list_audio_backends
()
if
'sox'
in
backends
:
if
'sox
_io
'
in
backends
:
set_audio_backend
(
'sox_io'
)
elif
'soundfile'
in
backends
:
set_audio_backend
(
'soundfile'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment