diff options
author | Chris Robinson <[email protected]> | 2016-07-13 01:39:44 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-07-13 01:39:44 -0700 |
commit | 5106f035df7153efa411feb090ba22b1d756998b (patch) | |
tree | 0c6f3249b670564894525a1120a702c90dae89c4 /OpenAL32/alSource.c | |
parent | e8202b915d63703e6f6dd00a085cefb24ad7b315 (diff) |
Move the input channel array out of the DirectParams and SendParams
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r-- | OpenAL32/alSource.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index 46467b01..4a50d217 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -3005,11 +3005,11 @@ ALvoid SetSourceState(ALsource *Source, ALCcontext *Context, ALenum state) { ALsizei j; for(j = 0;j < HRTF_HISTORY_LENGTH;j++) - voice->Direct.Hrtf[i].State.History[j] = 0.0f; + voice->Chan[i].Direct.Hrtf.State.History[j] = 0.0f; for(j = 0;j < HRIR_LENGTH;j++) { - voice->Direct.Hrtf[i].State.Values[j][0] = 0.0f; - voice->Direct.Hrtf[i].State.Values[j][1] = 0.0f; + voice->Chan[i].Direct.Hrtf.State.Values[j][0] = 0.0f; + voice->Chan[i].Direct.Hrtf.State.Values[j][1] = 0.0f; } } |