aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/pulseaudio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/pulseaudio.cpp')
-rw-r--r--Alc/backends/pulseaudio.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Alc/backends/pulseaudio.cpp b/Alc/backends/pulseaudio.cpp
index 3050c3a0..fad6e8b4 100644
--- a/Alc/backends/pulseaudio.cpp
+++ b/Alc/backends/pulseaudio.cpp
@@ -734,10 +734,6 @@ void PulsePlayback::streamWriteCallbackC(pa_stream *stream, size_t nbytes, void
void PulsePlayback::streamWriteCallback(pa_stream *stream, size_t nbytes)
{
- /* Round down to the nearest period/minreq multiple if doing more than 1. */
- if(nbytes > mAttr.minreq)
- nbytes -= nbytes%mAttr.minreq;
-
void *buf{pa_xmalloc(nbytes)};
aluMixData(mDevice, buf, nbytes/mFrameSize);