-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Combiner: input_type not specified #85
Comments
Hello! Thanks for reporting. What is the minimal code example you could provide that reproduces the issue? |
I tested it with multiple file formats and also with all options for the Combiner. The minimal application would be as following: import sox
cbn = sox.Combiner()
cbn.build([input_1, input_2], output_file, "mix-power") I also tried to edit the code so this warning won't be displayed anymore, but I didn't know, if this behavior is intended. My fix: # Adjust length of input_format list
if input_format is None or input_format == []: ( line 392 in combine.py ) |
Has the same issue. Obviously, it can be fixed by |
Same issue. |
When using the combiner to build the output file, the Warning
WARNING:root:Input formats were only specified for 0 out of 2 files.The last 2 files will remain unformatted.
will be issued.
As far as I understood the working of combine.py this is because self.input_format is not supposed to be None due to the initialization
on line 58 in transform.py
and therefore the if condition
on line 392 in combine.py will never evaluate to True when being called from the build function
( line 75 in combine.py )
Is this behavior on purpose?
The text was updated successfully, but these errors were encountered: