[MPlayer-dev-eng] ao_alsa9 cleanup

joy joy at pingfm.org
Fri Jun 28 14:38:17 CEST 2002


On Thu, Jun 27, 2002 at 10:25:44AM +0200, Alex Beregszaszi wrote:

> > i currently changed now also some malloc's to alloca and added an undef of alsa_device in uninit, cause this was a problem with the gui.
> does this malloc->alloca change has advantages?

not really but its easyier to use i think. for example you dont have to check if alsa_device is defined and free it. and currently there is a mix of allocas and mallocs and i thought it would be better to choose one style where possible and don't mix it wildly. but its maybe an 'aesthetic' choice.

> > the next step would be to implement controls, i just tried but you know the alsa-documentation...
> controls? libao2 controls: set_volume/get_volume? or alsa-controls?

set_volumen/get_volume

-- 
regards

____-
joy

________/\---------%%%___________-----------
webcast every sunday 2000 cest at pingfm.org

pgp key at: x-hkp://wwwkeys.de.pgp.net



More information about the MPlayer-dev-eng mailing list