diff options
author | Chris Robinson <[email protected]> | 2010-09-26 12:23:22 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-09-26 12:23:22 -0700 |
commit | 92d8d2f8a472541407a3c22b2cf862f49d7b1b46 (patch) | |
tree | 3a04543d9fd57c1e6dbeef5050f1b53f38e0085b /OpenAL32/Include/alSource.h | |
parent | 7cd52b28579274fde27f6f8d9b945a4eff7adf36 (diff) |
Pass the device to the mix function and localize the dry mix and click buffers
Diffstat (limited to 'OpenAL32/Include/alSource.h')
-rw-r--r-- | OpenAL32/Include/alSource.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index 448c9acc..41dda6bf 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -98,15 +98,13 @@ typedef struct ALsource } Params; ALvoid (*Update)(struct ALsource *self, const ALCcontext *context); - ALvoid (*Mix)(struct ALsource *self, ALuint SamplesToDo, - ALfloat (*DryBuffer)[OUTPUTCHANNELS], - ALfloat *ClickRemoval, ALfloat *PendingClicks); + ALvoid (*Mix)(struct ALsource *self, ALCdevice *Device, ALuint SamplesToDo); // Index to itself ALuint source; } ALsource; -#define ALsource_Update(s,a) ((s)->Update(s,a)) -#define ALsource_Mix(s,a,b,c,d) ((s)->Mix(s,a,b,c,d)) +#define ALsource_Update(s,a) ((s)->Update(s,a)) +#define ALsource_Mix(s,a,b) ((s)->Mix(s,a,b)) ALvoid ReleaseALSources(ALCcontext *Context); |