Hi,

I need to increase the speed with which audio file is played. I have tried the following piece of code for doubling the speed but this is not working for me.

  e = sox_create_effect(sox_find_effect("speed"));
  args[0] = "2", assert(sox_effect_options(e, 1, args) == SOX_SUCCESS);
  assert(sox_add_effect(chain, e, &in->signal, &in->signal) == SOX_SUCCESS);
  free(e);

Is the argument list correctly provided for the speed option?