search for: postthreadmessag

Displaying 12 results from an estimated 12 matches for "postthreadmessag".

Did you mean: postthreadmessage
2006 Nov 01
1
Integrating speex with VideoNet application: Constant background noise
...om socket and store the data in cbits (char array). { speex_bits_read_from(&bits, cbits, retvalue); //retvalue is 38 speex_decode(dec_state, &bits, output); //where output is float array for(int k=0;k<FRAME_SIZE;k++) out[k] = output[k]; //out is a char array PostThreadMessage( WM_PLAYSOUND_PLAYBLOCK, FRAME_SIZE, (LPARAM)out ); } What is the internet to you? Contribute to the Yahoo! Time Capsule and be a part of internet history._______________________________________________ Speex-dev mailing list Speex-dev@xiph.org http://lists.xiph.org/mailman/listinfo/s...
2004 Aug 06
2
C++ wrapper for speex
...AVEHDR* pSpeexHdr = new WAVEHDR; pSpeexHdr->lpData = (char*)pSound; pSpeexHdr->dwBufferLength = decodedSamples * sizeof(short); pSpeexHdr->dwFlags = 0L; pSpeexHdr->dwLoops = 0L; // output audio to speaker m_Player->PostThreadMessage(WM_PLAYSOUND_PLAYBLOCK, GetCurrentThreadId(),(LPARAM) pSpeexHdr); // clean up // delete pSeexHdr; // delete [] pSound; return 1; } this produces unintelligible audio. may be you can give me an opinion on how i can properly reconstruct my PCM sample ( into...
2006 Nov 02
1
Integrating speex with VideoNet application: Constantbackground noise
...re the data in cbits (char array). { speex_bits_read_from(&bits, cbits, retvalue); //retvalue is 38 speex_decode(dec_state, &bits, output); //where output is float array for(int k=0;k<FRAME_SIZE;k++) out[k] = output[k]; //out is a char array PostThreadMessage( WM_PLAYSOUND_PLAYBLOCK, FRAME_SIZE, (LPARAM)out ); } What is the internet to you? Contribute to the Yahoo! Time Capsule and be a part of internet history. _______________________________________________ Speex-dev mailing list Speex-dev@xiph.org http://lists.xiph.org/mailman...
2006 Oct 30
0
Integrating speex with VideoNet application: Constant background noise
...om socket and store the data in cbits (char array). { speex_bits_read_from(&bits, cbits, retvalue); //retvalue is 38 speex_decode(dec_state, &bits, output); //where output is float array for(int k=0;k<FRAME_SIZE;k++) out[k] = output[k]; //out is a char array PostThreadMessage( WM_PLAYSOUND_PLAYBLOCK, FRAME_SIZE, (LPARAM)out ); } __________________________________ What will the world find in 2020? Leave a part of your 2006 in the Yahoo! Time Capsule. Contribute now! http://timecapsule.yahoo.com/capsule.php?intl=sg -------------- next part -------------- An...
2009 Jan 16
1
interrupting R from a GUI
list(...), I am looking for a way to interrupt R from a callback: specifically, to interrupt plotting (typically on a cairoDevice, but would be good if it worked with other devices too). Of course, one can interrupt R nicely from the console with Ctrl-C (or Esc in Rgui), but I need to do it from a GUI. Callbacks run in a new thread, so obviously stop() etc will not work. I tried to look into how
2004 Aug 06
1
C++ wrapper for speex
...pSpeexHdr->lpData = (char*)pSound; pSpeexHdr->dwBufferLength = lpHdr->dwBufferLength; pSpeexHdr->dwFlags = 0L; pSpeexHdr->dwLoops = 0L; m_Player->PostThreadMessage(WM_PLAYSOUND_PLAYBLOCK, GetCurrentThreadId(),(LPARAM) lpHdr); } } this handler would simply capture the voice data and immidiately play it as it is, and as far as that is concern, it is working. my speex case study is simple. i just want to encode the raw data recieved by the handle...
2004 Aug 06
0
C++ wrapper for speex
...erLength]; > memcpy(pSound,lpHdr->lpData,lpHdr->dwBufferLength); > > pSpeexHdr->lpData = (char*)pSound; > pSpeexHdr->dwBufferLength = lpHdr->dwBufferLength; > pSpeexHdr->dwFlags = 0L; > pSpeexHdr->dwLoops = 0L; > > m_Player->PostThreadMessage(WM_PLAYSOUND_PLAYBLOCK, > GetCurrentThreadId(),(LPARAM) lpHdr); > } > } > > this handler would simply capture the voice data and > immidiately play it as it is, and as far as that is > concern, it is working. > > my speex case study is simple. i just want to enco...
2004 Aug 06
1
C++ wrapper for speex
...e > WAVEHDR* pSpeexHdr = new WAVEHDR; > pSpeexHdr->lpData = (char*)pSound; > pSpeexHdr->dwBufferLength = decodedSamples * > sizeof(short); > pSpeexHdr->dwFlags = 0L; > pSpeexHdr->dwLoops = 0L; > > // output audio to speaker > m_Player->PostThreadMessage(WM_PLAYSOUND_PLAYBLOCK, > GetCurrentThreadId(),(LPARAM) pSpeexHdr); > > // clean up > // delete pSeexHdr; > // delete [] pSound; > > return 1; > } > > this produces unintelligible audio. may be you can > give me an opinion on how i can properly reconstruct...
2006 Nov 05
1
Integrating speex with VideoNet application: Constantbackground noise
...in cbits (char array). { speex_bits_read_from(&bits, cbits, retvalue); //retvalue is 38 speex_decode(dec_state, &bits, output); //where output is float array for(int k=0;k<FRAME_SIZE;k++) out[k] = output[k]; //out is a char array PostThreadMessage( WM_PLAYSOUND_PLAYBLOCK, FRAME_SIZE, (LPARAM)out ); } What is the internet to you? Contribute to the Yahoo! Time Capsule and be a part of internet history. _______________________________________________ Speex-dev mailing list Speex-dev@xiph.org http://lists.xip...
2006 Dec 24
1
Integrating speex with VideoNet application: Constantbackground noise
...in cbits (char array). { speex_bits_read_from(&bits, cbits, retvalue); //retvalue is 38 speex_decode(dec_state, &bits, output); //where output is float array for(int k=0;k<FRAME_SIZE;k++) out[k] = output[k]; //out is a char array PostThreadMessage( WM_PLAYSOUND_PLAYBLOCK, FRAME_SIZE, (LPARAM)out ); } What is the internet to you? Contribute to the Yahoo! Time Capsule and be a part of internet history. _______________________________________________ Speex-dev mailing list Speex-dev@xiph.org http://lists.xip...
2016 Jun 16
0
Wine release 1.8.3
...olor 40048 Camtasia Studio 8 : crashes on unimplemented function dwmapi.dll.DwmSetPresentParameters 40081 CLM Explorer needs fontsub.dll.CreateFontPackage 40108 kernel32:process regression 40135 msvcirt.c:1386:5: warning: comparison of unsigned expression < 0 is always false 40244 PostThreadMessage with WM_NOTIFY message should succeed 40246 Please document WINEBUILD in the winegcc manpage 40286 Geforce 980 maxwell card is not properly detected 40297 Multiple app crashes in macdrv_EnumDisplayMonitors 40304 EveHQ2 crashes with builtin gdiplus 40348 Nvidia 800 series cards not d...
2016 Apr 29
0
Wine release 1.9.9
...dcompiler_43 39622 TeamViewer 11 window does not show "Remote Control" and "Meeting" buttons/tabs. 39759 Add support for detect Nvidia TITAN Black in wine3d/device list 39834 Just Cause 2 needs d3dx10_43.dll.D3DX10CreateDevice 40112 kernel32:time regression 40244 PostThreadMessage with WM_NOTIFY message should succeed 40317 PDF Eraser does not open with wine-mono 40348 Nvidia 800 series cards not detected correctly 40408 Photoshop CC 2015 now crashes when adjusting levels 40456 NFS MW + NFS Carbon: Car is flying above/under the track (D3DXVec3Transform needs arg...