mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
directsoundsink: force 48000 kHz force AC-3 over spdif
This commit is contained in:
parent
7d64e16b30
commit
e815d08342
1 changed files with 1 additions and 1 deletions
|
@ -440,7 +440,7 @@ gst_directsound_sink_prepare (GstAudioSink * asink,
|
|||
wfx.cbSize = 0;
|
||||
wfx.wFormatTag = WAVE_FORMAT_DOLBY_AC3_SPDIF;
|
||||
wfx.nChannels = 2;
|
||||
wfx.nSamplesPerSec = spec->info.rate;
|
||||
wfx.nSamplesPerSec = 48000;
|
||||
wfx.wBitsPerSample = 16;
|
||||
wfx.nBlockAlign = wfx.wBitsPerSample / 8 * wfx.nChannels;
|
||||
wfx.nAvgBytesPerSec = wfx.nSamplesPerSec * wfx.nBlockAlign;
|
||||
|
|
Loading…
Reference in a new issue