Lines Matching refs:wBitsPerSample
108 wfx->wBitsPerSample == fmts[i].nBits) in ADPCM_GetFormatIndex()
119 wfx->wBitsPerSample == 16) in ADPCM_GetFormatIndex()
125 wfx->wBitsPerSample == 4 && in ADPCM_GetFormatIndex()
366 int bytesPerSample = adsi->pwfxDst->wBitsPerSample / 8; in cvtMMimaK()
617 afd->pwfx->wBitsPerSample = PCM_Formats[afd->dwFormatIndex].nBits; in ADPCM_FormatDetails()
622 (afd->pwfx->nChannels * afd->pwfx->wBitsPerSample) / 8; in ADPCM_FormatDetails()
630 afd->pwfx->wBitsPerSample = ADPCM_Formats[afd->dwFormatIndex].nBits; in ADPCM_FormatDetails()
669 adfs->pwfxDst->wBitsPerSample = 4; in ADPCM_FormatSuggest()
671 adfs->pwfxDst->wBitsPerSample = 16; in ADPCM_FormatSuggest()
686 adfs->pwfxDst->nBlockAlign = (adfs->pwfxDst->nChannels * adfs->pwfxDst->wBitsPerSample) / 8; in ADPCM_FormatSuggest()
749 (adsi->pwfxDst->wBitsPerSample != 16 && adsi->pwfxDst->wBitsPerSample != 8)) in ADPCM_StreamOpen()
764 if (adsi->pwfxDst->wBitsPerSample == 16 && adsi->pwfxDst->nChannels == 2) in ADPCM_StreamOpen()
766 if (adsi->pwfxDst->wBitsPerSample == 16 && adsi->pwfxDst->nChannels == 1) in ADPCM_StreamOpen()
768 if (adsi->pwfxDst->wBitsPerSample == 8 && adsi->pwfxDst->nChannels == 1) in ADPCM_StreamOpen()
771 if (adsi->pwfxDst->wBitsPerSample == 8 && adsi->pwfxDst->nChannels == 2) in ADPCM_StreamOpen()
779 adsi->pwfxSrc->wBitsPerSample != 16) in ADPCM_StreamOpen()
794 if (adsi->pwfxSrc->wBitsPerSample == 16 && adsi->pwfxSrc->nChannels == 2) in ADPCM_StreamOpen()
796 if (adsi->pwfxSrc->wBitsPerSample == 16 && adsi->pwfxSrc->nChannels == 1) in ADPCM_StreamOpen()