mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
Commit patch by cfsworks to properly mark OpenAL sounds as inactive when they are created while the manager is inactive
This commit is contained in:
parent
e665c2a908
commit
28ba81f82d
@ -64,7 +64,7 @@ OpenALAudioSound(OpenALAudioManager* manager,
|
|||||||
_start_time(0.0),
|
_start_time(0.0),
|
||||||
_current_time(0.0),
|
_current_time(0.0),
|
||||||
_basename(movie->get_filename().get_basename()),
|
_basename(movie->get_filename().get_basename()),
|
||||||
_active(true),
|
_active(manager->get_active()),
|
||||||
_paused(false)
|
_paused(false)
|
||||||
{
|
{
|
||||||
_location[0] = 0.0f;
|
_location[0] = 0.0f;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user