libao - function - ao_file_extension

libao documentation | libao version 0.8.4 - 20030901

# ao_file_extension

declared in "ao/ao.h";

Returns the normal file extension associated with a particular driver (like "wav" or "au"). This is just an information function to allow library users to guess appropriate file names. You can safely ignore the recommended extension.

    char* ao_file_extension(int driver_id);

### Parameters

driver_id
  The ID number of the driver as returned by either ao_driver_id() or ao_default_driver_id().

### Return Values

> - pointer to string containing suggested file extension.
> - NULL if this driver has no file extension associated with it or if this driver does not exist.

copyright © 2001-2003 Stan Seibert | xiph.org volsung@xiph.org
libao documentation | libao version 0.8.4 - 20030901