#114 sox_add_effect() should do basic error check on rate/channel

open
nobody
None
5
2008-11-01
2008-11-01
Chris Bagwell
No

It is possible to detect when the output of added effect is different # channels or rate then the output of the previous effect in the chain.

It is an error case to insert in this case unless the add effect is marked as able to handle the conversion. We should add this error check in.

Try "./example1 monkey.wav monkey.cdr" as an example of creating an invalid file that above fix would at least
indicate to user that it can't be handled.

Discussion

  • bat
    bat
    2013-02-18

    Hi
    This bug report was filed in 2008.
    Is the same problem in SoX v-14.4.1?

     
  • Ulrich Klauer
    Ulrich Klauer
    2013-02-18

    This hasn't changed.