Skip to content

ADM228/libriff-X

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libriff-X

An improved fork of the murkymark/libriff library - a C99 library for parsing RIFF (Resource Interchange File Format) files with a C++11 wrapper (with optional C++17 features). Some common examples of RIFF files are WAV, AVI, ANI, MIDI SMF, MIDI, DLS.

Features

  • Helps to stroll around in the chunk tree structure provides functions for opening the file, moving around the chunk list, and entering sublevels
  • Not specialized in or limited to any specific RIFF form type
  • Supports input wrappers for file access via function pointers; wrappers for C file and memory already present
  • Can be seen as simple example for a file format library supporting user defined input wrappers
  • Memory-safe, easy to understand C++ wrapper
    • std::fstream support
  • CMake API
    • Toggleable inclusion of the C++ wrapper
    • Toggleable error printing from the C++ wrapper
    • Toggleable support for std::filesystem::path arguments

See riff.h and riff.hpp for further info.

Credits

  • murkymark for the original libriff