Re: [AD] ALSA config variables mess

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


On September 30, 2003 03:42 am, Eric Botcazou wrote:
> While accustoming myself with the ALSA drivers, I stumbled across something
> weird: there are 3 pairs of (card, driver) config variables for 2 drivers:
> - (alsa_card, alsa_pcmdevice) is used in alsa.c to detect the device,
> - (alsadigi_card, alsadigi_pcmdevice) is used in alsa.c to init the device,
> - (alsa_rawmidi_card, alsa_rawmidi_device) is used in alsamidi.c to both
> detect and init the device.
>
> Hence my double question: why two pairs of variables in alsa.c? Would it
> not be possible to use only one pair throughout the 2 drivers?
>

Well, I think the digi and rawmidi should stay separate, just in case you have 
one card that does midi, and another that does pcm.

I thought I cleaned up that mess ;) yeah the alsa_digi* vars can probably be 
turned into alsa_*. Not sure why they arn't... 

-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx
http://strangesoft.net





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