aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/alSource.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index 2270a246..440bd859 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -1322,7 +1322,11 @@ AL_API ALvoid AL_APIENTRY alSourcePlayv(ALsizei n, const ALuint *sources)
if(!BufferList)
{
+ Source->state = AL_STOPPED;
Source->BuffersPlayed = Source->BuffersInQueue;
+ Source->position = 0;
+ Source->position_fraction = 0;
+ Source->lOffset = 0;
continue;
}