Open a file for audio output. The file format is determined by the audio driver used.
Declaration Syntax
Parameters
- fileName (String)
- Name of the file in which to store the audio. The special filename "-" corresponds to stdout.
- overwrite (Boolean)
- If true, the file is automatically overwritten. If false, then a preexisting file will cause the function to return null.
- bitsPerSample (Int32)
- Bits per sample.
- sampleRate (Int32)
- Samples per second (in a single channel).
- channels (Int32)
- Number of audio channels.
Return Value
An AoDevice representing the open device, null if it cannot be opened.