search for: waveout

Displaying 20 results from an estimated 69 matches for "waveout".

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 sound when I try to Get PCM Char buffer from the m...
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 sure (and sti...
2007 Nov 05
2
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 me, there are a lot of programmers, whose posts I saw on the web, who tried to use WaveIn/WaveOut and Speex and failed. As I understand it, WaveIn just buffers audio data according to the bit rate specified. So, if we use waveFormat.wBitsPerSample = 8, then each Char of the audio buffer describes an audio sample using 8 bits. On the output side, WaveOut expects each Char to describe an 8-bit a...
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 me, there are a lot of programmers, whose posts I saw on the web, who tried to use WaveIn/WaveOut and Speex and failed. As I understand it, WaveIn just buffe...
2007 Nov 05
2
WaveIn/WaveOut and Speex
...luding me, care very little > about an crappy OS produced by that company in the US which has been > convicted of (but not punished for) anti-competitive behaviour. > > > but believe me, there are a lot of programmers, whose posts I saw > > on the web, who tried to use WaveIn/WaveOut and Speex and failed. > > That has exactly zero to do with Speex and everything to do with > microsoft's profoundly crappy/stupid APIs and the incompetance of > programmers on the windows platform who are so used to their clicky > pointy IDEs that they can't even think for t...
2007 Nov 04
0
WaveIn/WaveOut and Speex
...gt; > Evgueni Tsygankov www.sqlanswers.com www.rusmex.com > > > -----Original Message----- From: Jean-Marc Valin > [mailto:jean-marc.valin@usherbrooke.ca] Sent: Sunday, November 04, > 2007 9:33 PM To: Evgueni Tsygankov Cc: speex-dev@xiph.org Subject: > Re: [Speex-dev] 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 +-327...
2007 Nov 04
0
WaveIn/WaveOut and Speex
...nothing to do with Speex BTW, it's just handling the audio data properly. Jean-Marc Evgueni Tsygankov wrote: > 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 sound when I try to > > >...
2007 Nov 05
0
WaveIn/WaveOut and Speex
...Marc and many others, including me, care very little about an crappy OS produced by that company in the US which has been convicted of (but not punished for) anti-competitive behaviour. > but believe me, there are a lot of programmers, whose posts I saw > on the web, who tried to use WaveIn/WaveOut and Speex and failed. That has exactly zero to do with Speex and everything to do with microsoft's profoundly crappy/stupid APIs and the incompetance of programmers on the windows platform who are so used to their clicky pointy IDEs that they can't even think for themselves. > As I un...
2003 Oct 17
3
Streaming audio to the waveout device
Hi, Please excuse my ignorance but I'm having trouble with a very basic matter: I'm using vorbisfile to stream audio to the waveout device in Win32 (using waveOutWrite). I'm basically reading packets from an ogg file and streaming them using a simple buffering scheme. The thing is, this works great when the bitrate is more or less constant but the audio sounds garbled if there is a radical bitrate change. Which makes sense...
2008 Sep 12
1
Echo Cancellation not working on WinCE
Hello Friends, I am trying to use speex-1.2beta3 version for echo cancelling. On my WinCE board I am using WaveIn/WaveOut functions to record and playback audio. I am receiving audio data on udp socket, then playing it on speaker using WaveOutWrite function. I registered callback to capture microphone data, then data chunk came from socket ( which I played on speaker) and data captured from microphone is provided for...
2004 Sep 22
1
Sound Problems with x-ten lite on Toshiba 4600.
...;"LockFormat" = "16" ;"LockStereo" = "1" ;"LockRate" = "48000" ;"FullDuplex" = "1" [ALSA] "PlaybackDevice" = "default" "RecordDevice" = "default" [dsound] ;;HEL only: Number of waveOut fragments ahead to mix in new buffers. "HELmargin" = "50" ;; HEL only: Number of waveOut fragments ahead to queue to driver. "HELqueue" = "50" ;; Max number of fragments to prebuffer "SndQueueMax" = "28" ;; Min number of fragments to prebu...
2001 Mar 14
2
Playing Problems :(
Hi all! I've problem with playing ogg files. I'm triing to use tripple buffer method: +-------------+ +-| buffer 1 |-+ | +-------------+ | | | | +-------------+-+ | | buffer 2 | | +-------------+-+ | | | +-------------+-+
2001 Aug 31
0
Re: [vorbis] Finally, it can be told!
Hello, Do you mean that you need someone to write some code to output sound with waveOut or just to port over libao to win32? Outputing with waveOut in windows is simple enough. I could probably work something out if you like, but I'm away from my computer until Monday night. If that's what you need I'd be glad to help out and write a driver. Unfortunatly I'll need...
2004 Jun 26
8
getting started
I am giving serious consideration to abandoning waveOut multimedia and the wav format, for most of the audio in my C++/MFC project. However, I've never done any programming with a codec, and I still can't see how to step into Ogg Vorbis. If I convert all my wav files to ogg, there seem to be two major issues I'm facing: 1) What exactly wi...
2004 Jun 26
8
getting started
I am giving serious consideration to abandoning waveOut multimedia and the wav format, for most of the audio in my C++/MFC project. However, I've never done any programming with a codec, and I still can't see how to step into Ogg Vorbis. If I convert all my wav files to ogg, there seem to be two major issues I'm facing: 1) What exactly wi...
2008 Nov 07
0
fix focus and alsa for gps software
...on alsa on two params that renders period_size/buffer_size not power of 2 inside the driver and that makes the app sound ring it go out of sync. Since I've to rebuild wine for the focus problem I preferred to fix this as well in wine instead of in .asoundrc: Index: wine-1.1.7/dlls/winealsa.drv/waveout.c --- wine-1.1.7/dlls/winealsa.drv/waveout.c.orig 2008-10-24 17:55:14.000000000 +0200 +++ wine-1.1.7/dlls/winealsa.drv/waveout.c 2008-11-05 19:49:37.000000000 +0100 @@ -577,8 +577,8 @@ static DWORD wodOpen(WORD wDevID, LPWAVE snd_pcm_access_t access; snd_pcm_format_t...
2010 Jun 28
1
ACE does not work for me at all.
...ce is not loudy enough by default. 8000 speex_preprocess_ctl(_den_state, SPEEX_PREPROCESS_SET_AGC_LEVEL, &ftmp); tmp=1; speex_preprocess_ctl(_den_state, SPEEX_PREPROCESS_SET_VAD, &tmp); and following is how I cancel echo: I have a player class and a recorder class using windows wavein and waveout with waveInProc and waveOutProc event handlers void __stdcall WFAudioPlayer::WaveOutProc(HWAVEOUT hWaveOut,UINT uMsg,DWORD dwInstance,DWORD dwParam1,DWORD dwParam2) { if(uMsg != WOM_DONE) return; WFAudioPlayer* player = reinterpret_cast<WFAudioPlayer*>(dwInstance); if (player) { // get...
2005 Jan 06
5
Wine asks to set "HardwareAcceleration" = "Emulation" and it is already set.
...n" = "Emulation" in the [dsound] section of your config file. fixme:winmm:MMDRV_Exit Closing while ll-driver open ----------------- Corresponding section from the config file (/etc/wine/config) - I uncommented the line requested in this error message [dsound] ;; HEL only: Number of waveOut fragments ahead to mix in new buffers. ;"HELmargin" = "5" ;; HEL only: Number of waveOut fragments ahead to queue to driver. ;"HELqueue" = "5" ;; Max number of fragments to prebuffer ;"SndQueueMax" = "28" ;; Min number of fragments to preb...
2004 Nov 08
1
WINE audio drivers
Somebody knows how do I set wineoss.drv or winealsa.drv to use the second sound card instead of the first one? Currently I'm using winearts.drv, but want to get rid of arts, cause wine is the only one on my box using it. Thanks.
2005 Jun 26
1
where to go for Speex help
Could someone tell me what list/newsgroup I should consult for help in implementing a simple (libspeex) decoder with my MFC/C++ waveOut? I just finished implementing the ogg vorbis equivalent, and I do have the sample code in the Speex Codec Manual. Seems like I have to dig awfuly hard to find windows sample code. Thank you very much. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xi...