aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/backends/alsa.cpp6
-rw-r--r--Alc/backends/pulseaudio.cpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/Alc/backends/alsa.cpp b/Alc/backends/alsa.cpp
index 35942e6b..d40261cb 100644
--- a/Alc/backends/alsa.cpp
+++ b/Alc/backends/alsa.cpp
@@ -1333,9 +1333,9 @@ static void ALCalsaBackendFactory_probe(ALCalsaBackendFactory* UNUSED(self), enu
{
const char *name{entry.name.c_str()};
size_t namelen{entry.name.length()};
- /* +1 to also append the null char (to ensure a null-separated list
- * and double-null terminated list).
- */
+ /* +1 to also append the null char (to ensure a null-separated list and
+ * double-null terminated list).
+ */
alstr_append_range(outnames, name, name + namelen+1);
};
switch(type)
diff --git a/Alc/backends/pulseaudio.cpp b/Alc/backends/pulseaudio.cpp
index 2a2de2a6..09b55229 100644
--- a/Alc/backends/pulseaudio.cpp
+++ b/Alc/backends/pulseaudio.cpp
@@ -1816,9 +1816,9 @@ static void PulseBackendFactory_probe(PulseBackendFactory* UNUSED(self), enum De
{
const char *name{entry.name.c_str()};
size_t namelen{entry.name.length()};
- /* +1 to also append the null char (to ensure a null-separated list
- * and double-null terminated list).
- */
+ /* +1 to also append the null char (to ensure a null-separated list and
+ * double-null terminated list).
+ */
alstr_append_range(outnames, name, name + namelen+1);
};
switch(type)