Home
last modified time | relevance | path

Searched refs:nSamplesPerSec (Results 1 – 25 of 84) sorted by relevance

1234

/reactos/modules/rostests/winetests/winmm/
H A Dcapture.c141 DWORD nSamplesPerSec = pwfx->nSamplesPerSec; in wave_in_test_deviceIn() local
179 pwfx->nSamplesPerSec==nSamplesPerSec, in wave_in_test_deviceIn()
450 format.nSamplesPerSec=8000; in wave_in_test_device()
469 format.nSamplesPerSec=22050; in wave_in_test_device()
489 wfex.Format.nSamplesPerSec=22050; in wave_in_test_device()
514 wfex.Format.nSamplesPerSec=22050; in wave_in_test_device()
539 wfex.Format.nSamplesPerSec=22050; in wave_in_test_device()
567 wfex.Format.nSamplesPerSec=22050; in wave_in_test_device()
593 wfex.Format.nSamplesPerSec=22050; in wave_in_test_device()
618 wfex.Format.nSamplesPerSec=22050; in wave_in_test_device()
[all …]
H A Dwave.c58 wfx.nSamplesPerSec = 11025; in test_multiple_waveopens()
616 DWORD nSamplesPerSec = pwfx->nSamplesPerSec; in wave_out_test_deviceOut() local
695 pwfx->nSamplesPerSec==nSamplesPerSec, in wave_out_test_deviceOut()
1007 format.nSamplesPerSec=22050; in wave_out_test_device()
1179 format.nSamplesPerSec=8000; in wave_out_test_device()
1214 wfa.wfx.nSamplesPerSec=11025; in wave_out_test_device()
1429 format.nSamplesPerSec = 11025; in wave_out_test_device()
1442 format.nSamplesPerSec = 0; in wave_out_test_device()
1516 format.nSamplesPerSec=44100; in wave_out_tests()
1580 fmt.nSamplesPerSec = 44100; in test_fragmentsize()
[all …]
/reactos/dll/win32/msg711.acm/
H A Dmsg711.c119 wfx->nSamplesPerSec == fmts[i].rate && in G711_GetFormatIndex()
751 afd->pwfx->nSamplesPerSec = PCM_Formats[afd->dwFormatIndex].rate; in G711_FormatDetails()
759 afd->pwfx->nSamplesPerSec = ALaw_Formats[afd->dwFormatIndex].rate; in G711_FormatDetails()
768 afd->pwfx->nSamplesPerSec = ULaw_Formats[afd->dwFormatIndex].rate; in G711_FormatDetails()
805 adfs->pwfxDst->nSamplesPerSec = adfs->pwfxSrc->nSamplesPerSec; in G711_FormatSuggest()
884 if (adsi->pwfxSrc->nSamplesPerSec != adsi->pwfxDst->nSamplesPerSec || in G711_StreamOpen()
896 if (adsi->pwfxSrc->nSamplesPerSec != adsi->pwfxDst->nSamplesPerSec || in G711_StreamOpen()
911 if (adsi->pwfxSrc->nSamplesPerSec != adsi->pwfxDst->nSamplesPerSec || in G711_StreamOpen()
923 if (adsi->pwfxSrc->nSamplesPerSec != adsi->pwfxDst->nSamplesPerSec || in G711_StreamOpen()
935 if (adsi->pwfxSrc->nSamplesPerSec != adsi->pwfxDst->nSamplesPerSec || in G711_StreamOpen()
[all …]
/reactos/modules/rostests/winetests/dsound/
H A Ddsound.c598 wfx.nSamplesPerSec!=wfx2.nSamplesPerSec || in test_primary_secondary()
1262 wfx.nSamplesPerSec = 44100; in test_invalid_fmts()
1270 wfx.nSamplesPerSec = 44100; in test_invalid_fmts()
1294 wfx.nSamplesPerSec = 0; in test_invalid_fmts()
1345 ok(wfx.nSamplesPerSec == 44100, "rate: %u\n", wfx.nSamplesPerSec); in test_invalid_fmts()
1362 ok(wfx.nSamplesPerSec == 44100, "rate: %u\n", wfx.nSamplesPerSec); in test_invalid_fmts()
1379 ok(wfx.nSamplesPerSec == 44100, "rate: %u\n", wfx.nSamplesPerSec); in test_invalid_fmts()
1397 ok(wfx.nSamplesPerSec == 44100, "rate: %u\n", wfx.nSamplesPerSec); in test_invalid_fmts()
1424 ok(fmtex.Format.nSamplesPerSec == 44100, "rate: %u\n", fmtex.Format.nSamplesPerSec); in test_invalid_fmts()
1450 ok(fmtex.Format.nSamplesPerSec == 44100, "rate: %u\n", fmtex.Format.nSamplesPerSec); in test_invalid_fmts()
[all …]
H A Dds3d.c42 nb_samples=(int)(duration*wfx->nSamplesPerSec); in wave_generate_la()
46 double y=sin(440.0*2*PI*i/wfx->nSamplesPerSec); in wave_generate_la()
160 wfx->nSamplesPerSec=rate; in init_format()
168 wfx->nAvgBytesPerSec=wfx->nSamplesPerSec*wfx->nBlockAlign; in init_format()
383 wfx.wFormatTag,wfx.nSamplesPerSec,wfx.wBitsPerSample, in test_buffer()
398 DWORD f = set_frequency?frequency:wfx.nSamplesPerSec; in test_buffer()
439 wfx.nSamplesPerSec!=wfx2.nSamplesPerSec || in test_buffer()
446 wfx.wFormatTag,wfx.nSamplesPerSec,wfx.wBitsPerSample, in test_buffer()
492 frequency, (440 * frequency) / wfx.nSamplesPerSec); in test_buffer()
815 wfx.nSamplesPerSec,wfx.wBitsPerSample,wfx.nChannels, in test_secondary()
[all …]
H A Dds3d8.c224 wfx.wFormatTag,wfx.nSamplesPerSec,wfx.wBitsPerSample, in test_buffer8()
239 ok(freq==wfx.nSamplesPerSec,"The frequency returned by GetFrequency " in test_buffer8()
240 "%d does not match the format %d\n",freq,wfx.nSamplesPerSec); in test_buffer8()
280 wfx.nSamplesPerSec!=wfx2.nSamplesPerSec || in test_buffer8()
284 wfx2.wFormatTag,wfx2.nSamplesPerSec,wfx2.wBitsPerSample, in test_buffer8()
287 wfx.wFormatTag,wfx.nSamplesPerSec,wfx.wBitsPerSample, in test_buffer8()
331 wfx.nSamplesPerSec, wfx.wBitsPerSample,wfx.nChannels); in test_buffer8()
661 wfx.nSamplesPerSec,wfx.wBitsPerSample,wfx.nChannels, in test_secondary8()
662 wfx1.nSamplesPerSec,wfx1.wBitsPerSample,wfx1.nChannels); in test_secondary8()
672 wfx.nSamplesPerSec,wfx.wBitsPerSample,wfx.nChannels, in test_secondary8()
H A Ddsound8.c597 wfx.nSamplesPerSec!=wfx2.nSamplesPerSec || in test_primary_secondary8()
602 wfx2.wFormatTag,wfx2.nSamplesPerSec,wfx2.wBitsPerSample, in test_primary_secondary8()
605 wfx.wFormatTag,wfx.nSamplesPerSec,wfx.wBitsPerSample, in test_primary_secondary8()
626 wfx.nSamplesPerSec,wfx.wBitsPerSample,wfx.nChannels,format_tags[tag], in test_primary_secondary8()
627 wfx2.nSamplesPerSec,wfx2.wBitsPerSample,wfx2.nChannels); in test_primary_secondary8()
866 wfx.nSamplesPerSec,wfx.wBitsPerSample,wfx.nChannels,format_tags[tag], in test_secondary8()
867 wfx1.nSamplesPerSec,wfx1.wBitsPerSample,wfx1.nChannels); in test_secondary8()
985 fmt.nSamplesPerSec = 48000; in test_hw_buffers()
988 fmt.nAvgBytesPerSec = fmt.nBlockAlign * fmt.nSamplesPerSec; in test_hw_buffers()
992 bufdesc.dwBufferBytes = fmt.nSamplesPerSec * fmt.nBlockAlign / 10; in test_hw_buffers()
/reactos/dll/win32/msgsm32.acm/
H A Dmsgsm32.c158 if (wfx->nAvgBytesPerSec != wfx->nBlockAlign * wfx->nSamplesPerSec) in GSM_FormatValidate()
162 wfx->nBlockAlign * wfx->nSamplesPerSec); in GSM_FormatValidate()
188 if (wfx->nAvgBytesPerSec != wfx->nSamplesPerSec * 65 / 320) in GSM_FormatValidate()
191 wfx->nAvgBytesPerSec, wfx->nSamplesPerSec * 65 / 320); in GSM_FormatValidate()
274 afd->pwfx->nSamplesPerSec = gsm_rates[afd->dwFormatIndex]; in GSM_FormatDetails()
282 afd->pwfx->nSamplesPerSec = gsm_rates[afd->dwFormatIndex]; in GSM_FormatDetails()
285 afd->pwfx->nAvgBytesPerSec = afd->pwfx->nSamplesPerSec * 65 / 320; in GSM_FormatDetails()
320 adfs->pwfxDst->nSamplesPerSec = adfs->pwfxSrc->nSamplesPerSec; in GSM_FormatSuggest()
343 adfs->pwfxDst->nAvgBytesPerSec = adfs->pwfxDst->nSamplesPerSec * 2; in GSM_FormatSuggest()
349 adfs->pwfxDst->nAvgBytesPerSec = adfs->pwfxDst->nSamplesPerSec * 65 / 320; in GSM_FormatSuggest()
[all …]
/reactos/dll/directx/dsound_new/
H A Dmisc.c92 DataFormat.WaveFormatEx.nSamplesPerSec = WaveFormatEx->nSamplesPerSec; in SetPinFormat()
154 DataFormat->WaveFormatEx.nSamplesPerSec = SampleFrequency; in DoDataIntersection()
190 WaveFormatOut->nSamplesPerSec = SampleFrequency; in DoDataIntersection()
197 … WaveFormatEx->nChannels, WaveFormatEx->wBitsPerSample, WaveFormatEx->nSamplesPerSec, in DoDataIntersection()
198 … WaveFormatOut->nChannels, WaveFormatOut->wBitsPerSample, WaveFormatOut->nSamplesPerSec); in DoDataIntersection()
254 DataFormat->WaveFormatEx.nSamplesPerSec = WaveFormatEx->nSamplesPerSec; in OpenPin()
551 if (WaveFormatOut->nSamplesPerSec < AudioRange->MinimumSampleFrequency) in CreateCompatiblePin()
552 WaveFormatOut->nSamplesPerSec = AudioRange->MinimumSampleFrequency; in CreateCompatiblePin()
553 else if (WaveFormatOut->nSamplesPerSec > AudioRange->MaximumSampleFrequency) in CreateCompatiblePin()
554 WaveFormatOut->nSamplesPerSec = AudioRange->MaximumSampleFrequency; in CreateCompatiblePin()
[all …]
/reactos/sdk/lib/drivers/sound/mmebuddy/wave/
H A DwidMessage.c67 if (OpenParameters->lpFormat->nSamplesPerSec > 100000) in widMessage()
68 OpenParameters->lpFormat->nSamplesPerSec = 100000; in widMessage()
69 if (OpenParameters->lpFormat->nSamplesPerSec < 5000) in widMessage()
70 OpenParameters->lpFormat->nSamplesPerSec = 5000; in widMessage()
/reactos/dll/win32/msacm32.drv/
H A Dwavemap.c218 wfx.nSamplesPerSec=lpDesc->lpFormat->nSamplesPerSec; in wodOpen()
221 TRY(wfx.nSamplesPerSec, 8); in wodOpen()
228 wfx.nSamplesPerSec=lpDesc->lpFormat->nSamplesPerSec; in wodOpen()
231 TRY(wfx.nSamplesPerSec, 8); in wodOpen()
234 TRY(wfx.nSamplesPerSec, 8); in wodOpen()
800 wfx.nSamplesPerSec=lpDesc->lpFormat->nSamplesPerSec; in widOpen()
803 TRY(wfx.nSamplesPerSec, 16); in widOpen()
804 TRY(wfx.nSamplesPerSec, 8); in widOpen()
806 TRY(wfx.nSamplesPerSec, 16); in widOpen()
807 TRY(wfx.nSamplesPerSec, 8); in widOpen()
[all …]
/reactos/dll/directx/wine/dsound/
H A Dprimary.c36 DWORD DSOUND_fraglen(DWORD nSamplesPerSec, DWORD nBlockAlign) in DSOUND_fraglen() argument
46 if (nSamplesPerSec <= 12800) in DSOUND_fraglen()
49 if (nSamplesPerSec <= 25600) in DSOUND_fraglen()
52 if (nSamplesPerSec <= 51200) in DSOUND_fraglen()
464 DWORD nSamplesPerSec, bpp, chans; in primarybuffer_SetFormat() local
490 nSamplesPerSec = device->pwfx->nSamplesPerSec; in primarybuffer_SetFormat()
507 …if (forced && (device->pwfx->nSamplesPerSec/100 != wfex->nSamplesPerSec/100 || err == DSERR_BADFOR… in primarybuffer_SetFormat()
559 if (wfex->nSamplesPerSec/100 != device->pwfx->nSamplesPerSec/100 && forced && device->buffer) in primarybuffer_SetFormat()
562 device->pwfx->nSamplesPerSec = wfex->nSamplesPerSec; in primarybuffer_SetFormat()
577 …if (nSamplesPerSec != device->pwfx->nSamplesPerSec || bpp != device->pwfx->wBitsPerSample || chans… in primarybuffer_SetFormat()
[all …]
/reactos/modules/rostests/winetests/mmdevapi/
H A Drender.c205 trace("rate: %u\n", pwfx->nSamplesPerSec); in test_audioclient()
399 fmt.nSamplesPerSec = win_formats[i][0]; in test_formats()
412 pwfx->nChannels > 2 && fmt.nSamplesPerSec == pwfx->nSamplesPerSec) in test_formats()
423 && fmt.nSamplesPerSec == pwfx->nSamplesPerSec in test_formats()
431 ok(pwfx2->nSamplesPerSec == pwfx->nSamplesPerSec && in test_formats()
461 (fmt.nSamplesPerSec == 12000 || fmt.nSamplesPerSec == 96000))), in test_formats()
790 psize = pwfx->nSamplesPerSec / 2; in test_padding()
976 ok(freq == pwfx->nSamplesPerSec, in test_clock()
1170 avail = pwfx->nSamplesPerSec * 15 / 16 / 2; in test_clock()
1247 avail = pwfx->nSamplesPerSec * 15 / 16 / 2; in test_clock()
[all …]
/reactos/drivers/wdm/audio/drivers/CMIDriver/
H A Dminwave.cpp435 …ormat->nSamplesPerSec == 44100) || (waveFormat->nSamplesPerSec == 48000) || (waveFormat->nSamplesP… in validateFormat()
437 if ((capture) && (waveFormat->nSamplesPerSec > 48000) ) { in validateFormat()
444 && ((waveFormat->nSamplesPerSec == 44100) || (waveFormat->nSamplesPerSec == 48000)) ) { in validateFormat()
459 …&& ((waveFormat->nSamplesPerSec >= MIN_SAMPLE_RATE_AC3) && (waveFormat->nSamplesPerSec <= MAX_SAMP… in validateFormat()
461 return isFormatAllowed(waveFormat->nSamplesPerSec, FALSE, TRUE); in validateFormat()
469 …&& ((waveFormat->nSamplesPerSec >= MIN_SAMPLE_RATE_WMA) && (waveFormat->nSamplesPerSec <= MAX_SAMP… in validateFormat()
471 return isFormatAllowed(waveFormat->nSamplesPerSec, FALSE, TRUE); in validateFormat()
573 pWaveFormatEx->nSamplesPerSec = 48000; in DataRangeIntersection()
672 WaveFormat->Format.nSamplesPerSec = sampleRate; in DataRangeIntersection()
725 pWaveFormatEx->nSamplesPerSec = sampleRate; in DataRangeIntersection()
[all …]
/reactos/dll/win32/msadp32.acm/
H A Dmsadp32.c123 wfx->nSamplesPerSec == fmts[i].rate && in ADPCM_GetFormatIndex()
133 wfx->nAvgBytesPerSec == 2 * wfx->nSamplesPerSec * wfx->nChannels && in ADPCM_GetFormatIndex()
160 switch (pwfx->nSamplesPerSec) in init_wfx_adpcm()
172 pwfx->nAvgBytesPerSec = (pwfx->nSamplesPerSec * pwfx->nBlockAlign) / awfx->wSamplesPerBlock; in init_wfx_adpcm()
472 afd->pwfx->nSamplesPerSec = PCM_Formats[afd->dwFormatIndex].rate; in ADPCM_FormatDetails()
480 afd->pwfx->nSamplesPerSec * afd->pwfx->nBlockAlign; in ADPCM_FormatDetails()
487 afd->pwfx->nSamplesPerSec = ADPCM_Formats[afd->dwFormatIndex].rate; in ADPCM_FormatDetails()
523 adfs->pwfxDst->nSamplesPerSec = adfs->pwfxSrc->nSamplesPerSec; in ADPCM_FormatSuggest()
545 adfs->pwfxDst->nAvgBytesPerSec = adfs->pwfxDst->nSamplesPerSec * adfs->pwfxDst->nBlockAlign; in ADPCM_FormatSuggest()
599 if (adsi->pwfxSrc->nSamplesPerSec != adsi->pwfxDst->nSamplesPerSec || in ADPCM_StreamOpen()
[all …]
/reactos/dll/win32/winemp3.acm/
H A Dmpegl3.c118 wfx->nSamplesPerSec == fmts[i].rate && in MPEG3_GetFormatIndex()
254 if (adsi->pwfxSrc->nSamplesPerSec != adsi->pwfxDst->nSamplesPerSec || in MPEG3_StreamOpen()
616 aad->in.mSampleRate = adsi->pwfxSrc->nSamplesPerSec; in MPEG3_StreamOpen()
617 aad->out.mSampleRate = adsi->pwfxDst->nSamplesPerSec; in MPEG3_StreamOpen()
783 afd->pwfx->nSamplesPerSec = PCM_Formats[afd->dwFormatIndex].rate; in MPEG3_FormatDetails()
791 afd->pwfx->nSamplesPerSec * afd->pwfx->nBlockAlign; in MPEG3_FormatDetails()
828 adfs->pwfxDst->nSamplesPerSec = adfs->pwfxSrc->nSamplesPerSec; in MPEG3_FormatSuggest()
850 adfs->pwfxDst->nAvgBytesPerSec = adfs->pwfxDst->nSamplesPerSec * adfs->pwfxDst->nBlockAlign; in MPEG3_FormatSuggest()
893 …cLength = nblocks * (DWORD)(adsi->pwfxSrc->nAvgBytesPerSec * 1152 / adsi->pwfxSrc->nSamplesPerSec); in MPEG3_StreamSize()
918 …adss->cbSrcLength / (DWORD)(adsi->pwfxSrc->nAvgBytesPerSec * 1152 / adsi->pwfxSrc->nSamplesPerSec); in MPEG3_StreamSize()
[all …]
/reactos/dll/win32/imaadp32.acm/
H A Dimaadp32.c107 wfx->nSamplesPerSec == fmts[i].rate && in ADPCM_GetFormatIndex()
117 wfx->nAvgBytesPerSec == 2 * wfx->nSamplesPerSec * wfx->nChannels && in ADPCM_GetFormatIndex()
144 switch (pwfx->nSamplesPerSec) in init_wfx_ima_adpcm()
155 pwfx->nAvgBytesPerSec = (pwfx->nSamplesPerSec * pwfx->nBlockAlign) / awfx->wSamplesPerBlock; in init_wfx_ima_adpcm()
616 afd->pwfx->nSamplesPerSec = PCM_Formats[afd->dwFormatIndex].rate; in ADPCM_FormatDetails()
624 afd->pwfx->nSamplesPerSec * afd->pwfx->nBlockAlign; in ADPCM_FormatDetails()
629 afd->pwfx->nSamplesPerSec = ADPCM_Formats[afd->dwFormatIndex].rate; in ADPCM_FormatDetails()
664 adfs->pwfxDst->nSamplesPerSec = adfs->pwfxSrc->nSamplesPerSec; in ADPCM_FormatSuggest()
687 adfs->pwfxDst->nAvgBytesPerSec = adfs->pwfxDst->nSamplesPerSec * adfs->pwfxDst->nBlockAlign; in ADPCM_FormatSuggest()
747 if (adsi->pwfxSrc->nSamplesPerSec != adsi->pwfxDst->nSamplesPerSec || in ADPCM_StreamOpen()
[all …]
/reactos/modules/rostests/winetests/msacm32/
H A Dmsacm.c280 ok(dst->nSamplesPerSec == pafd->pwfx->nSamplesPerSec, in FormatEnumProc()
281 "expected %d, got %d\n", pafd->pwfx->nSamplesPerSec, dst->nSamplesPerSec); in FormatEnumProc()
880 dst.nSamplesPerSec = 22050; in test_prepareheader()
1155 src.nSamplesPerSec = 8000; in test_acmFormatSuggest()
1166 …ok(src.nSamplesPerSec == dst.nSamplesPerSec, "expected %d, got %d\n", src.nSamplesPerSec, dst.nSam… in test_acmFormatSuggest()
1181 …ok(src.nSamplesPerSec == dst.nSamplesPerSec, "expected %d, got %d\n", src.nSamplesPerSec, dst.nSam… in test_acmFormatSuggest()
1194 ok(dst.nSamplesPerSec == 0xdeadbeef, "expected %d, got %d\n", 0xdeadbeef, dst.nSamplesPerSec); in test_acmFormatSuggest()
1196 src.nSamplesPerSec = 8000; in test_acmFormatSuggest()
1210 src.nSamplesPerSec = 8000; in test_acmFormatSuggest()
1288 src.wfx.nSamplesPerSec = 11025; in test_mp3()
[all …]
/reactos/drivers/wdm/audio/filters/kmixer/
H A Dpin.c453 … Formats[Property->PinId].WaveFormatEx.nSamplesPerSec = WaveFormat->WaveFormatEx.nSamplesPerSec; in Pin_fnDeviceIoControl()
621 InputFormat->WaveFormatEx.nSamplesPerSec, OutputFormat->WaveFormatEx.nSamplesPerSec, in Pin_fnFastWrite()
658 if (InputFormat->WaveFormatEx.nSamplesPerSec != OutputFormat->WaveFormatEx.nSamplesPerSec) in Pin_fnFastWrite()
662 InputFormat->WaveFormatEx.nSamplesPerSec, in Pin_fnFastWrite()
663 OutputFormat->WaveFormatEx.nSamplesPerSec, in Pin_fnFastWrite()
/reactos/drivers/wdm/audio/sysaudio/
H A Dcontrol.c235 MixerFormat->WaveFormatEx.nSamplesPerSec = AudioRange->MaximumSampleFrequency; in ComputeCompatibleFormat()
237 …ixerFormat->WaveFormatEx.nSamplesPerSec = max(AudioRange->MinimumSampleFrequency, min(ClientFormat… in ComputeCompatibleFormat()
242 …ec = MixerFormat->WaveFormatEx.nChannels * MixerFormat->WaveFormatEx.nSamplesPerSec * (MixerFormat… in ComputeCompatibleFormat()
253 …ximumSampleFrequency, MixerFormat->WaveFormatEx.nSamplesPerSec, ClientFormat->WaveFormatEx.nSample… in ComputeCompatibleFormat()
/reactos/dll/win32/msacm32/
H A Dpcmconverter.c117 wfx->nSamplesPerSec == PCM_Formats[i].rate && in PCM_GetFormatIndex()
1060 afd->pwfx->nSamplesPerSec = PCM_Formats[afd->dwFormatIndex].rate; in PCM_FormatDetails()
1068 afd->pwfx->nSamplesPerSec * afd->pwfx->nBlockAlign; in PCM_FormatDetails()
1104 adfs->pwfxDst->nSamplesPerSec = adfs->pwfxSrc->nSamplesPerSec; in PCM_FormatSuggest()
1129 adfs->pwfxDst->nAvgBytesPerSec = adfs->pwfxDst->nSamplesPerSec * adfs->pwfxDst->nBlockAlign; in PCM_FormatSuggest()
1193 if (adsi->pwfxSrc->nSamplesPerSec == adsi->pwfxDst->nSamplesPerSec) { in PCM_StreamOpen()
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()
1307 apd->cvt.cvtChangeRate(adsi->pwfxSrc->nSamplesPerSec, adsh->pbSrc, &nsrc, in PCM_StreamConvert()
1308 adsi->pwfxDst->nSamplesPerSec, adsh->pbDst, &ndst); in PCM_StreamConvert()
/reactos/modules/rosapps/applications/net/tsclient/rdesktop/
H A Drdpsnd_libao.c107 if ((pwfx->nSamplesPerSec != 44100) && (pwfx->nSamplesPerSec != 22050)) in wave_out_format_supported()
122 g_samplerate = pwfx->nSamplesPerSec; in wave_out_set_format()
/reactos/drivers/multimedia/audio/sound/
H A Dwave.c105 write_dsp(sb16.base,((unsigned char)256-(1000000/wave->nSamplesPerSec))); in sb16_play()
140 DPRINT1("wave.nSamplesPerSec: 0x%x\n",wave->nSamplesPerSec); in dump_wav()
/reactos/dll/win32/mciwave/
H A Dmciwave.c168 wmw->wfxRef.nSamplesPerSec = 11025; in WAVE_drvOpen()
300 TRACE("nSamplesPerSec=%d\n", pwfx->nSamplesPerSec); in WAVE_mciReadFmt()
336 wmw->lpWaveFormat->nSamplesPerSec = 11025; in WAVE_mciDefaultFmt()
376 wmw->lpWaveFormat->nSamplesPerSec * wmw->lpWaveFormat->nBlockAlign) { in WAVE_mciCreateRIFFSkeleton()
377 DWORD speed = wmw->lpWaveFormat->nSamplesPerSec * in WAVE_mciCreateRIFFSkeleton()
789 wmw->lpWaveFormat->nSamplesPerSec * wmw->lpWaveFormat->nBlockAlign) { in WAVE_mciPlay()
792 wmw->lpWaveFormat->nSamplesPerSec * in WAVE_mciPlay()
795 wmw->lpWaveFormat->nSamplesPerSec * in WAVE_mciPlay()
1408 wmw->wfxRef.nSamplesPerSec = lpParms->nSamplesPerSec; in WAVE_mciSet()
1409 TRACE("MCI_WAVE_SET_SAMPLESPERSEC = %d\n", wmw->wfxRef.nSamplesPerSec); in WAVE_mciSet()
[all …]
/reactos/base/applications/sndrec32/
H A Daudio_resampler_acm.cpp32 wformat_src.nSamplesPerSec = audfmt_in.sample_rate(); in init_()
39 wformat_dst.nSamplesPerSec = audfmt_out.sample_rate(); in init_()

1234