Update of /cvsroot/pure-data/pd/portaudio/pa_win_wmme In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12672/pd/portaudio/pa_win_wmme
Modified Files: pa_win_wmme.c Log Message: FFT package selection
Zmoelnig's multi-'$' patch
big-soundfile support
Patch to set open directories (openpanel, savepanel)
patch to allow funny characters in extern names
fixed makefile.in to support intel mac
Index: pa_win_wmme.c =================================================================== RCS file: /cvsroot/pure-data/pd/portaudio/pa_win_wmme/pa_win_wmme.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** pa_win_wmme.c 30 May 2005 03:04:13 -0000 1.9 --- pa_win_wmme.c 3 Jun 2006 19:13:07 -0000 1.10 *************** *** 129,132 **** --- 129,139 ---- #endif
+ /* + provided in newer platform sdks + */ + #ifndef DWORD_PTR + #define DWORD_PTR DWORD + #endif + /************************************************* Constants ********/
*************** *** 1556,1563 **** if( isInput ) mmresult = waveInOpen( &((HWAVEIN*)handlesAndBuffers->waveHandles)[i], winMmeDeviceId, &wfx, ! (DWORD)handlesAndBuffers->bufferEvent, (DWORD)0, CALLBACK_EVENT ); else mmresult = waveOutOpen( &((HWAVEOUT*)handlesAndBuffers->waveHandles)[i], winMmeDeviceId, &wfx, ! (DWORD)handlesAndBuffers->bufferEvent, (DWORD)0, CALLBACK_EVENT );
if( mmresult != MMSYSERR_NOERROR ) --- 1563,1570 ---- if( isInput ) mmresult = waveInOpen( &((HWAVEIN*)handlesAndBuffers->waveHandles)[i], winMmeDeviceId, &wfx, ! (DWORD_PTR)handlesAndBuffers->bufferEvent, (DWORD_PTR)0, CALLBACK_EVENT ); else mmresult = waveOutOpen( &((HWAVEOUT*)handlesAndBuffers->waveHandles)[i], winMmeDeviceId, &wfx, ! (DWORD_PTR)handlesAndBuffers->bufferEvent, (DWORD_PTR)0, CALLBACK_EVENT );
if( mmresult != MMSYSERR_NOERROR ) *************** *** 1617,1620 **** --- 1624,1629 ---- if( ((HWAVEIN*)handlesAndBuffers->waveHandles)[i] ) mmresult = waveInClose( ((HWAVEIN*)handlesAndBuffers->waveHandles)[i] ); + else + mmresult = MMSYSERR_NOERROR; } else *************** *** 1622,1625 **** --- 1631,1636 ---- if( ((HWAVEOUT*)handlesAndBuffers->waveHandles)[i] ) mmresult = waveOutClose( ((HWAVEOUT*)handlesAndBuffers->waveHandles)[i] ); + else + mmresult = MMSYSERR_NOERROR; }