mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Fixed playing multiple instances of the same Music.
This commit is contained in:
@@ -92,9 +92,14 @@ namespace openal
|
||||
return new Music(pool, decoder);
|
||||
}
|
||||
|
||||
love::audio::Source * Audio::newSource(Audible * audible)
|
||||
love::audio::Source * Audio::newSource(love::audio::Sound * sound)
|
||||
{
|
||||
return new Source(pool, audible);
|
||||
return new Source(pool, sound);
|
||||
}
|
||||
|
||||
love::audio::Source * Audio::newSource(love::audio::Music * music)
|
||||
{
|
||||
return new Source(pool, music->clone());
|
||||
}
|
||||
|
||||
int Audio::getNumSources() const
|
||||
|
||||
Reference in New Issue
Block a user