aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index 9ab0e43a..262d2786 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -633,6 +633,7 @@ ALAPI ALvoid ALAPIENTRY alSourcei(ALuint source,ALenum eParam,ALint lValue)
{
// Source is now in UNDETERMINED mode
pSource->lSourceType = AL_UNDETERMINED;
+ pSource->BuffersPlayed = 0;
}
// Update AL_BUFFER parameter