Hi.

Now .predef need full path to audio file. It imply different place for .predef and .gsm. But convenient store their in one location and write only file name for payload.

Code of it:

Index: AmPrecodedFile.cpp
===================================================================
32a33,34
> #include <libgen.h>
>
157a160,163
>   char *dir = strdup(filename.c_str());
>   string str_dir(dirname(dir));
>   str_dir += "/";
>
190c196
<     pl.filename=codec_def[7];
---
>     pl.filename=str_dir + codec_def[7];
197c203
<
---
>   free(dir);
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to