search for: callback_function

Displaying 4 results from an estimated 4 matches for "callback_function".

2005 Jul 20
1
Build under XP with mingw
...ays crashes when trying to use the sound card. I've worked a bit around it and it crashes always in module wave_out.c. In details, the cause seems to be the use of waveOutOpen function, at line 128: [...] switch ( waveOutOpen ( &dev, deviceID, &outFormat, (DWORD)wave_callback, 0, CALLBACK_FUNCTION ) ) [...] All the parameters seem to have their right values to perform a successfully call. All but the forth: ... (DWORD)wave_callback, ... which seems not to work on my system. If i replace this parameter with a 0 (zero) this call goes ok, the sound starts but (as expected) it stops within a...
2016 Jul 11
0
[PATCH] wave_out: fix casts
...,7 @@ Set_WIN_Params ( FILE_T dummyFile , outFormat.nBlockAlign = (outFormat.wBitsPerSample + 7) / 8 * outFormat.nChannels; outFormat.nAvgBytesPerSec = outFormat.nSamplesPerSec * outFormat.nBlockAlign; - switch ( waveOutOpen ( &dev, deviceID, &outFormat, (DWORD)wave_callback, 0, CALLBACK_FUNCTION ) ) + switch ( waveOutOpen ( &dev, deviceID, &outFormat, (DWORD_PTR)wave_callback, 0, CALLBACK_FUNCTION ) ) { case MMSYSERR_ALLOCATED: return Box ( "Device is already open." ); case MMSYSERR_BADDEVICEID: return Box ( "The specified device is out of range." ); -...
2013 Mar 01
0
Wine release 1.5.25
...abilize CreateTimerQueueTimer callbacks over time. mmdevapi/tests: Produce audible 16bit output too. winmm: WAVE_OPEN_QUERY causes no WIM/WOM_OPEN notification. mmsystem: Use SEGPTR when the .spec says so. mmsystem: Do not rewrite input parameters. mmsystem: Always use CALLBACK_FUNCTION to update MIDI/WAVEHDR.dwFlags. winealsa: Reword some MIDI log messages. wineoss: Add midi MTC Quarter Frame support (on output). winmm: Prevent some MIDI race conditions. Ken Thomases (20): winemac: Discard old frame changed events when setting frame for off-screen windows...
2010 May 21
0
Wine release 1.2-rc1
...ew Intel renderer string. J?rg H?hle (7): winealsa: Supply FFFFFFFF for midiOutGetVolume, no garbage. winealsa: MOD_MIDIPORT has 0 voices and notes and FFFF ChannelMask. imaadp32: Refine size checks. winmm: WAVE/MIDI_MAPPER (-1) is a 32 bit UINT, not 16. winmm: A NULL CALLBACK_FUNCTION is acceptable since w2k. winmm: More MIDI boundary tests & fixes. winmm: Have MCI drivers handle notification for MCI_OPEN. Kai Blin (1): ws2_32: Stub out WS_SIO_UDP_CONNRESET WSioctl. Katayama Hirofumi MZ (1): wordpad: Add units (in/inch/pt). Louis Lenders (1):...