diff options
author | Chris Robinson <[email protected]> | 2014-05-22 11:08:21 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-05-22 11:08:21 -0700 |
commit | e32e3df3aac2abc46dfcd9c3675b1566bb01648f (patch) | |
tree | 5e2c256c0c3862bac5105acc39033d9233321b2b /OpenAL32 | |
parent | 85e990e915efae2ab34d191af5f926730197979d (diff) |
Use the first non-0-length buffer when starting a source
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/alSource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index 7f8944a8..a72abf91 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -2372,7 +2372,7 @@ ALvoid SetSourceState(ALsource *Source, ALCcontext *Context, ALenum state) Source->state = AL_PLAYING; Source->position = 0; Source->position_fraction = 0; - Source->current_buffer = Source->queue; + Source->current_buffer = BufferList; } else Source->state = AL_PLAYING; |