similar to: Problems with stereo data

Displaying 20 results from an estimated 1000 matches similar to: "Problems with stereo data"

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
2007 Nov 04
3
WaveIn/WaveOut and Speex
Hello, I know my question has been asked before because I spent the last week searching the web for how to use Speex in combination with WaveIn/WaveOut and I ran into a few posts, but none of them answer the question. There is still a lot of confusion how to use WaveIn/WaveOut and Speex by junior developers such as myself. Even after examining code for SpeexDec and SpeexEnc, I cannot get clear
2007 Nov 04
2
WaveIn/WaveOut and Speex
Thank you for such a quick response. The only reason I started with Char buffers is because WaveIn and WaveOut on Windows XP accept/emit WAVEHDR structures, which store audio data in LPSTR, which is Char*. typedef struct { LPSTR lpData; DWORD dwBufferLength; ... } WAVEHDR; When I was going from Char to float and back looked very wrong to me as well, but I was just not
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
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
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
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() {
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
2011 Oct 04
2
[LLVMdev] [cfe-dev] Unicode path handling on Windows
On Tue, Oct 4, 2011 at 4:19 AM, Nikola Smiljanic <popizdeh at gmail.com> wrote: > In that case I think that this is it :) > > On Tue, Oct 4, 2011 at 8:24 AM, Bryce Cogswell <bryceco at gmail.com> wrote: >> >> That should be fine. I don't believe the concern about performing a >> char-by-char conversion is valid; for example the NTFS-3G driver uses a
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
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
4
Framesize for UWB vs. WB encoding
Hi there. I am having a little trouble understanding the frame sizes chosen by the codec. testenc_uwb.c from the speex-1.0 source distribution has a framesize of 640 hardcoded and makes use of this value exclusively. However, a mode query on the actual codec returns 320 as a framesize for this mode. int tmp; speex_mode_query(&speex_uwb_mode, SPEEX_MODE_FRAME_SIZE, &tmp);
2007 Nov 04
0
WaveIn/WaveOut and Speex
I'm not sure what input/output format you're trying to use, but it looks wrong. You're using the float functions that take +-32767 values and you're feeding (or converting) chars. Unless your machine has very special chars (which I doubt), a +-32767 value just isn't going to fit in. This has nothing to do with Speex BTW, it's just handling the audio data properly.
2005 Jun 23
2
Speex and DS
Hello everyone I've a following problem with the speex codec. I'm developing application that is supposed to read sounds from the microphone with DirectSoundCapture. Unfortunately when I want to compress and decompress the sound buffer from DirectSound I only have jitter. Maybe you have some code samples how to compress standard DS buffers: LPDIRECTSOUND8 lpDS = NULL;
2007 Nov 04
0
WaveIn/WaveOut and Speex
> When I was going from Char to float and back looked very wrong to me it not only *looked* wrong! > as well, but I was just not sure (and still am) how to translate the > Char* audio stream generated by WaveIn to a format that can be > understood by Speex. Would using speex_decode_int and > speex_encode_int instead of speex_decode and speex_encode be the > answer? Using
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,
2005 Oct 04
1
Strange Problem
Hi I am facing a strange problem. I have integrated speex codec's narrowband mode in my SIP based server. Then I tried to integrate the wideband mode. But the program crashes mysteriously. My encode and decode codes for wide band mode are exact similiar to that of narrowband, except the mode initialization, where I put "speex_wb_mode" instead of "speex_nb_mode". My
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 =
2007 Nov 05
0
Fw: RE: WaveIn/WaveOut and Speex
Begin forwarded message: Date: Mon, 5 Nov 2007 07:27:21 -0500 From: "Evgueni Tsygankov" <eugenet@rusmex.com> To: "Jean-Marc Valin" <jean-marc.valin@usherbrooke.ca> Cc: speex-dev@xiph.org Subject: RE: [Speex-dev] WaveIn/WaveOut and Speex Again, thank you for helping me. I know this might seem like a trivial matter to you and other experts in the field, but believe
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*/