Rémi Bernon (@rbernon) commented about dlls/winegstreamer/wma_decoder.c:
- type->formattype = FORMAT_WaveFormatEx;
- type->bFixedSizeSamples = FALSE;
- type->bTemporalCompression = TRUE;
- type->lSampleSize = 0;
- type->cbFormat = sizeof(WAVEFORMATEX);
- type->pbFormat = CoTaskMemAlloc(type->cbFormat);
- memset(type->pbFormat, 0, type->cbFormat);
- wfx = (WAVEFORMATEX *)type->pbFormat;
- wfx->wFormatTag = WAVE_FORMAT_PCM;
- wfx->nChannels = decoder->input_format.u.audio_wma.channels;
- wfx->nSamplesPerSec = decoder->input_format.u.audio_wma.rate;
- wfx->nAvgBytesPerSec = wfx->nChannels * wfx->nSamplesPerSec * 2;
- wfx->nBlockAlign = wfx->nChannels * 2;
- wfx->wBitsPerSample = 16;
```suggestion:-0+0 wfx->wBitsPerSample = WMAUDIO_BITS_PER_SAMPLE; ```