Hi Amir,
Try to run the example within a debugger to identify the exact occurrence of the
segmentation fault.
If I remember correctly, the format is raw PCM, try to open the wav with an audiotool
(e.g. Audacity) and save it as raw PCM.
Best Regards
Sebastian
--
Sent in haste while not in the office.
This cell phone is not a secure line!
Am 04.04.2014 um 06:44 schrieb "Amir Jr"
<altobeta@gmail.com<mailto:altobeta@gmail.com>>:
I have download one sample from osmocom speech codec
http://tetra.osmocom.org/trac/wiki/Speech_Codec. I have compiled it sucesssfully then the
output "ccoder.exe"
and "cdecoder.exe" have been built. When i try to run the sample exe file using
the command line, it show Segmentation fault (core dumped).
This is the how i'm running the sample
"./ccoder.exe sample.wav sample2.wav".
I'm very confusing about the input and the output file. What is the correct type file
for input and the output.
Thank you for any respond
Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist
ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese E-Mail
bestimmte Adressat sein, unterrichten Sie bitte den Absender und vernichten Sie diese
Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen ausschließlich final
rechtsverbindlich, wenn sie in herkömmlicher Schriftform (mit eigenhändiger Unterschrift)
oder durch Übermittlung eines solchen Schriftstücks per Telefax erfolgen.
Important note: The information included in this e-mail is confidential. It is solely
intended for the recipient. If you are not the intended recipient of this e-mail please
contact the sender and delete this message. Thank you. Without prejudice of e-mail
correspondence, our statements are only legally binding when they are made in the
conventional written form (with personal signature) or when such documents are sent by
fax.