Home
last modified time | relevance | path

Searched refs:WAVEHDR (Results 1 – 19 of 19) sorted by relevance

/reactos/base/applications/sndrec32/
H A Daudio_waveout.cpp43 wave_headers = (WAVEHDR *) new BYTE[sizeof(WAVEHDR) * buffs]; in alloc_buffers_mem_()
46 ZeroMemory(wave_headers, sizeof(WAVEHDR) * buffs); in alloc_buffers_mem_()
63 ZeroMemory(wave_headers, sizeof(WAVEHDR) * buffers); in init_headers_()
97 err = waveOutPrepareHeader(waveout_handle, &wave_headers[i], sizeof(WAVEHDR)); in prep_headers_()
122 err = waveOutUnprepareHeader(waveout_handle, &wave_headers[i], sizeof(WAVEHDR)); in unprep_headers_()
262 err = waveOutWrite(waveout_handle, &wave_headers[i], sizeof(WAVEHDR)); in play()
351 WAVEHDR *phdr; in playing_procedure()
371 phdr = (WAVEHDR *)msg.lParam; in playing_procedure()
413 sizeof(WAVEHDR)); in playing_procedure()
H A Daudio_wavein.cpp45 wave_headers = (WAVEHDR *)new BYTE[sizeof(WAVEHDR) * buffs]; in alloc_buffers_mem_()
48 ZeroMemory(wave_headers, sizeof(WAVEHDR) * buffs); in alloc_buffers_mem_()
102 err = waveInPrepareHeader(wavein_handle, &wave_headers[i], sizeof(WAVEHDR)); in prep_headers_()
125 err = waveInUnprepareHeader(wavein_handle, &wave_headers[i], sizeof(WAVEHDR)); in unprep_headers_()
148 err = waveInAddBuffer(wavein_handle, &wave_headers[i], sizeof(WAVEHDR)); in add_buffers_to_driver_()
347 WAVEHDR *phdr; in recording_procedure()
369 phdr = (WAVEHDR *)msg.lParam; in recording_procedure()
391 waveInAddBuffer(_this->wavein_handle, phdr, sizeof(WAVEHDR)); in recording_procedure()
H A Daudio_waveout.hpp37 WAVEHDR *wave_headers;
H A Daudio_wavein.hpp44 WAVEHDR *wave_headers;
/reactos/dll/win32/winmm/
H A Dplaysound.c545 waveHdr = HeapAlloc(GetProcessHeap(), 0, 2 * sizeof(WAVEHDR) + 2 * bufsize); in proc_PlaySound()
548 waveHdr[0].lpData = (char*)waveHdr + 2 * sizeof(WAVEHDR); in proc_PlaySound()
549 waveHdr[1].lpData = (char*)waveHdr + 2 * sizeof(WAVEHDR) + bufsize; in proc_PlaySound()
554 if (waveOutPrepareHeader(hWave, &waveHdr[0], sizeof(WAVEHDR)) || in proc_PlaySound()
555 waveOutPrepareHeader(hWave, &waveHdr[1], sizeof(WAVEHDR))) { in proc_PlaySound()
578 if (waveOutWrite(hWave, &waveHdr[index], sizeof(WAVEHDR)) == MMSYSERR_NOERROR) { in proc_PlaySound()
594 waveOutUnprepareHeader(hWave, &waveHdr[0], sizeof(WAVEHDR)); in proc_PlaySound()
595 waveOutUnprepareHeader(hWave, &waveHdr[1], sizeof(WAVEHDR)); in proc_PlaySound()
H A Dwinmm.c2278 WAVEHDR* lpWaveOutHdr, UINT uSize) in waveOutPrepareHeader()
2285 if (lpWaveOutHdr == NULL || uSize < sizeof (WAVEHDR)) in waveOutPrepareHeader()
2315 if (lpWaveOutHdr == NULL || uSize < sizeof (WAVEHDR)) in waveOutUnprepareHeader()
2653 UINT WINAPI waveInPrepareHeader(HWAVEIN hWaveIn, WAVEHDR* lpWaveInHdr, in waveInPrepareHeader()
2661 if (lpWaveInHdr == NULL || uSize < sizeof (WAVEHDR)) in waveInPrepareHeader()
2684 UINT WINAPI waveInUnprepareHeader(HWAVEIN hWaveIn, WAVEHDR* lpWaveInHdr, in waveInUnprepareHeader()
2692 if (lpWaveInHdr == NULL || uSize < sizeof (WAVEHDR)) in waveInUnprepareHeader()
2718 WAVEHDR* lpWaveInHdr, UINT uSize) in waveInAddBuffer()
/reactos/dll/win32/mciwave/
H A Dmciwave.c858 waveHdr[0].lpData = (char*)waveHdr + 2 * sizeof(WAVEHDR); in WAVE_mciPlay()
865 waveOutPrepareHeader(wmw->hWave, &waveHdr[1], sizeof(WAVEHDR))) { in WAVE_mciPlay()
894 dwRet = waveOutWrite(wmw->hWave, &waveHdr[whidx], sizeof(WAVEHDR)); in WAVE_mciPlay()
913 waveOutUnprepareHeader(wmw->hWave, &waveHdr[0], sizeof(WAVEHDR)); in WAVE_mciPlay()
914 waveOutUnprepareHeader(wmw->hWave, &waveHdr[1], sizeof(WAVEHDR)); in WAVE_mciPlay()
1096 waveHdr[0].lpData = (char*)waveHdr + 2 * sizeof(WAVEHDR); in WAVE_mciRecord()
1104 waveInPrepareHeader(wmw->hWave, &waveHdr[1], sizeof(WAVEHDR))) { in WAVE_mciRecord()
1109 if (waveInAddBuffer(wmw->hWave, &waveHdr[0], sizeof(WAVEHDR)) || in WAVE_mciRecord()
1110 waveInAddBuffer(wmw->hWave, &waveHdr[1], sizeof(WAVEHDR))) { in WAVE_mciRecord()
1137 waveInUnprepareHeader(wmw->hWave, &waveHdr[0], sizeof(WAVEHDR)); in WAVE_mciRecord()
[all …]
/reactos/modules/rostests/winetests/winmm/
H A Dgenerated.c109 TEST_TYPE_SIZE (WAVEHDR, 48) in test_pack_WAVEHDR()
110 TEST_TYPE_ALIGN (WAVEHDR, 1) in test_pack_WAVEHDR()
111 TEST_FIELD_SIZE (WAVEHDR, lpData, 8) in test_pack_WAVEHDR()
112 TEST_FIELD_ALIGN (WAVEHDR, lpData, 1) in test_pack_WAVEHDR()
113 TEST_FIELD_OFFSET(WAVEHDR, lpData, 0) in test_pack_WAVEHDR()
120 TEST_FIELD_SIZE (WAVEHDR, dwUser, 8) in test_pack_WAVEHDR()
121 TEST_FIELD_ALIGN (WAVEHDR, dwUser, 1) in test_pack_WAVEHDR()
129 TEST_FIELD_SIZE (WAVEHDR, lpNext, 8) in test_pack_WAVEHDR()
130 TEST_FIELD_ALIGN (WAVEHDR, lpNext, 1) in test_pack_WAVEHDR()
2514 TEST_TYPE_SIZE (WAVEHDR, 32) in test_pack_WAVEHDR()
[all …]
H A Dwave.c611 WAVEHDR *frags = 0; in wave_out_test_deviceOut()
700 frags = HeapAlloc(GetProcessHeap(), 0, headers * sizeof(WAVEHDR)); in wave_out_test_deviceOut()
1568 WAVEHDR hdr[2]; in test_fragmentsize()
H A Dcapture.c135 WAVEHDR frag; in wave_in_test_deviceIn()
/reactos/dll/directx/wine/dsound/
H A Dcapture.c558 …device->pwave = HeapReAlloc(GetProcessHeap(), 0,device->pwave, device->nrofpwaves*sizeof(WAVEHDR)); in IDirectSoundCaptureBufferImpl_Start()
560 device->pwave = HeapAlloc(GetProcessHeap(), 0, device->nrofpwaves*sizeof(WAVEHDR)); in IDirectSoundCaptureBufferImpl_Start()
572 hres = mmErr(waveInPrepareHeader(device->hwi, &(device->pwave[c]),sizeof(WAVEHDR))); in IDirectSoundCaptureBufferImpl_Start()
576 waveInUnprepareHeader(device->hwi, &(device->pwave[c]),sizeof(WAVEHDR)); in IDirectSoundCaptureBufferImpl_Start()
580 hres = mmErr(waveInAddBuffer(device->hwi, &(device->pwave[c]), sizeof(WAVEHDR))); in IDirectSoundCaptureBufferImpl_Start()
584 waveInUnprepareHeader(device->hwi, &(device->pwave[c]),sizeof(WAVEHDR)); in IDirectSoundCaptureBufferImpl_Start()
790 waveInUnprepareHeader(hwi, &(This->pwave[index]), sizeof(WAVEHDR)); in DSOUND_capture_callback()
791 waveInPrepareHeader(hwi, &(This->pwave[index]), sizeof(WAVEHDR)); in DSOUND_capture_callback()
792 waveInAddBuffer(hwi, &(This->pwave[index]), sizeof(WAVEHDR)); in DSOUND_capture_callback()
H A Dprimary.c227 headers = HeapReAlloc(GetProcessHeap(),0,device->pwave, device->helfrags * sizeof(WAVEHDR)); in DSOUND_PrimaryOpen()
229 headers = HeapAlloc(GetProcessHeap(),0,device->helfrags * sizeof(WAVEHDR)); in DSOUND_PrimaryOpen()
248 err = mmErr(waveOutPrepareHeader(device->hwo,&device->pwave[c],sizeof(WAVEHDR))); in DSOUND_PrimaryOpen()
251 waveOutUnprepareHeader(device->hwo,&device->pwave[c],sizeof(WAVEHDR)); in DSOUND_PrimaryOpen()
289 waveOutUnprepareHeader(device->hwo, &device->pwave[c], sizeof(WAVEHDR)); in DSOUND_PrimaryClose()
H A Dmixer.c771 waveOutWrite(device->hwo, &device->pwave[wave_fragpos], sizeof(WAVEHDR)); in DSOUND_WaveQueue()
/reactos/drivers/wdm/audio/drivers/CMIDriver/cmicontrol/
H A Dmain.h79 WAVEHDR pwh;
H A Dmain.cpp204 if (waveOutWrite(hWave, &pwh, sizeof(WAVEHDR)) != MMSYSERR_NOERROR) { in playTestTone()
/reactos/dll/win32/mciavi32/
H A Dmmoutput.c554 *nHdr * (sizeof(WAVEHDR) + wma->ash_audio.dwSuggestedBufferSize)); in MCIAVI_OpenAudio()
564 *nHdr * sizeof(WAVEHDR) + i * wma->ash_audio.dwSuggestedBufferSize; in MCIAVI_OpenAudio()
566 if (waveOutPrepareHeader(wma->hWave, &waveHdr[i], sizeof(WAVEHDR))) { in MCIAVI_OpenAudio()
608 waveOutWrite(wma->hWave, &waveHdr[whidx], sizeof(WAVEHDR)); in MCIAVI_PlayAudioBlocks()
H A Dmciavi.c460 waveOutUnprepareHeader(wma->hWave, &waveHdr[i], sizeof(WAVEHDR)); in MCIAVI_player()
/reactos/dll/win32/msacm32.drv/
H A Dwavemap.c366 ash = HeapAlloc(GetProcessHeap(), 0, sizeof(ACMSTREAMHEADER) + sizeof(WAVEHDR) + size); in wodPrepare()
379 ash->pbDst = (LPBYTE)ash + sizeof(ACMSTREAMHEADER) + sizeof(WAVEHDR); in wodPrepare()
923 ash = HeapAlloc(GetProcessHeap(), 0, sizeof(ACMSTREAMHEADER) + sizeof(WAVEHDR) + size); in widPrepare()
932 ash->pbSrc = (LPBYTE)ash + sizeof(ACMSTREAMHEADER) + sizeof(WAVEHDR); in widPrepare()
/reactos/sdk/include/psdk/
H A Dmmsystem.h1022 } WAVEHDR,*PWAVEHDR,*LPWAVEHDR; typedef