[AD] [ alleg-Bugs-1631062 ] global volume needs default & get function |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: noreply@xxxxxxxxxx
- Subject: [AD] [ alleg-Bugs-1631062 ] global volume needs default & get function
- From: "SourceForge.net" <noreply@xxxxxxxxxx>
- Date: Tue, 09 Jan 2007 03:02:29 -0800
Bugs item #1631062, was opened at 2007-01-09 02:44
Message generated for change (Comment added) made by mmimica
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=1631062&group_id=5665
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core Library
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tom Milford (milford)
Assigned to: Nobody/Anonymous (nobody)
Summary: global volume needs default & get function
Initial Comment:
Hi,
I noticed that there's a function to set the global volume, but none to get the current volume. There's also no default volume mention in the documentation. I'd love to see both.
Thank you for your excellent work on Allegro!
Best regards,
Tom
tom_milford@xxxxxxxxxx
----------------------------------------------------------------------
Comment By: Milan Mimica (mmimica)
Date: 2007-01-09 12:02
Message:
Logged In: YES
user_id=1171214
Originator: NO
There are get_volume() and get_hardware_volume() functions. These where
introduced in 4.2.1.
http://alleg.sourceforge.net/stabledocs/en/alleg024.html#get_volume
Most drivers set the volume to maximum value in install_sound().
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=1631062&group_id=5665