wasapi2: Use 48kHz default sample rate
That's most common default value Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9326>
This commit is contained in:
parent
fc861119ed
commit
37637d9611
@ -550,7 +550,7 @@ gst_wasapi2_get_default_mix_format (void)
|
||||
format = (WAVEFORMATEX *) CoTaskMemAlloc (sizeof (WAVEFORMATEX));
|
||||
format->wFormatTag = WAVE_FORMAT_PCM;
|
||||
format->nChannels = 2;
|
||||
format->nSamplesPerSec = 44100;
|
||||
format->nSamplesPerSec = 48000;
|
||||
format->wBitsPerSample = 16;
|
||||
format->nBlockAlign = format->nChannels * format->wBitsPerSample / 8;
|
||||
format->nAvgBytesPerSec = format->nSamplesPerSec * format->nBlockAlign;
|
||||
|
Loading…
x
Reference in New Issue
Block a user