Reset the buffer played count when the queue is removed via the AL_BUFFER property
This commit is contained in:
parent
4ee3972f15
commit
32060f53cd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user