mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
openal: Grab volume from manager instead of assuming max volume.
This commit is contained in:
parent
33d183d4f7
commit
7fb30ae070
@ -49,7 +49,7 @@ OpenALAudioSound(OpenALAudioManager* manager,
|
|||||||
_loops_completed(0),
|
_loops_completed(0),
|
||||||
_source(0),
|
_source(0),
|
||||||
_manager(manager),
|
_manager(manager),
|
||||||
_volume(1.0f),
|
_volume(manager->get_volume()),
|
||||||
_balance(0),
|
_balance(0),
|
||||||
_play_rate(1.0),
|
_play_rate(1.0),
|
||||||
_positional(positional),
|
_positional(positional),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user