Sebastian Dröge 6d256d9908 directsoundsrc: Correctly calculate segsize and segtotal
segsize should be based on latency-time, and must be a multiple of the
frame size. segtotal should be based on buffer-time and segsize.

This prevents errors caused by outputting buffers that are not a
multiple of the frame size, and actually makes the buffer-time and
latency-time properties do what they're supposed to do.
2017-04-06 16:15:28 +03:00
..
2016-11-14 23:15:34 +05:30
2017-01-20 11:11:50 -08:00
2017-03-10 15:51:11 -05:00
2016-12-21 11:17:11 +02:00
2017-01-05 20:34:14 +00:00