aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/opensl.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-12-24 19:29:01 -0800
committerChris Robinson <[email protected]>2018-12-24 19:29:01 -0800
commitfbae41020d8968d0e65af08584df4736b5ed7239 (patch)
treeb2bb3297e5e5b4cf348e4e9379dfa4366dd8aa2d /Alc/backends/opensl.cpp
parent194e7ff815d744830c8aaedfb0d32ed3c3d01645 (diff)
Remove extraneous typedef, struct, and enum keywords
Diffstat (limited to 'Alc/backends/opensl.cpp')
-rw-r--r--Alc/backends/opensl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/backends/opensl.cpp b/Alc/backends/opensl.cpp
index ab829e05..9213919b 100644
--- a/Alc/backends/opensl.cpp
+++ b/Alc/backends/opensl.cpp
@@ -46,7 +46,7 @@
static const ALCchar opensl_device[] = "OpenSL";
-static SLuint32 GetChannelMask(enum DevFmtChannels chans)
+static SLuint32 GetChannelMask(DevFmtChannels chans)
{
switch(chans)
{
@@ -75,7 +75,7 @@ static SLuint32 GetChannelMask(enum DevFmtChannels chans)
}
#ifdef SL_DATAFORMAT_PCM_EX
-static SLuint32 GetTypeRepresentation(enum DevFmtType type)
+static SLuint32 GetTypeRepresentation(DevFmtType type)
{
switch(type)
{
@@ -979,7 +979,7 @@ bool OSLBackendFactory::init() { return true; }
bool OSLBackendFactory::querySupport(ALCbackend_Type type)
{ return (type == ALCbackend_Playback || type == ALCbackend_Capture); }
-void OSLBackendFactory::probe(enum DevProbe type, std::string *outnames)
+void OSLBackendFactory::probe(DevProbe type, std::string *outnames)
{
switch(type)
{