libao documentation

libao version 1.2.0 - 201401271

ao_append_option

declared in "ao/ao.h";

Append a key-value pair to the internal linked list of global options obeyed by libao itself, as well as passed to any driver in use. The key and value strings are duplicated into newly allocated memory, so the calling function retains ownership of the string parameters.


int ao_append_global_option(const char *key, const char *value);

Parameters

key
A string holding the option key.
value
A string holding the option value.

Return Values

  • 1 indicates success.
  • 0 indicates memory allocation failure.



  • copyright © 2001-2003 Stan Seibert, 2010-2011 Monty

    xiph.org
    monty@xiph.org

    libao documentation

    libao version 1.2.0 - 201401271