aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/pulseaudio.cpp
diff options
context:
space:
mode:
authorkcat <[email protected]>2019-01-09 17:16:28 -0800
committerGitHub <[email protected]>2019-01-09 17:16:28 -0800
commit30184613a53c9eb013fee10403aa9cd97d4ea5e1 (patch)
treea3dd40b59196464c12c9d8d585100c5226ffb3b2 /Alc/backends/pulseaudio.cpp
parent8f35f464a1b3ae1b8772a4645941a1fb2fec006e (diff)
parentf7fe15e1cec05a4c9e6a6a207bdb34397086cffc (diff)
Merge pull request #264 from ShFil119/impr/cleanup
Cleanup continuation
Diffstat (limited to 'Alc/backends/pulseaudio.cpp')
-rw-r--r--Alc/backends/pulseaudio.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/backends/pulseaudio.cpp b/Alc/backends/pulseaudio.cpp
index b717d67a..bf952813 100644
--- a/Alc/backends/pulseaudio.cpp
+++ b/Alc/backends/pulseaudio.cpp
@@ -23,7 +23,7 @@
#include "backends/pulseaudio.h"
-#include <string.h>
+#include <cstring>
#include <array>
#include <string>
@@ -186,7 +186,7 @@ MAKE_FUNC(pa_stream_begin_write);
#endif
-ALCboolean pulse_load(void)
+ALCboolean pulse_load()
{
ALCboolean ret{ALC_TRUE};
#ifdef HAVE_DYNLOAD
@@ -599,7 +599,7 @@ void device_sink_callback(pa_context *UNUSED(context), const pa_sink_info *info,
TRACE("Got device \"%s\", \"%s\"\n", newentry.name.c_str(), newentry.device_name.c_str());
}
-void probePlaybackDevices(void)
+void probePlaybackDevices()
{
PlaybackDevices.clear();
@@ -681,7 +681,7 @@ void device_source_callback(pa_context *UNUSED(context), const pa_source_info *i
TRACE("Got device \"%s\", \"%s\"\n", newentry.name.c_str(), newentry.device_name.c_str());
}
-void probeCaptureDevices(void)
+void probeCaptureDevices()
{
CaptureDevices.clear();