Fix a typo that didn't allow pcm to mulaw conversions.

This commit is contained in:
Robert Reif 2004-12-14 11:45:11 +00:00 committed by Alexandre Julliard
parent 67942791e2
commit 3e2af5d04f
1 changed files with 1 additions and 1 deletions

View File

@ -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 ||