Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 972 Bytes

README.md

File metadata and controls

43 lines (31 loc) · 972 Bytes

AuConv

Yet another audio format convertion library

Usage

#include <system_error>

#include "auconv/file.h"

int main(int argc, char* argv[]) {
  std::error_code err;
  auconv::File file;

  file.Open("/path/to/some/file.mp3", err);
  if (err) {
    return 1;
  }

  file.Export("/path/to/new/file.wav", auconv::Format::kWav, err);
  if (err) {
    return 1;
  }
  return 0;
}

License

This project uses libraries from the FFmpeg project licensed under the LGPLv2.1.
On OSX, The install target creates auconv.framework which contains the shared version of FFmpeg libraries and a zipped file containing the sources, as requested by the legal information found here.

Example

The auconverter target is a command line tool to use the auconv library.
See src/auconverter/main.cc for more details