|
From: TJF <tjf...@we...> - 2010-05-07 14:31:56
|
Hi, I am trying to use these undocumented mem-commands in example5.c: out = sox_open_mem_write(buffer, buffer_size, &in->signal,NULL, "sox", NULL); or: out = sox_open_memstream_write(&buffer, &buffer_size, &in->signal, NULL, "sox", NULL); I was wondering, why I always get: formats: can't open output file `': Invalid argument So I took the unchanged and compiled example5.exe (MSVC++9) with 3 arguments and I am getting the same: formats: can't open output file `': Invalid argument If I change "sox" to ".sox" I get a valid argument, but also this: formats: no handler for given file type `.sox' Sorry, this is a little bit confusing me, because I am using libsox.lib in my project for the first time... Any idea? Thanks! Regards Thomas |