It's an old mode that is no longer supported. You can see the modes that are supported in codec2.h
On 11/07/14 17:05, salik satti wrote: > Hi, > Thanks for your reply now i have set the path in codec2.c file for > codec2.h path like this : > > #include "/usr/local/include/codec2/codec2.h" > > and then when i issue the make command it gives me errors like: > > [CC] codec_codec2.c -> codec_codec2.o > codec_codec2.c: In function ‘codec2_new’: > codec_codec2.c:51: error: ‘CODEC2_MODE_2500’ undeclared (first use in > this function) > codec_codec2.c:51: error: (Each undeclared identifier is reported only once > codec_codec2.c:51: error: for each function it appears in.) > make[1]: *** [codec_codec2.o] Error 1 > make: *** [codecs] Error 2 > > Now i don't understand what type of error is this. I will be grateful if > you help me in this. Or if you can provide m,e mail address of hisaru. > > and when i place codec2.c file in ./ directory while issuing cp command > as given in read file it doesnot gives me error but when i see the > translations it says codec2 "-" and also i cannot see the codec2.so in > modules directory of asterisk. But when i place codec2.c in ./codecs it > tries to make codec2.so file but fails with above error. > > Best Regards, > Salik > > > On Fri, Jul 11, 2014 at 11:01 AM, David Rowe <[email protected] > <mailto:[email protected]>> wrote: > > This code hasn't been maintained for sometime so it might need some > work. Unfortunately I'm not available to fix this for you, however if > you want to work on it looks like path issue: > > > codec_codec2.c:31:20: error: codec2.h: No such file or directory > > - David > > > On 11/07/14 14:31, salik satti wrote: > > I am facing problems while integrating Codec2 support with asterisk > > 1.8.22.0. when i follow all the steps written in README file under > > codec-dev/asterisk directory. And after the installation when i issue > > core show translation command codec2 contains only "-" on all other > > codecs. Can any one please tell me how to solve these issue. I have > > followd Hisaharu SUZUKI solution provided in link > > > > https://sourceforge.net/p/freetel/mailman/freetel-codec2/thread/[email protected]/ > > <http://souldsp.jp/> > > . But when i do this : > > I changed the lines in that instruction. > > cp ../codec2-dev/asterisk/codec_codec2.c ./codecs > > cp ../codec2-dev/asterisk/ex_codec2.h ./codecs > > > > and then after that try to build asterisk with codec2 support i > get make > > error like: > > > > [CC] codec_codec2.c -> codec_codec2.o > > codec_codec2.c:31:20: error: codec2.h: No such file or directory > > codec_codec2.c: In function ‘codec2_new’: > > codec_codec2.c:51: warning: implicit declaration of function > ‘codec2_create’ > > codec_codec2.c:51: error: ‘CODEC2_MODE_2400’ undeclared (first use in > > this function) > > codec_codec2.c:51: error: (Each undeclared identifier is reported > only once > > codec_codec2.c:51: error: for each function it appears in.) > > codec_codec2.c: In function ‘codec2tolin_framein’: > > codec_codec2.c:72: warning: implicit declaration of function > ‘codec2_decode’ > > codec_codec2.c: In function ‘lintocodec2_frameout’: > > codec_codec2.c:106: warning: implicit declaration of function > > ‘codec2_encode’ > > codec_codec2.c: In function ‘codec2_destroy_stuff’: > > codec_codec2.c:123: warning: implicit declaration of function > > ‘codec2_destroy’ > > make[1]: */[codec_codec2.o] Error 1 > > make: /* [codecs] Error 2 > > > > Now please if there anyone to help me i will be really great full for > > any help on this . > > > > > > > > -- > > Be NiCe And WiN ThE HeaRts > > > > > > > > ------------------------------------------------------------------------------ > > Open source business process management suite built on Java and > Eclipse > > Turn processes into business applications with Bonita BPM > Community Edition > > Quickly connect people, data, and systems into organized workflows > > Winner of BOSSIE, CODIE, OW2 and Gartner awards > > http://p.sf.net/sfu/Bonitasoft > > > > > > > > _______________________________________________ > > Freetel-codec2 mailing list > > [email protected] > <mailto:[email protected]> > > https://lists.sourceforge.net/lists/listinfo/freetel-codec2 > > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community > Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Freetel-codec2 mailing list > [email protected] > <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/freetel-codec2 > > > > > -- > Be NiCe And WiN ThE HeaRts > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > > > > _______________________________________________ > Freetel-codec2 mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freetel-codec2 > ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Freetel-codec2 mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
