diff --git a/src/output/plugins/PipeWireOutputPlugin.cxx b/src/output/plugins/PipeWireOutputPlugin.cxx
index 59a27c5dc..8c261bb8e 100644
--- a/src/output/plugins/PipeWireOutputPlugin.cxx
+++ b/src/output/plugins/PipeWireOutputPlugin.cxx
@@ -153,7 +153,7 @@ class PipeWireOutput final : AudioOutput {
 public:
 	static AudioOutput *Create(EventLoop &,
 				   const ConfigBlock &block) {
-		pw_init(0, nullptr);
+		pw_init(nullptr, nullptr);
 
 		return new PipeWireOutput(block);
 	}
@@ -250,7 +250,7 @@ private:
 				 uint32_t id,
 				 const struct spa_pod *param) noexcept
 	{
-		if (id != SPA_PARAM_Format || param == NULL)
+		if (id != SPA_PARAM_Format || param == nullptr)
 			return;
 
 		auto &o = *(PipeWireOutput *)data;