similar to: decode in ppc 2003

Displaying 20 results from an estimated 2000 matches similar to: "decode in ppc 2003"

2004 Aug 06
1
decode in ppc 2003
Hi, My problem is at the second fread function, fread(&nbBytes, sizeof(int), 1, fin); //the first fread fread(cbits,1, nbBytes, fin);// the second fread. When I'm debugging always nbytes is greater than cbits. This give me a execution error. Thanks. Rodrigo. <p><p><p>-----Mensaje original----- De: owner-speex-dev@xiph.org [mailto:owner-speex-dev@xiph.org] En nombre
2004 Aug 06
0
decode in ppc 2003
Note that FIXED_POINT is only related to compiling speex, not your application. Also, in 1.1.x, the output and output format for audio changed to 'short' (instead of float). Jean-Marc Le lun 19/01/2004 à 05:19, Rodrigo Parra M a écrit : > Hi all, > > Please a moment to look my source code, this is very similar to > example of the documentation. I added FIXED_POINT
2004 Aug 06
2
decode in ppc 2003
Hi all, Please a moment to look my source code, this is very similar to example of the documentation. I added FIXED_POINT flag. My source code compile and build but not decode correctly (the error may be in the while). I work with eVC 4.0 and pocket pc 2003. Someone know what is the error? Thanks. Rodrigo. #include "speex.h" #define FRAME_SIZE 160 void CPlayerDlg::OnButton3() {
2007 Feb 13
0
Hello guys Please help
Why my decoder doesn't want to return the data back to its original wav audio file that i can playback it correctly , is there something wrong in my code . Encoder : ======= #include "speex.h" #include <stdio.h> #include <iostream> #include <conio.h> using namespace std; /*The frame size in hardcoded for this sample code but it doesn't have to be*/
2007 Feb 13
1
Hello Guys
hello everybody in this great mailing list , i have some difficulties to follow my code . i solved some problems thanks to Carine Liang , but i still have one problem and i think it is fatal one. when i encode the voice data in a wav file it is decoded without any errors it gives me 84 bytes wav file size for 139 kbytes wav audio data .Naturally i wanted to return my file back to its normal
2006 Oct 12
1
Problem with encoding and decoding
I have problem with coding and decoding. I record voice from mic coding and write to file. And when I read from file and put it on sound card it's terrible sound. Have sameone can help me? #include <speex.h> #include <stdio.h> #include <fcntl.h> #include <sys/ioctl.h> #include <sys/soundcard.h> /*The frame size in hardcoded for this sample code but it
2012 Mar 14
0
Audio file is corrupted after decoding
I successfully encoded and decoded a wav file of PCM 16 , MONO and with sample rate 8000 in Android OS. The size of the original wav file and decoded file is near. But i am not able to play the decoded audio file, the mediaplayer says that the file has been corrupted. ENCODING: #include <jni.h> #include <stdio.h> #include "speex/speex.h" #define FRAME_SIZE 320 void
2007 Apr 24
2
just noise
Hi, I tried both the stable and beta versions of the speex source code download on Mac OS 10.4.9. I just do: ./configure make sudo make install Then I added libspeex.a from /usr/local/lib and the headers to my xcode project. My app compiles and I'm able to call all of the speex functions. I copied the example code from the website and tweaked it to include the first 10000 bytes of
2007 Dec 10
1
SpeexCodec run in linux of decode
Hi , may I ask some question about the decode files? here is my decode.c but when the program run to speex_encoder_destroy(state); It shows that segmentation fault ,I feel comfused, could you tell thanks! #define MAX_FRAME_SIZE 320 int main() { FILE *fout; char *inFile; FILE *fin; short out[MAX_FRAME_SIZE]; char cbits[200]; int nbBytes; void *state; SpeexBits bits; //int tmp; int
2007 Dec 06
2
Some question about speexcodex 1.2 beta2 on linux
Hi, I am an user of speex codec.Can I ask some question about the speexcodec 1.2beta2 on installed to linux(fedora 6) thanks! After I downloaded the latest version of codec then I type the commands to install : configure -prefix=/home/...../test -enable-shared -enable-static make make install then I try to compile my encode.c here is the encode.c of mine: =====================================
2004 Aug 06
0
About sample code
I write a sample code like speex provide , as follows: SpeeXCodec::SpeeXCodec() { rate = 8000; speex_bits_init(&enbits); speex_bits_init(&debits); enc_state = speex_encoder_init(&speex_nb_mode); dec_state = speex_decoder_init(&speex_nb_mode); // set option for encoder speex_encoder_ctl(enc_state, SPEEX_GET_FRAME_SIZE, &frame_size); speex_encoder_ctl(enc_state,
2009 Jan 23
0
error in decoding raw speex file
Hi, Speex Fans, I collected the speex raw file from flash server and tried to decode it with samepldec.c ( I modified the code the file input) as below. speex rate=8khz, one framesize=10 bytes in the client, When I ran the decoding program, it kept displaying the error below and the file genertaed is corrupt too. Please help point out what is wrong. I also attach the raw speex file. Thanks,
2009 Feb 03
0
Problems with Speex Libary
Hello, today I try to compile a test-file from the Documentation. I link the libarys correct but have only one error in this line: state = speex_encoder_init(&speex_nb_mode); The error: main.cpp|21|undefined reference to `speex_nb_mode'| The linking libarys: "libspeex.lib" "libspeexdsp.lib" I ask in more c++ boards, but nobody can help me. Hopefully I ask the
2012 Dec 25
0
Problem in using SpeexPreprocess
Hi, I wrote to a program looking at the api reference to pre-process noisy speech using SpeexPreprocess api. Code listing is the following: --------------------------------------- #include <stdio.h> #include <speex/speex_preprocess.h> #define FRAME_SIZE 160 #define SAMPLING_RATE 8000 int main(int argc, char **argv) { SpeexPreprocessState *preprocess_state =
2005 Dec 12
0
Real time in ARM - please help
Thanks for the advice. With complexity=1, bit rates 5950,8000 and 15000 (CBR only), I'm still getting 30-50 seconds encoding time for a 10-second file. To anyone who has made this work in ARMv4, or knows how to, can I get some advice on the settings? FIXED_POINT is already defined in all relevant files. My source code is patterned after sampleenc and I haven't tried using Ogg.. my source
2010 Sep 06
0
encode and decode
hi we are trying to decode speech that was encoded on a ds'pic with a NB 8 Kb/sec. we wrote a simple program using the API speex lib 1.2 beta 3: #include "stdafx.h" #include <iostream> #include <stdio.h> #include "speex.h" #include "speex_bits.h" using namespace std; char hex2ascii(char toconv); #define FRAME_SIZE 160 #define nbBytes 20
2004 Aug 06
1
About reducing noise..
Hello, When I decode a recoded sound encoded by speex, it has too much noise. The noise is "slightly" reduced if I set the quality to 10. How do I get rid of this noise? The code is as follows. For encoding . state = speex_encoder_init ( &speex_nb_mode ); tmp = 7; speex_encoder_ctl ( state, SPEEX_SET_MODE, &tmp); // set quality tmp = 10; speex_encoder_ctl ( state,
2005 Oct 17
0
Error Executing sampledec in VC++
You should really do a check to make sure nbBytes isn't larger than 200, otherwise you're going to read past the end of your char array. fread (&nbBytes, sizeof(int), 1, fo); _____ From: speex-dev-bounces@xiph.org [mailto:speex-dev-bounces@xiph.org] On Behalf Of Mo Win Sent: Monday, October 17, 2005 7:31 PM To: speex-dev@xiph.org Subject: Re: [Speex-dev] Error
2005 Dec 06
1
problems decoding speex... please help
Hi all. I'm trying to decode speex using version 1.1.10's libspeex with fixed_point enabled. copied the sample in the manual (1.1.11) with minor revisions. While running the program, encountered this warning: "Packet is larger than allocated buffer : 38" when calling speex_bits_read_from (&bits, cbits, nBytes) then my program terminated unexpectedly with errors (Unhandled
2011 Nov 28
1
Speex stereo encoding
Hi. I trying to encode PCM16 8000Hz stereo data to speex and put it into the .flv file format. But at the output I can hear only noise. What I doing wrong? Here is the code: void main() { SpeexBits bits; void *enc_state; int frame_size; int quality = 10; char cbits[MAX_FRAME_BYTES]; FILE *fin, *speex; short input[MAX_FRAME_SIZE]; int nbBytes; int channels =