Commit 3e2af5d0 authored by Robert Reif's avatar Robert Reif Committed by Alexandre Julliard

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

parent 67942791
......@@ -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 ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment