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
5c017957
Unverified
Commit
5c017957
authored
Feb 19, 2021
by
Vincent QB
Committed by
GitHub
Feb 19, 2021
Browse files
Revert "Remove duplicate --bits command line parameter (#1287)" (#1290)
This reverts commit
93950302
.
parent
93950302
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
test/torchaudio_unittest/common_utils/sox_utils.py
test/torchaudio_unittest/common_utils/sox_utils.py
+2
-0
No files found.
test/torchaudio_unittest/common_utils/sox_utils.py
View file @
5c017957
...
...
@@ -49,6 +49,8 @@ def gen_audio_file(
]
if
compression
is
not
None
:
command
+=
[
'--compression'
,
str
(
compression
)]
if
bit_depth
is
not
None
:
command
+=
[
'--bits'
,
str
(
bit_depth
)]
if
encoding
is
not
None
:
command
+=
[
'--encoding'
,
str
(
encoding
)]
command
+=
[
...
...
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