Use the first non-0-length buffer when starting a source
This commit is contained in:
parent
85e990e915
commit
e32e3df3aa
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user