Audaspace 1.5.0
A high level audio library.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
IFileOutput Interface Referenceabstract

The IFileOutput interface represents a file output plugin that can write files. More...

#include <IFileOutput.h>

Inheritance diagram for IFileOutput:
Inheritance graph
[legend]

Public Member Functions

virtual std::shared_ptr< IWritercreateWriter (const std::string &filename, DeviceSpecs specs, Container format, Codec codec, unsigned int bitrate)=0
 Creates a new file writer.
 

Detailed Description

The IFileOutput interface represents a file output plugin that can write files.

Member Function Documentation

◆ createWriter()

virtual std::shared_ptr< IWriter > IFileOutput::createWriter ( const std::string & filename,
DeviceSpecs specs,
Container format,
Codec codec,
unsigned int bitrate )
pure virtual

Creates a new file writer.

Parameters
filenameThe path to the file to be written.
specsThe file's audio specification.
formatThe file's container format.
codecThe codec used for encoding the audio data.
bitrateThe bitrate for encoding.
Exceptions
ExceptionThrown if the file specified cannot be written.

Implemented in FFMPEG, and SndFile.


The documentation for this interface was generated from the following file: