From e32e3df3aac2abc46dfcd9c3675b1566bb01648f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 22 May 2014 11:08:21 -0700 Subject: Use the first non-0-length buffer when starting a source --- OpenAL32/alSource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32/alSource.c') 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; -- cgit v1.2.3