Seungha Yang 93f0135798 wasapi2: Fix choppy rendering
This reverts questionable commit 009bc15f3397252e9e3954ae4af15ffcdbdeac69
which looks completely wrong.

The GstWasapi2RingBuffer:buffer_size variable is used to
calculate available buffer size we can write
(i.e., available size = buffer_size - padding_size).
But the commit makes the size to be exactly same as buffer period.
Then, it can confuse this element as if the endpoint buffer is full on
I/O event callback (if padding size is equal to buffer period)
but it's not true.

Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2870
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6132>
2024-02-19 04:39:25 +00:00
..
2024-02-15 16:38:53 +00:00
2024-02-15 16:38:53 +00:00
2024-02-15 16:38:53 +00:00
2024-02-15 16:38:53 +00:00
2024-02-15 16:38:53 +00:00
2024-02-15 16:38:53 +00:00
2024-02-15 16:38:53 +00:00
2024-02-15 16:38:53 +00:00
2024-02-15 16:38:53 +00:00
2024-02-15 16:38:53 +00:00
2023-12-13 11:51:53 +00:00
2024-01-17 08:39:13 +00:00
2024-02-15 16:38:53 +00:00
2024-02-09 07:58:38 +00:00
2023-12-13 11:51:53 +00:00