SoundFontInfoLib
2.21.6
Library for parsing and rendering SF2 files
|
Represents an SF2 file. More...
#include <File.hpp>
Represents an SF2 file.
The constructor will process the entire file to validate its integrity and record the locations of the nine entities that define an SF2 file. It also extracts certain meta data items from various chunks such as the embedded name, author, and copyright statement.
File::File | ( | int | fd, |
size_t | size | ||
) |
Constructor.
Processes the SF2 file contents and builds up various collections based on what it finds
fd | the file descriptor to read from |
size | the size of the file being processed |
References SF2::Logger::debug(), SF2::IO::error, header, SF2::IO::ibag, SF2::IO::icmt, SF2::IO::icop, SF2::IO::icrd, SF2::IO::ieng, SF2::IO::ifil, SF2::IO::igen, SF2::IO::imod, SF2::IO::inam, SF2::IO::inst, SF2::IO::iprd, SF2::IO::irom, SF2::IO::isng, SF2::IO::istf, SF2::IO::iver, SF2::Entity::Version::load(), SF2::IO::Pos::makeChunkList(), SF2::IO::pbag, SF2::IO::pgen, SF2::IO::phdr, SF2::IO::pmod, SF2::IO::riff, SF2::IO::sfbk, SF2::IO::shdr, and SF2::IO::smpl.
void File::dump | ( | ) | const |
void File::dumpThreaded | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by dump(), and SF2::Render::InstrumentCollection::InstrumentCollection().
|
inline |
Referenced by dump().
|
inline |
Referenced by dump().
|
inline |
Referenced by dump(), and SF2::Render::Instrument::Instrument().
|
inline |
Referenced by dump().
|
inline |
Referenced by dump().
|
inline |
Referenced by dump().
|
inline |
Referenced by dump(), and SF2::Render::Preset::Preset().
|
inline |
Obtain a SampleBuffer at the given sample header index.
index | the index of the buffer to obtain |
|
inline |
Referenced by dump().