diff options
author | Chris Robinson <[email protected]> | 2011-05-07 04:31:43 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-05-07 04:31:43 -0700 |
commit | a8fdcd30a54ae2bceb964e4f760fc872497fd7e2 (patch) | |
tree | 5d8975ed70f7ae4737c61765108642c58b0e5429 /Alc | |
parent | db3cb23c1d9508337852b1f9ca29bc74b6725e9f (diff) |
Some minor cleanups
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 |