libao# 0.8.8
append_option Method (options, key, value)
NamespacesXiph.Audio.Output.LowLevellibaoappend_option(IntPtr%, String, String)
Append a key-value pair to a linked list of options. The key and value strings are duplicated into newly allocated memory, so the calling function retains ownership of the string parameters.
Declaration Syntax
C#Visual BasicVisual C++
public static int append_option(
	ref IntPtr options,
	string key,
	string value
)
Public Shared Function append_option ( _
	ByRef options As IntPtr, _
	key As String, _
	value As String _
) As Integer
public:
static int append_option(
	IntPtr% options, 
	String^ key, 
	String^ value
)
Parameters
options ( IntPtr %)
Address of the pointer to the head of the option list. For an empty list *options will be null.
key (String)
A String holding the option key.
value (String)
A String holding the option value.
Return Value
  • 1 indicates success.
  • 0 indicates memory allocation failure.

Assembly: libao-sharp (Module: libao-sharp) Version: 0.8.8.18341