Re: [AD] auto detection of audio driver

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


On 2009-09-18, Milan Mimica <milan.mimica@xxxxxxxxxx> wrote:
> Matthew Leverton wrote:
> +/* The following list is used when autodetecting the audio driver to use.
> +   The first one that returns success is used, hence order is important. */
> +static const ALLEGRO_AUDIO_DRIVER_ENUM audio_drivers[] =
> +{
> +   ALLEGRO_AUDIO_DRIVER_DSOUND,
> +   ALLEGRO_AUDIO_DRIVER_AQUEUE,
> +   ALLEGRO_AUDIO_DRIVER_OPENAL,
> +   ALLEGRO_AUDIO_DRIVER_PULSEAUDIO,
> +   ALLEGRO_AUDIO_DRIVER_ALSA,
> +   ALLEGRO_AUDIO_DRIVER_OSS
> +};
> 
> I believe OpenAL should be put last on the list. Someone (PW?) said the stereo 
> mode is broken.

The official (still?) and outdated implementation is broken on Linux.
OpenAL-soft is fine.  OpenAL on Mac is fine.

There is nothing to be gained going via OpenAL just to get to OSS/ALSA
so OpenAL *should* be last.

Peter




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