Whole document tree
    

Whole document tree

libao - function - ao_driver_id

libao documentation

libao version 0.8.0 - 20010804

ao_driver_id

declared in "ao/ao.h";

Looks up the ID number for a driver based upon its short name. The ID number is need to open the driver or get info on it.


int ao_driver_id(char *short_name);

Parameters

short_name
The short name of the driver. See the list of drivers for valid short names.

Return Values

  • a non-negative value is the ID number of the driver.
  • -1 indicates failure. No driver by that name exists.



  • copyright © 2001 Stan Seibert

    xiph.org
    indigo@aztec.asu.edu

    libao documentation

    libao version 0.8.0 - 20010804