diff options
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 2 | ||||
-rw-r--r-- | Alc/ALu.c | 12 |
2 files changed, 7 insertions, 7 deletions
@@ -671,7 +671,7 @@ void al_print(const char *fname, unsigned int line, const char *fmt, ...) int i; fn = strrchr(fname, '/'); - if(!fn) fn = strrchr(fname, '\\');; + if(!fn) fn = strrchr(fname, '\\'); if(!fn) fn = fname; else fn += 1; @@ -997,7 +997,7 @@ DECL_TEMPLATE(ALbyte, StereoChans,2, aluF2B) #undef DECL_TEMPLATE -#define DECL_TEMPLATE(T, func) \ +#define DECL_TEMPLATE(T) \ static void Write_##T(ALCdevice *device, T *buffer, ALuint SamplesToDo) \ { \ switch(device->FmtChans) \ @@ -1023,11 +1023,11 @@ static void Write_##T(ALCdevice *device, T *buffer, ALuint SamplesToDo) \ } \ } -DECL_TEMPLATE(ALfloat, aluF2F) -DECL_TEMPLATE(ALushort, aluF2US) -DECL_TEMPLATE(ALshort, aluF2S) -DECL_TEMPLATE(ALubyte, aluF2UB) -DECL_TEMPLATE(ALbyte, aluF2B) +DECL_TEMPLATE(ALfloat) +DECL_TEMPLATE(ALushort) +DECL_TEMPLATE(ALshort) +DECL_TEMPLATE(ALubyte) +DECL_TEMPLATE(ALbyte) #undef DECL_TEMPLATE |