Re: [AD] panning, gain |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Peter Wang wrote:
So if you open two voices you can control their volumes independently?
Not with ALSA :( You can set it before creating the voice (panning too) but you can't change it later.
That's good, but what about drivers that can't do that?
Um right. Let's just have a al_set_volume(float) that sets global PCM volume. Similar to A4's set_hardware_volume(). Make it accept values from 0 to 1 in float.
Too bad because AFAIK only ALSA doesn't let you do that. -- Milan Mimica http://sparklet.sf.net
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |