From fbae41020d8968d0e65af08584df4736b5ed7239 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 24 Dec 2018 19:29:01 -0800 Subject: Remove extraneous typedef, struct, and enum keywords --- Alc/backends/opensl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Alc/backends/opensl.cpp') 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) { -- cgit v1.2.3