5#include "external/libsndfile/include/sndfile.hh"
7#include "libsndfile/config.h"
9#define SDEBUG(...) Ase::debug ("sndfile", __VA_ARGS__)
12#ifndef HAVE_EXTERNAL_XIPH_LIBS
13#error "libsndfile requires Flac, Ogg, Vorbis, Opus headers"
16#error "libsndfile requires libmpg123 and libmp3lame"
20static_assert (SF_FORMAT_MPEG >= 0x230000,
"libsndfile required with MP3 support");
27 char sndfileversion[256] = { 0, };
28 sf_command (
nullptr, SFC_GET_LIB_VERSION, sndfileversion,
sizeof (sndfileversion));
29 return sndfileversion;
42 const String sndfileversion = libsndfile_version();
43 SDEBUG (
"SFC_GET_LIB_VERSION: %s\n", sndfileversion);
#define TEST_INTEGRITY(FUNC)
Register func as an integrity test.
The Anklang C++ API namespace.