Re: [AD] panning, gain

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2008-09-22, Milan Mimica <milan.mimica@xxxxxxxxxx> wrote:
> Peter Wang wrote:
> > Hi,
> > 
> > Do we need panning and gain control to work for samples/streams attached
> > directly to voices?
> 
> Gain control yes, that's easy. Panning is impossible to do with ALSA and OSS.
> 
> > If we support gain controls on voices, each voice would need an
> > intermediate buffer (if it doesn't already), so I think we shouldn't
> > do that.
> 
> What buffer? No. Gain control of the voice is something that used to be called 
> "hardware volume setting" in A4. In alsa that's controlling PCM volume slide in 
> alsamixer. In OSS4 that's setting the PCM volume for the specific voice... 

So if you open two voices you can control their volumes independently?
That's good, but what about drivers that can't do that?

Peter





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/