mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 04:48:36 +00:00
winegstreamer: Add missing format fields to WMA support check.
Fixes: cc82780c22
This commit is contained in:
parent
08e13d1979
commit
f8001fdc8e
|
@ -1032,8 +1032,9 @@ HRESULT wma_decoder_create(IUnknown *outer, IUnknown **out)
|
|||
};
|
||||
static const WMAUDIO2WAVEFORMAT input_format =
|
||||
{
|
||||
.wfx = {.wFormatTag = WAVE_FORMAT_WMAUDIO2, .nSamplesPerSec = 44100, .nChannels = 1,
|
||||
.cbSize = sizeof(input_format) - sizeof(WAVEFORMATEX)},
|
||||
.wfx = {.wFormatTag = WAVE_FORMAT_WMAUDIO2, .wBitsPerSample = 16, .nSamplesPerSec = 44100, .nChannels = 1,
|
||||
.nAvgBytesPerSec = 3000, .nBlockAlign = 139, .cbSize = sizeof(input_format) - sizeof(WAVEFORMATEX)},
|
||||
.wEncodeOptions = 1,
|
||||
};
|
||||
struct wma_decoder *decoder;
|
||||
HRESULT hr;
|
||||
|
|
Loading…
Reference in a new issue