Home
last modified time | relevance | path

Searched refs:wFormatTag (Results 1 – 25 of 76) sorted by relevance

1234

/reactos/dll/win32/msg711.acm/
H A Dmsg711.c98 switch (wfx->wFormatTag) in G711_GetFormatIndex()
745 afd->pwfx->wFormatTag = afd->dwFormatTag; in G711_FormatDetails()
809 if (adfs->pwfxSrc->wFormatTag == WAVE_FORMAT_PCM) in G711_FormatSuggest()
816 switch (adfs->pwfxSrc->wFormatTag) in G711_FormatSuggest()
827 switch (adfs->pwfxDst->wFormatTag) in G711_FormatSuggest()
873 if (adsi->pwfxSrc->wFormatTag == WAVE_FORMAT_PCM && in G711_StreamOpen()
874 adsi->pwfxDst->wFormatTag == WAVE_FORMAT_PCM) in G711_StreamOpen()
984 if (adsi->pwfxSrc->wFormatTag == WAVE_FORMAT_PCM && in G711_StreamSize()
985 (adsi->pwfxDst->wFormatTag == WAVE_FORMAT_ALAW || in G711_StreamSize()
1010 if (adsi->pwfxSrc->wFormatTag == WAVE_FORMAT_PCM && in G711_StreamSize()
[all …]
/reactos/dll/win32/winemp3.acm/
H A Dmpegl3.c100 switch (wfx->wFormatTag) in MPEG3_GetFormatIndex()
230 if (adsi->pwfxSrc->wFormatTag == WAVE_FORMAT_PCM && in MPEG3_StreamOpen()
231 adsi->pwfxDst->wFormatTag == WAVE_FORMAT_PCM) in MPEG3_StreamOpen()
237 adsi->pwfxDst->wFormatTag == WAVE_FORMAT_PCM) in MPEG3_StreamOpen()
612 adsi->pwfxDst->wFormatTag == WAVE_FORMAT_PCM) in MPEG3_StreamOpen()
777 afd->pwfx->wFormatTag = afd->dwFormatTag; in MPEG3_FormatDetails()
833 if (adfs->pwfxSrc->wFormatTag == WAVE_FORMAT_PCM) in MPEG3_FormatSuggest()
839 adfs->pwfxDst->wFormatTag = WAVE_FORMAT_PCM; in MPEG3_FormatSuggest()
846 switch (adfs->pwfxDst->wFormatTag) in MPEG3_FormatSuggest()
877 if (adsi->pwfxSrc->wFormatTag == WAVE_FORMAT_PCM && in MPEG3_StreamSize()
[all …]
/reactos/dll/win32/msadp32.acm/
H A Dmsadp32.c106 switch (wfx->wFormatTag) in ADPCM_GetFormatIndex()
128 switch (wfx->wFormatTag) in ADPCM_GetFormatIndex()
466 afd->pwfx->wFormatTag = afd->dwFormatTag; in ADPCM_FormatDetails()
515 adfs->pwfxSrc->wFormatTag == adfs->pwfxDst->wFormatTag || in ADPCM_FormatSuggest()
527 if (adfs->pwfxSrc->wFormatTag == WAVE_FORMAT_PCM) in ADPCM_FormatSuggest()
534 if (adfs->pwfxSrc->wFormatTag == WAVE_FORMAT_PCM) in ADPCM_FormatSuggest()
541 switch (adfs->pwfxDst->wFormatTag) in ADPCM_FormatSuggest()
591 adsi->pwfxDst->wFormatTag == WAVE_FORMAT_PCM) in ADPCM_StreamOpen()
687 if (adsi->pwfxSrc->wFormatTag == WAVE_FORMAT_PCM && in ADPCM_StreamSize()
688 adsi->pwfxDst->wFormatTag == WAVE_FORMAT_ADPCM) in ADPCM_StreamSize()
[all …]
/reactos/dll/win32/imaadp32.acm/
H A Dimaadp32.c90 switch (wfx->wFormatTag) in ADPCM_GetFormatIndex()
112 switch (wfx->wFormatTag) in ADPCM_GetFormatIndex()
610 afd->pwfx->wFormatTag = afd->dwFormatTag; in ADPCM_FormatDetails()
657 adfs->pwfxSrc->wFormatTag == adfs->pwfxDst->wFormatTag || in ADPCM_FormatSuggest()
668 if (adfs->pwfxSrc->wFormatTag == WAVE_FORMAT_PCM) in ADPCM_FormatSuggest()
675 if (adfs->pwfxSrc->wFormatTag == WAVE_FORMAT_PCM) in ADPCM_FormatSuggest()
682 switch (adfs->pwfxDst->wFormatTag) in ADPCM_FormatSuggest()
735 if (adsi->pwfxSrc->wFormatTag == WAVE_FORMAT_PCM && in ADPCM_StreamOpen()
736 adsi->pwfxDst->wFormatTag == WAVE_FORMAT_PCM) in ADPCM_StreamOpen()
832 if (adsi->pwfxSrc->wFormatTag == WAVE_FORMAT_PCM && in ADPCM_StreamSize()
[all …]
/reactos/dll/win32/msgsm32.acm/
H A Dmsgsm32.c145 switch (wfx->wFormatTag) in GSM_FormatValidate()
268 afd->pwfx->wFormatTag = afd->dwFormatTag; in GSM_FormatDetails()
324 if (adfs->pwfxSrc->wFormatTag == WAVE_FORMAT_PCM) in GSM_FormatSuggest()
331 switch (adfs->pwfxSrc->wFormatTag) in GSM_FormatSuggest()
339 switch (adfs->pwfxDst->wFormatTag) in GSM_FormatSuggest()
412 if (adsi->pwfxSrc->wFormatTag == WAVE_FORMAT_PCM && in GSM_StreamSize()
413 adsi->pwfxDst->wFormatTag == WAVE_FORMAT_GSM610) in GSM_StreamSize()
418 adsi->pwfxDst->wFormatTag == WAVE_FORMAT_PCM) in GSM_StreamSize()
429 if (adsi->pwfxSrc->wFormatTag == WAVE_FORMAT_PCM && in GSM_StreamSize()
430 adsi->pwfxDst->wFormatTag == WAVE_FORMAT_GSM610) in GSM_StreamSize()
[all …]
/reactos/dll/win32/msacm32/
H A Dstream.c166 if (pwfxSrc->wFormatTag == WAVE_FORMAT_PCM) { in acmStreamOpen()
173 if (pwfxDst->wFormatTag == WAVE_FORMAT_PCM) { in acmStreamOpen()
181 pwfxSrc->wFormatTag, pwfxSrc->nChannels, pwfxSrc->nSamplesPerSec, pwfxSrc->nAvgBytesPerSec, in acmStreamOpen()
185 pwfxDst->wFormatTag, pwfxDst->nChannels, pwfxDst->nSamplesPerSec, pwfxDst->nAvgBytesPerSec, in acmStreamOpen()
194 if (pwfltr && (pwfxSrc->wFormatTag != pwfxDst->wFormatTag)) { in acmStreamOpen()
200 if (pwfxSrc->wFormatTag != WAVE_FORMAT_PCM) wfxSrcSize += pwfxSrc->cbSize; in acmStreamOpen()
201 if (pwfxDst->wFormatTag != WAVE_FORMAT_PCM) wfxDstSize += pwfxDst->cbSize; in acmStreamOpen()
249 !MSACM_FindFormatTagInCache(wadi, pwfxSrc->wFormatTag, NULL) || in acmStreamOpen()
250 !MSACM_FindFormatTagInCache(wadi, pwfxDst->wFormatTag, NULL)) in acmStreamOpen()
320 if ((was->drvInst.pwfxSrc->wFormatTag == WAVE_FORMAT_ADPCM || in acmStreamPrepareHeader()
[all …]
H A Dformat.c68 (paftd->dwFormatTag == affd->afc->pwfx->wFormatTag)) || in MSACM_FillFormatTagsCB()
90 afd.pwfx->wFormatTag = paftd->dwFormatTag; in MSACM_FillFormatTagsCB()
459 if (pafd->dwFormatTag != pafd->pwfx->wFormatTag) { in acmFormatDetailsW()
597 pafd->pwfx->wFormatTag = pafd->dwFormatTag; in MSACM_FormatEnumHelper()
609 aftd.dwFormatTag != pwfxRef->wFormatTag) in MSACM_FormatEnumHelper()
635 if ((fdwEnum & ACM_FORMATENUMF_WFORMATTAG) && aftd.dwFormatTag != pwfxRef->wFormatTag) in MSACM_FormatEnumHelper()
709 (pafd->dwFormatTag != pafd->pwfx->wFormatTag)) in acmFormatEnumW()
764 if (pwfxSrc->wFormatTag == WAVE_FORMAT_PCM && !had && in acmFormatSuggest()
781 aftd.dwFormatTag = pwfxDst->wFormatTag; in acmFormatSuggest()
792 adfg.cbwfxSrc = (pwfxSrc->wFormatTag == WAVE_FORMAT_PCM) ? in acmFormatSuggest()
H A Dpcmconverter.c1058 afd->pwfx->wFormatTag = WAVE_FORMAT_PCM; in PCM_FormatDetails()
1110 if (adfs->pwfxSrc->wFormatTag != WAVE_FORMAT_PCM) { in PCM_FormatSuggest()
1111 WARN("source format 0x%x not supported\n", adfs->pwfxSrc->wFormatTag); in PCM_FormatSuggest()
1114 adfs->pwfxDst->wFormatTag = adfs->pwfxSrc->wFormatTag; in PCM_FormatSuggest()
1116 if (adfs->pwfxDst->wFormatTag != WAVE_FORMAT_PCM) { in PCM_FormatSuggest()
1117 WARN("destination format 0x%x not supported\n", adfs->pwfxDst->wFormatTag); in PCM_FormatSuggest()
1284 …adsi->pwfxSrc->wFormatTag, adsi->pwfxSrc->nChannels, adsi->pwfxSrc->nSamplesPerSec, adsi->pwfxSrc-… in PCM_StreamConvert()
1287 …adsi->pwfxDst->wFormatTag, adsi->pwfxDst->nChannels, adsi->pwfxDst->nSamplesPerSec, adsi->pwfxDst-… in PCM_StreamConvert()
/reactos/modules/rostests/winetests/msacm32/
H A Dmsacm.c139 dst.wFormatTag = 0xbeef; in FormatTagEnumProc()
184 dst.wFormatTag = 0xbeef; in FormatTagEnumProc()
299 dst->wFormatTag = pafd->pwfx->wFormatTag; in FormatEnumProc()
879 dst.wFormatTag = WAVE_FORMAT_PCM; in test_prepareheader()
1153 src.wFormatTag = WAVE_FORMAT_PCM; in test_acmFormatSuggest()
1164 ok(src.wFormatTag == dst.wFormatTag, "expected %d, got %d\n", src.wFormatTag, dst.wFormatTag); in test_acmFormatSuggest()
1179 ok(src.wFormatTag == dst.wFormatTag, "expected %d, got %d\n", src.wFormatTag, dst.wFormatTag); in test_acmFormatSuggest()
1193 ok(dst.wFormatTag == WAVE_FORMAT_PCM, "expected %d, got %d\n", WAVE_FORMAT_PCM, dst.wFormatTag); in test_acmFormatSuggest()
1199 src.wFormatTag = 0xbeef; in test_acmFormatSuggest()
1225 src.wFormatTag = WAVE_FORMAT_PCM; in test_acmFormatSuggest()
[all …]
/reactos/dll/directx/dsound_new/
H A Dmisc.c91 DataFormat.WaveFormatEx.wFormatTag = WaveFormatEx->wFormatTag; in SetPinFormat()
153 DataFormat->WaveFormatEx.wFormatTag = WaveFormatEx->wFormatTag; in DoDataIntersection()
187 WaveFormatOut->wFormatTag = WaveFormatEx->wFormatTag; in DoDataIntersection()
252 DataFormat->WaveFormatEx.wFormatTag = WaveFormatEx->wFormatTag; in OpenPin()
/reactos/modules/rostests/winetests/dsound/
H A Ddsound.c597 (wfx.wFormatTag!=wfx2.wFormatTag || in test_primary_secondary()
1260 wfx.wFormatTag = WAVE_FORMAT_PCM; in test_invalid_fmts()
1343 ok(wfx.wFormatTag == WAVE_FORMAT_PCM, "format: 0x%x\n", wfx.wFormatTag); in test_invalid_fmts()
1360 ok(wfx.wFormatTag == WAVE_FORMAT_PCM, "format: 0x%x\n", wfx.wFormatTag); in test_invalid_fmts()
1377 ok(wfx.wFormatTag == WAVE_FORMAT_PCM, "format: 0x%x\n", wfx.wFormatTag); in test_invalid_fmts()
1384 wfx.wFormatTag = WAVE_FORMAT_ALAW; in test_invalid_fmts()
1395 ok(wfx.wFormatTag == WAVE_FORMAT_ALAW, "format: 0x%x\n", wfx.wFormatTag); in test_invalid_fmts()
1408 fmtex.Format.wFormatTag = WAVE_FORMAT_EXTENSIBLE; in test_invalid_fmts()
1422 … ok(fmtex.Format.wFormatTag == WAVE_FORMAT_EXTENSIBLE, "format: 0x%x\n", fmtex.Format.wFormatTag); in test_invalid_fmts()
1448 … ok(fmtex.Format.wFormatTag == WAVE_FORMAT_EXTENSIBLE, "format: 0x%x\n", fmtex.Format.wFormatTag); in test_invalid_fmts()
[all …]
H A Dds3d8.c211 ieee = (wfx.wFormatTag == WAVE_FORMAT_IEEE_FLOAT); in test_buffer8()
224 wfx.wFormatTag,wfx.nSamplesPerSec,wfx.wBitsPerSample, in test_buffer8()
279 (wfx.wFormatTag!=wfx2.wFormatTag || in test_buffer8()
284 wfx2.wFormatTag,wfx2.nSamplesPerSec,wfx2.wBitsPerSample, in test_buffer8()
287 wfx.wFormatTag,wfx.nSamplesPerSec,wfx.wBitsPerSample, in test_buffer8()
/reactos/modules/rostests/winetests/winmm/
H A Dcapture.c204 get_format_str(pwfx->wFormatTag), in wave_in_test_deviceIn()
401 format.wFormatTag=WAVE_FORMAT_PCM; in wave_in_test_device()
429 pwfx->wFormatTag=WAVE_FORMAT_PCM; in wave_in_test_device()
447 format.wFormatTag=WAVE_FORMAT_MULAW; in wave_in_test_device()
466 format.wFormatTag=WAVE_FORMAT_ADPCM; in wave_in_test_device()
486 wfex.Format.wFormatTag=WAVE_FORMAT_EXTENSIBLE; in wave_in_test_device()
511 wfex.Format.wFormatTag=WAVE_FORMAT_EXTENSIBLE; in wave_in_test_device()
536 wfex.Format.wFormatTag=WAVE_FORMAT_EXTENSIBLE; in wave_in_test_device()
564 wfex.Format.wFormatTag=WAVE_FORMAT_EXTENSIBLE; in wave_in_test_device()
590 wfex.Format.wFormatTag=WAVE_FORMAT_EXTENSIBLE; in wave_in_test_device()
[all …]
H A Dwave.c56 wfx.wFormatTag = WAVE_FORMAT_PCM; in test_multiple_waveopens()
1004 format.wFormatTag=WAVE_FORMAT_PCM; in wave_out_test_device()
1024 format.wFormatTag=WAVE_FORMAT_PCM; in wave_out_test_device()
1051 format.wFormatTag=WAVE_FORMAT_PCM; in wave_out_test_device()
1135 pwfx->wFormatTag=WAVE_FORMAT_PCM; in wave_out_test_device()
1176 format.wFormatTag=WAVE_FORMAT_MULAW; in wave_out_test_device()
1212 wfa.wfx.wFormatTag=WAVE_FORMAT_IMA_ADPCM; in wave_out_test_device()
1427 format.wFormatTag = WAVE_FORMAT_PCM; in wave_out_test_device()
1513 format.wFormatTag=WAVE_FORMAT_PCM; in wave_out_tests()
1578 fmt.wFormatTag = WAVE_FORMAT_PCM; in test_fragmentsize()
[all …]
/reactos/dll/win32/avifil32/
H A Dwavfile.c756 if (This->lpFormat->wFormatTag != WAVE_FORMAT_PCM) in IAVIStream_fnSetFormat()
1128 This->lpFormat->wFormatTag = WAVE_FORMAT_MULAW; in AVIFILE_LoadSunFile()
1132 This->lpFormat->wFormatTag = WAVE_FORMAT_PCM; in AVIFILE_LoadSunFile()
1136 This->lpFormat->wFormatTag = WAVE_FORMAT_PCM; in AVIFILE_LoadSunFile()
1140 This->lpFormat->wFormatTag = WAVE_FORMAT_PCM; in AVIFILE_LoadSunFile()
1144 This->lpFormat->wFormatTag = WAVE_FORMAT_PCM; in AVIFILE_LoadSunFile()
1148 This->lpFormat->wFormatTag = WAVE_FORMAT_ALAW; in AVIFILE_LoadSunFile()
1152 This->lpFormat->wFormatTag = WAVE_FORMAT_G721_ADPCM; in AVIFILE_LoadSunFile()
1159 This->lpFormat->wFormatTag = WAVE_FORMAT_G723_ADPCM; in AVIFILE_LoadSunFile()
1231 This->lpFormat->wFormatTag != WAVE_FORMAT_PCM) { in AVIFILE_SaveFile()
[all …]
/reactos/base/applications/sndrec32/
H A Daudio_resampler_acm.cpp31 wformat_src.wFormatTag = WAVE_FORMAT_PCM; in init_()
38 wformat_dst.wFormatTag = WAVE_FORMAT_PCM; in init_()
/reactos/modules/rostests/winetests/amstream/
H A Damstream.c786 wave_format.wFormatTag = 0xdead; in test_audiodata_get_format()
795 ok(WAVE_FORMAT_PCM == wave_format.wFormatTag, "got %u\n", wave_format.wFormatTag); in test_audiodata_get_format()
828 wave_format.Format.wFormatTag = WAVE_FORMAT_EXTENSIBLE; in test_audiodata_set_format()
841 wave_format.Format.wFormatTag = WAVE_FORMAT_PCM; in test_audiodata_set_format()
851 wave_format.Format.wFormatTag = 0xdead; in test_audiodata_set_format()
860 ok(WAVE_FORMAT_PCM == wave_format.Format.wFormatTag, "got %u\n", wave_format.Format.wFormatTag); in test_audiodata_set_format()
/reactos/dll/win32/mciwave/
H A Dmciwave.c166 wmw->wfxRef.wFormatTag = WAVE_FORMAT_PCM; in WAVE_drvOpen()
298 TRACE("wFormatTag=%04X !\n", pwfx->wFormatTag); in WAVE_mciReadFmt()
306 if ((pwfx->wFormatTag != WAVE_FORMAT_PCM) in WAVE_mciReadFmt()
334 wmw->lpWaveFormat->wFormatTag = WAVE_FORMAT_PCM; in WAVE_mciDefaultFmt()
366 if (wmw->lpWaveFormat->wFormatTag == WAVE_FORMAT_PCM) { in WAVE_mciCreateRIFFSkeleton()
388 assert(wmw->wfxRef.wFormatTag == WAVE_FORMAT_PCM); in WAVE_mciCreateRIFFSkeleton()
777 if (wmw->lpWaveFormat->wFormatTag == WAVE_FORMAT_PCM) { in WAVE_mciPlay()
1381 TRACE("MCI_WAVE_SET_FORMATTAG = %d\n", lpParms->wFormatTag); in WAVE_mciSet()
1383 if (lpParms->wFormatTag != WAVE_FORMAT_PCM) in WAVE_mciSet()
1554 if (wmw->lpWaveFormat->wFormatTag != WAVE_FORMAT_PCM) in WAVE_mciStatus()
[all …]
/reactos/sdk/include/psdk/
H A Dmmreg.h78 WORD wFormatTag; member
549 WORD wFormatTag; member
560 WORD wFormatTag; member
/reactos/dll/directx/wine/amstream/
H A Daudiodata.c197 if (WAVE_FORMAT_PCM != wave_format->wFormatTag) in IAudioDataImpl_SetFormat()
238 object->wave_format.wFormatTag = WAVE_FORMAT_PCM; in AMAudioData_create()
/reactos/drivers/multimedia/audio/sound/
H A Dwave.h12 unsigned short wFormatTag ; //2 18 member
/reactos/dll/directx/wine/quartz/
H A Dacmwrapper.c268 if (!wfx || wfx->wFormatTag == WAVE_FORMAT_PCM || wfx->wFormatTag == WAVE_FORMAT_EXTENSIBLE) in ACMWrapper_SetMediaType()
282 This->pWfOut->wFormatTag = WAVE_FORMAT_PCM; in ACMWrapper_SetMediaType()
/reactos/drivers/wdm/audio/drivers/ac97/
H A Dminiport.cpp664 WaveFormat->Format.wFormatTag = WAVE_FORMAT_EXTENSIBLE; in STDMETHODIMP_()
875 if ((waveFormat->Format.wFormatTag != WAVE_FORMAT_EXTENSIBLE) && in TestDataFormat()
876 (waveFormat->Format.wFormatTag != WAVE_FORMAT_PCM)) in TestDataFormat()
885 if (waveFormat->Format.wFormatTag == WAVE_FORMAT_EXTENSIBLE) in TestDataFormat()
953 if (waveFormat->Format.wFormatTag == WAVE_FORMAT_EXTENSIBLE) in TestDataFormat()
/reactos/sdk/lib/drivers/sound/mmixer/
H A Dwave.c120 DataFormat->WaveFormatEx.wFormatTag = WaveFormatEx->wFormatTag; in MMixerInitializeDataFormat()
136 if (WaveFormatEx->wFormatTag == WAVE_FORMAT_EXTENSIBLE) in MMixerInitializeDataFormat()
255 cbSize = WaveFormatEx->wFormatTag == WAVE_FORMAT_PCM ? 0 : WaveFormatEx->cbSize; in MMixerOpenWavePin()
/reactos/modules/rosapps/applications/net/tsclient/rdesktop/
H A Drdpsnd.c93 in_uint16_le(in, format->wFormatTag); in rdpsnd_process_negotiate()
137 out_uint16_le(out, format->wFormatTag); in rdpsnd_process_negotiate()

1234