Audaspace
1.3.0
A high level audio library.
|
Go to the documentation of this file.
19 #ifdef LIBSNDFILE_PLUGIN
20 #define AUD_BUILD_PLUGIN
55 virtual std::shared_ptr<IReader>
createReader(std::string filename);
56 virtual std::shared_ptr<IReader>
createReader(std::shared_ptr<Buffer> buffer);
Specification of a sound device.
Definition: Specification.h:120
The IFileOutput interface represents a file output plugin that can write files.
Definition: IFileOutput.h:38
#define AUD_PLUGIN_API
Used for exporting symbols in the shared library.
Definition: Audaspace.h:94
Container
Container formats for writers.
Definition: IWriter.h:31
Codec
Audio codecs for writers.
Definition: IWriter.h:44
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition: Audaspace.h:119
SndFile()
Creates a new libsndfile plugin.
The IFileOutput interface.
This plugin class reads and writes sounds via libsndfile.
Definition: SndFile.h:38
virtual std::shared_ptr< IReader > createReader(std::shared_ptr< Buffer > buffer)
Creates a reader for a file to be read from memory.
static void registerPlugin()
Registers this plugin.
virtual std::shared_ptr< IReader > createReader(std::string filename)
Creates a reader for a file to be read.
virtual std::shared_ptr< IWriter > createWriter(std::string filename, DeviceSpecs specs, Container format, Codec codec, unsigned int bitrate)
Creates a new file writer.
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition: Audaspace.h:116