Commit cfe2dd41 authored by Rosen Penev's avatar Rosen Penev

use nullptr

Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
parent a8c77a6f
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment