Increasing channel using libsox
问题 I am trying to use libsox to increase the channel of a wav file. I have read the related question: Reducing a channel from wav file using libsox I also read the libsox's exampl3.c. I take a deep copy of in->signal as interm_signal. But the resulting file is still half the duration of the original file. Here is my code: int main(int argc, char * argv[]) { sox_format_t *input = NULL; sox_format_t *output = NULL; sox_effects_chain_t *chain = NULL; sox_effect_t *e = NULL; char * args[10]; assert