From 97211d0aadfb4a5127a83f9ae0da3d70f38d1ae5 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 21 Oct 2021 19:58:49 +0200 Subject: [PATCH] output/pipewire: rename field "buffer" to "pod_buffer" --- src/output/plugins/PipeWireOutputPlugin.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/output/plugins/PipeWireOutputPlugin.cxx b/src/output/plugins/PipeWireOutputPlugin.cxx index 7fbd16597..78d979b34 100644 --- a/src/output/plugins/PipeWireOutputPlugin.cxx +++ b/src/output/plugins/PipeWireOutputPlugin.cxx @@ -70,7 +70,7 @@ class PipeWireOutput final : AudioOutput { std::string error_message; - std::byte buffer[1024]; + std::byte pod_buffer[1024]; struct spa_pod_builder pod_builder; std::size_t frame_size; @@ -505,8 +505,8 @@ PipeWireOutput::Open(AudioFormat &audio_format) const struct spa_pod *params[1]; pod_builder = {}; - pod_builder.data = buffer; - pod_builder.size = sizeof(buffer); + pod_builder.data = pod_buffer; + pod_builder.size = sizeof(pod_buffer); #if defined(ENABLE_DSD) && defined(SPA_AUDIO_DSD_FLAG_NONE) struct spa_audio_info_dsd dsd;