summaryrefslogtreecommitdiff
path: root/src/output
diff options
context:
space:
mode:
Diffstat (limited to 'src/output')
-rw-r--r--src/output/plugins/AlsaOutputPlugin.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/output/plugins/AlsaOutputPlugin.cxx b/src/output/plugins/AlsaOutputPlugin.cxx
index 5c6f599cd..02b3dfe86 100644
--- a/src/output/plugins/AlsaOutputPlugin.cxx
+++ b/src/output/plugins/AlsaOutputPlugin.cxx
@@ -148,10 +148,7 @@ class AlsaOutput final
*/
uint8_t *silence;
- /**
- * For PrepareAlsaPcmSockets().
- */
- ReusableArray<pollfd> pfd_buffer;
+ AlsaNonBlockPcm non_block;
/**
* For copying data from OutputThread to IOThread.
@@ -881,7 +878,7 @@ AlsaOutput::PrepareSockets() noexcept
}
try {
- return PrepareAlsaPcmSockets(*this, pcm, pfd_buffer);
+ return non_block.PrepareSockets(*this, pcm);
} catch (...) {
ClearSocketList();
LockCaughtError();