0

how to convert WAV format to FLAC using libFLAC++ (encode.h and decode.h)

manlio
  • 18,345
  • 14
  • 76
  • 126
markus
  • 11
  • 1
  • 1

1 Answers1

3

There's a nice C++ example in the libflac source tarball.

It's also possible to browse it online (single cpp file).

dschulz
  • 4,666
  • 1
  • 31
  • 31
  • 3
    Seriously, do you expect to find an example ready to double click n' compile with C++ Builder? There's nothing specific to VC++ in the `main.cpp`. Just remove everything but the `main.cpp` and create a new C++ Builder project with it. C++ is a standard language, VC++ is not a language but an IDE. `libflac` is standard C++. – dschulz Apr 18 '12 at 12:54
  • On the FLAC website there's even a link to a set of precompiled tools, which let you do that directly: https://xiph.org/flac/download.html The source code of these tools can also be found on said website. – Tara Jul 16 '14 at 12:46