47 static std::list<std::shared_ptr<IFileInput>>& inputs();
48 static std::list<std::shared_ptr<IFileOutput>>& outputs();
60 static void registerInput(std::shared_ptr<IFileInput> input);
66 static void registerOutput(std::shared_ptr<IFileOutput> output);
75 static std::shared_ptr<IReader> createReader(std::string filename,
int stream = 0);
84 static std::shared_ptr<IReader> createReader(std::shared_ptr<Buffer> buffer,
int stream = 0);
92 static std::vector<StreamInfo> queryStreams(std::string filename);
100 static std::vector<StreamInfo> queryStreams(std::shared_ptr<Buffer> buffer);
113 static std::shared_ptr<IWriter> createWriter(std::string filename,
DeviceSpecs specs,
Container format,
Codec codec,
unsigned int bitrate);
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition: Audaspace.h:116
This class represents a sound source as stream or as buffer which can be read for example by another ...
Definition: IReader.h:34
#define AUD_API
Used for exporting symbols in the shared library.
Definition: Audaspace.h:93
Defines all important macros and basic data structures for stream format descriptions.
The FileManager manages all file input and output plugins.
Definition: FileManager.h:44
This class is a simple buffer in RAM which is 32 Byte aligned and provides resize functionality...
Definition: Buffer.h:33
Specification of a sound device.
Definition: Specification.h:119
The FileInfo data structures.
Codec
Audio codecs for writers.
Definition: IWriter.h:43
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition: Audaspace.h:119
Container
Container formats for writers.
Definition: IWriter.h:30
The IFileOutput interface represents a file output plugin that can write files.
Definition: IFileOutput.h:37
Defines the IWriter interface as well as Container and Codec types.