44 static std::list<std::shared_ptr<IFileInput>>& inputs();
45 static std::list<std::shared_ptr<IFileOutput>>& outputs();
71 static std::shared_ptr<IReader>
createReader(std::string filename);
79 static std::shared_ptr<IReader>
createReader(std::shared_ptr<Buffer> buffer);
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition: Audaspace.h:119
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition: Audaspace.h:116
#define AUD_API
Used for exporting symbols in the shared library.
Definition: Audaspace.h:93
Defines the IWriter interface as well as Container and Codec types.
Container
Container formats for writers.
Definition: IWriter.h:31
Codec
Audio codecs for writers.
Definition: IWriter.h:44
Defines all important macros and basic data structures for stream format descriptions.
This class is a simple buffer in RAM which is 32 Byte aligned and provides resize functionality.
Definition: Buffer.h:34
The FileManager manages all file input and output plugins.
Definition: FileManager.h:42
static void registerInput(std::shared_ptr< IFileInput > input)
Registers a file input used to create an IReader to read from a file.
static std::shared_ptr< IReader > createReader(std::shared_ptr< Buffer > buffer)
Creates a file reader for the given buffer if a registed IFileInput is able to read it.
static std::shared_ptr< IReader > createReader(std::string filename)
Creates a file reader for the given filename if a registed IFileInput is able to read it.
static void registerOutput(std::shared_ptr< IFileOutput > output)
Registers a file output used to create an IWriter to write to a file.
static std::shared_ptr< IWriter > createWriter(std::string filename, DeviceSpecs specs, Container format, Codec codec, unsigned int bitrate)
Creates a file writer that writes a sound to the given file path.
The IFileOutput interface represents a file output plugin that can write files.
Definition: IFileOutput.h:38
This class represents a sound source as stream or as buffer which can be read for example by another ...
Definition: IReader.h:35
Specification of a sound device.
Definition: Specification.h:120