Fix a typo that didn't allow pcm to mulaw conversions.
This commit is contained in:
parent
67942791e2
commit
3e2af5d04f
|
@ -928,7 +928,7 @@ static LRESULT G711_StreamOpen(PACMDRVSTREAMINSTANCE adsi)
|
|||
aad->convert = cvtXXulaw16K;
|
||||
}
|
||||
else if (adsi->pwfxSrc->wFormatTag == WAVE_FORMAT_PCM &&
|
||||
adsi->pwfxDst->wFormatTag == WAVE_FORMAT_ALAW)
|
||||
adsi->pwfxDst->wFormatTag == WAVE_FORMAT_MULAW)
|
||||
{
|
||||
if (adsi->pwfxSrc->nSamplesPerSec != adsi->pwfxDst->nSamplesPerSec ||
|
||||
adsi->pwfxSrc->nChannels != adsi->pwfxDst->nChannels ||
|
||||
|
|
Loading…
Reference in New Issue