diff options
author | Chris Robinson <[email protected]> | 2014-12-18 08:52:04 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-12-18 08:52:04 -0800 |
commit | 9897fca79407f741c8151a9914b0127d349f4093 (patch) | |
tree | 0a5489155e805713a10bff2d8eff51e2bb186955 /Alc/mixer.c | |
parent | 13c2dd71155f50f1d9690d32e6d63092cc82a781 (diff) |
Inline a couple functions
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r-- | Alc/mixer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c index b6cb19c7..6a01fadc 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -131,7 +131,7 @@ static inline ALfloat Sample_ALfloat(ALfloat val) { return val; } #define DECL_TEMPLATE(T) \ -static void Load_##T(ALfloat *dst, const T *src, ALuint srcstep, ALuint samples)\ +static inline void Load_##T(ALfloat *dst, const T *src, ALuint srcstep, ALuint samples)\ { \ ALuint i; \ for(i = 0;i < samples;i++) \ @@ -160,7 +160,7 @@ static void LoadSamples(ALfloat *dst, const ALvoid *src, ALuint srcstep, enum Fm } } -static void SilenceSamples(ALfloat *dst, ALuint samples) +static inline void SilenceSamples(ALfloat *dst, ALuint samples) { ALuint i; for(i = 0;i < samples;i++) |