Displaying 3 results from an estimated 3 matches for "wom_don".
Did you mean:
wom_done
2008 Feb 13
1
AEC synch problems on Windows Mobile
Hi, I've sorted the performance issues i had in a previous post. Now the AEC runs but does not cancel any echo. I have a scenario where i have a single thread processing thread messages WOM_DONE and WIM_DATA which tell me when Windows Mobile OS has played the buffer or received the buffer respectively. Anyone any ideas how to sync the mic and the speaker. Any tips would be useful.
Thanks
---------------------------------
Support the World Aids Awareness campaign this month...
2010 Jun 28
1
ACE does not work for me at all.
...);
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 matter the following two lines are commented or not, the voip
performances are the same, with...
2016 Jul 11
0
[PATCH] wave_out: fix casts
.../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;
outFormat.nAvgBytesPerSec = outFormat.nSamplesPerSec * outFormat.nBlockAlign;
- switch ( waveOutOpen ( &...