summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicky <nicky.dasmijn@posteo.nl>2024-04-21 18:53:44 +0200
committerMaki <maki@hotmilk.space>2024-04-22 17:58:37 -0400
commitaa2813a8e2c878bcd521cba992fb898e541ab633 (patch)
tree2ad1386bb012079889142eb13241476603b1c180
parent920fd136f4b3aa2c4111173432e7040613737bc8 (diff)
Replace NULL with nullptr
-rwxr-xr-xindra/media_plugins/cef/linux/volume_catcher_pipewire.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/media_plugins/cef/linux/volume_catcher_pipewire.cpp b/indra/media_plugins/cef/linux/volume_catcher_pipewire.cpp
index 027fdb77f6..8617468f17 100755
--- a/indra/media_plugins/cef/linux/volume_catcher_pipewire.cpp
+++ b/indra/media_plugins/cef/linux/volume_catcher_pipewire.cpp
@@ -90,9 +90,9 @@ void VolumeCatcherPipeWire::init()
LL_DEBUGS() << "successfully got symbols" << LL_ENDL;
- llpw_init(NULL, NULL);
+ llpw_init(nullptr, nullptr);
- mThreadLoop = llpw_thread_loop_new("SL Plugin Volume Adjuster", NULL);
+ mThreadLoop = llpw_thread_loop_new("SL Plugin Volume Adjuster", nullptr);
if (!mThreadLoop)
return;
@@ -101,13 +101,13 @@ void VolumeCatcherPipeWire::init()
// std::lock_guard pwLock(*this);
mContext = llpw_context_new(
- llpw_thread_loop_get_loop(mThreadLoop), NULL, 0
+ llpw_thread_loop_get_loop(mThreadLoop), nullptr, 0
);
if (!mContext)
return;
- mCore = llpw_context_connect(mContext, NULL, 0);
+ mCore = llpw_context_connect(mContext, nullptr, 0);
if (!mCore)
return;