libao# 0.8.8
OpenFile Method (fileName, overwrite, bitsPerSample, sampleRate, channels, options)
NamespacesXiph.Audio.OutputAoDriverOpenFile(String, Boolean, Int32, Int32, Int32, AoDriverOptions)
Open a file for audio output. The file format is determined by the audio driver used.
Declaration Syntax
C#Visual BasicVisual C++
public AoDevice OpenFile(
	string fileName,
	bool overwrite,
	int bitsPerSample,
	int sampleRate,
	int channels,
	AoDriverOptions options
)
Public Function OpenFile ( _
	fileName As String, _
	overwrite As Boolean, _
	bitsPerSample As Integer, _
	sampleRate As Integer, _
	channels As Integer, _
	options As AoDriverOptions _
) As AoDevice
public:
AoDevice^ OpenFile(
	String^ fileName, 
	bool overwrite, 
	int bitsPerSample, 
	int sampleRate, 
	int channels, 
	AoDriverOptions^ options
)
Parameters
fileName (String)
Name of the file in which to store the audio. The special filename "-" corresponds to stdout.
overwrite (Boolean)
A Boolean
bitsPerSample (Int32)
Bits per sample.
sampleRate (Int32)
Samples per second (in a single channel).
channels (Int32)
Number of audio channels.
options (AoDriverOptions)
An AoDriverOptions object containing driver-specific options.
Return Value
An AoDevice representing the open device, null if it cannot be opened.

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