Displaying 5 results from an estimated 5 matches for "hwaveout".
Did you mean:
waveout
2010 Jun 28
1
ACE does not work for me at all.
...VEL, &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 the frame to be played back next.
tByte* nextframe = player->GetNextBlockFrame();
/**
* No matte...
2008 Feb 15
0
speex echo problem in my own softphone to POTS
...lPhone. It seems SpeexEcho stops to work.
What I have done In my softPhone project with SpeexEcho are these:
1. prepare a buffer with 4000 bytes deep.
2. "state = speex_echo_state_init( 160, 1280 )" then:
3. put waveData(wHdr) into buffer after "waveOutWrite(hWaveOut, wHdr, sizeof(*wHdr))"
4. in "WaveInCallback" function: Get waveData From buffer, and use "spxec_echo_cancel(state, waveInData, DataGotFromBuffer, tmpBuffer,0)"
5. then push tmpBuffer to Encode Module, package to G.729 to network. NickMSN: drawncat at hotmail.com
__...
2016 Jul 11
0
[PATCH] wave_out: fix casts
...)
diff --git a/src/wave_out.c b/src/wave_out.c
index 57b5703..0f871b9 100644
--- a/src/wave_out.c
+++ b/src/wave_out.c
@@ -71,7 +71,7 @@ Box ( const char* msg )
*/
static void CALLBACK
-wave_callback ( HWAVE hWave, UINT uMsg, DWORD dwInstance, DWORD dwParam1, DWORD dwParam2 )
+wave_callback ( HWAVEOUT hWave, UINT uMsg, DWORD_PTR dwInstance, DWORD_PTR dwParam1, DWORD_PTR dwParam2 )
{
if ( uMsg == WOM_DONE ) {
EnterCriticalSection ( &cs );
@@ -125,7 +125,7 @@ Set_WIN_Params ( FILE_T dummyFile ,
outFormat.nBlockAlign = (outFormat.wBitsPerSample + 7) / 8 * outFormat.nChannels;
ou...
2012 Oct 25
2
WAVE PCM to OPUS and back
...d char data[BUFSIZE];
opus_int32 dataLength = opus_encode(m_opusEncoder, (short*)Hdr->lpData, 80, data, BUFSIZE);
dataLength = opus_decode(m_opusDecoder, (unsigned char*)data, dataLength, (short*)WaveHdrOut.lpData, BUFSIZE, 0);
waveOutWrite(hWaveOut, &WaveHdrOut,sizeof(WAVEHDR));
--
Best regards,
Stepan Melnichuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attachments/20121025/e65d2547/attachment.htm
2009 Jan 30
0
Wine release 1.1.14
...nth: Remove superfluous pointer casts.
gphoto.ds: Remove superfluous pointer casts.
localspl: Remove superfluous pointer casts.
user32: Fix bogus "if (!x & y)" code.
wineesd.drv: Add missing return in function returning non-void.
dsound: Fix mixup between HWAVEOUT and HWAVEIN.
dsound: Use UlongToHandle to make the real payload a HWAVEIN/HWAVEOUT.
dinput: Remove superfluous pointer casts.
crypt32: Remove remaining superfluous pointer casts.
setupapi: Remove superfluous pointer casts.
oleaut32/tests: Remove superfluous pointer cas...