Audio format writer interface.
More...
#include <format_registry.hpp>
|
| virtual | ~FormatWriter ()=default |
| virtual bool | write (const std::string &path, const AudioFileData &data)=0 |
| | Write audio data to a file.
|
| virtual bool | supports_extension (std::string_view ext) const =0 |
| | Whether this writer supports the given file extension.
|
| virtual std::string | format_name () const =0 |
| | Format name.
|
Audio format writer interface.
◆ ~FormatWriter()
| virtual pulp::audio::FormatWriter::~FormatWriter |
( |
| ) |
|
|
virtualdefault |
◆ format_name()
| virtual std::string pulp::audio::FormatWriter::format_name |
( |
| ) |
const |
|
pure virtual |
◆ supports_extension()
| virtual bool pulp::audio::FormatWriter::supports_extension |
( |
std::string_view | ext | ) |
const |
|
pure virtual |
Whether this writer supports the given file extension.
◆ write()
| virtual bool pulp::audio::FormatWriter::write |
( |
const std::string & | path, |
|
|
const AudioFileData & | data ) |
|
pure virtual |
Write audio data to a file.
The documentation for this class was generated from the following file: