similar to: C++ wrapper for speex

Displaying 20 results from an estimated 200 matches similar to: "C++ wrapper for speex"

2004 Aug 06
1
C++ wrapper for speex
Ronald, I suggest we take this discussion off the list after this post. I don't see any problems with your code. However, I can make a few suggestions: 1) If you replace the lines: pSpeexHdr->lpData = (char*)pSound; pSpeexHdr->dwBufferLength = decodedSamples * sizeof(short); with: pSpeexHdr->lpData = lpHdr->lpData; pSpeexHdr->dwBufferLength = lpHdr->dwBufferLength;
2004 Aug 06
0
C++ wrapper for speex
Ronald, I recently wrote some wrapper classes for the Speex encoder and decoder for use with my VoIP program. I think they're pretty high level and easy to use. They handle all buffer allocation internally to make life easy. Here's a simple little example that happens to use VAD: // buf is float[] or short int[], buflen is multiple of frame size // (there is a getFrameSize() method
2004 Aug 06
1
C++ wrapper for speex
hi sirs, i am only recently studying speex and i'm looking for a C++ wrapper for speex that has higer-level implementations for the Encode and Decode functions, to sort of base my initial understaning of how the speex API work. i have in fact created my own, following on the instructions in the speex codec manual, but i havn't really made any positive progress. (a lot of people have
2005 Jan 05
4
Encoding and decoding problem in speex 1.0.4
Hi, I am using the speex 1.0.4 library from Windows. I have posted my problem before but didn't get a solution. I am doing an VOIP project in which i am recording sound and streaming it to the peer. I wanted to encode and decode wav files that brought me to this site. I am recording sound in the following format:- m_WaveFormatEx.wFormatTag = WAVE_FORMAT_PCM;
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
2012 Oct 25
2
WAVE PCM to OPUS and back
Hello, I have an p2p voice chat application using WAVE PCM (winmm). Now i am trying to add opus encoding to it to send it over the TCP/IP and then decoding it back to play - but without success (without opus it works ok) Here is an example of my code. I get message from input device then encode with opus then decode it back to output wave header and play. Doing it i hear only noise in my
2006 Nov 01
1
Integrating speex with VideoNet application: Constant background noise
Hi, Can someone please help me with my problem below. Any suggestions is appreciated. thanks, Carine ----- Original Message ---- From: Carine Liang <carineliang@yahoo.com.sg> To: speex-dev@xiph.org; speex-dev@xiph.org Sent: Tuesday, 31 October 2006 1:05:49 PM Subject: [Speex-dev] Integrating speex with VideoNet application: Constant background noise Hi, I am developing a peer-to-peer
2006 Nov 02
1
Integrating speex with VideoNet application: Constantbackground noise
Hi John, Thanks for your reply. Yes, my output device is in 8-bit mode, same as my input mode. I'm actually working in char (8 bit) arrays. Is it necessary to work in signed short integers only? I changed all the short arrays in the example to char. Carine ----- Original Message ---- From: John Miles <jmiles@pop.net> To: carineliang@yahoo.com.sg; speex-dev@xiph.org Sent: Thursday,
2009 Jan 20
0
VoIP with wavefrom and speex
Hi! I'm totally new to audio programming. I managed to create a VoIP with waveform (PCM). The problem was the really high traffic, so I desided to use speex for compressing the data. I'm recording with mono, 16bit/sample, 8000 samples per second. I tried to add the speex compression, but I always get a crash when I try to decode the data. Here is my encode and decode function: int
2005 Nov 05
1
buffer overruns for small files
I wonder if anyone would have a comment on an experiment I have pretty much completed in my MFC/C++ project. With my simple libvorbis implementation, ogg decoding works just fine for files that are 10kb or larger. For anything smaller (actually, I don't have a 9kb file, so <= 8), it seems that I get an inaccurate value for ov_pcm_total. Though ov_read returns zero, I overflow the buffer
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
2010 Aug 01
0
Wargame Problems - Black screen.
Hello. I have problems with some wargames under Wine. It displays black space instead of maps when I run them. The games are: Future Force Company Commander When I run the game, I get: > err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded > fixme:win:EnumDisplayDevicesW ((null),0,0xe6f55c,0x00000000), stub! >
2004 Feb 03
1
starcraft problem
Hi all, i have just finished my installation of wine as normal user (see below). Notepad is running fine, so i decided to run something more fun, starcraft. The installation program works, even with sound and all, exept when i decide to run the previews. The previews run rine, but whithout sound. When i return to the installation program the sound is gone. But anyway, it does it's yob,
2006 Oct 30
0
Integrating speex with VideoNet application: Constant background noise
Hi, I am developing a peer-to-peer video conference application which uses speex as a codec for the voice. I am new to speex, so please bear with me if I asked the obvious. After I added the encode and decode function to my MFC app, I heard a constant background noise, even when no one is speaking into the microphone. #define FRAME_SIZE 160 The application is coded in MFC C++. The record
2007 Dec 04
2
[PATCH] Add Visual Studio 2008 Prject files
On Dec 3, 2007 1:24 PM, Stefan Reuther <streu@gmx.de> wrote: > John Miles wrote: > > What's wrong with a plain old .bat file, or even an NMAKE .mak file? > > Ship two files, debug.bat and release.bat, and call it good. > > > > It is best to leave project-file creation up to individual users, > > in my opinion. > > I second that. When I played around
2007 Dec 06
1
Echo cancellor on Windows, a few questions.
what i want to achieve is simple, i want to be able to sitback in my chair and talk over a voip call using speex. as the mic and the speakers are built into the laptop, an echo canceller is required. what i am doing is this : First, each time i finish writing a block to the waveout, i copy it into a buffer like this: Segment *pseg = (Segment *)phead; waveOutUnprepareHeader(waveOut, phead,
2006 Nov 05
1
Integrating speex with VideoNet application: Constantbackground noise
Hi, I've changed the m_waveFormatEx.wBitsPerSample for both record buffer and playSound buffer, changed my array from char to short and I'm still getting the same constant background noise. I notice that when I talk into the mike, I will get a slightly louder noise, can't hear any clear speech... Any idea what's wrong? Regards, Carine ----- Original Message ---- From: John Miles
2006 Dec 24
1
Integrating speex with VideoNet application: Constantbackground noise
Hi, I'm still unable to get rid of the background noise though I've changed the PCM samples to 16 bit. I'm began to wonder if I can just take the PCM samples and encode them. What my application tries to do is to record the voice from a microphone, encode it, send it via the socket to a peer, decode at the peer's side and play the voice. My application works fine without the
2008 Sep 10
1
Bug in winealsa.drv? Incredibly specific oddity
I've been struggling desperately to get iGuidance 4 working with Wine and I've come across what seems like an incredibly specific problem. I've been struggling with the TTS output for the navigation, it just keeps randomly locking up the app, sometimes after a mile, sometimes 30, after figuring out I could debug just the wave classes, I think I've found a clue. It keeps hanging
2016 Feb 16
3
slightly off-topic, RAID program for on-board SAS 2308-4i ?
Does anyone know what program can be used to query the RAID status from the OS for an on-board LSI SAS 2308-4i? On this page: http://docs.avagotech.com/docs/12351997 there is a curious note on the left that reads: "Integrated MegaRAID support available upon request" After one mostly fruitless round of chatting with LSI/Avago/Broadcom and one completely fruitless round of chatting