[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2008-09-22, Milan Mimica <milan.mimica@xxxxxxxxxx> wrote:
> 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.
Ok. I'll let you handle that ;)
Peter