SYNOPSIS

#include <aalib.h>

aa_context *aa_autoinit(const struct aa_hardware_params *params);

PARAMETERS

const struct aa_hardware_params *params

Hardware parameters you want. Use aa_defparams for default values.

DESCRIPTION

Attempts to find available output driver supporting the specified parameters. First attempts to initialize the recommended drivers and then in order drivers available in the aa_drivers array (all regular output drivers compiled into AA-lib).

RETURNS

Pointer to initialized context structure when succesfull or NULL on failure.

RELATED TO aa_autoinit…