Displaying 2 results from an estimated 2 matches for "group__flac__metadata__level1".
2004 Sep 10
0
reading vorbis comments with FLAC++?
...tation isn't overly clear about how this
> works
> and it would be cooler if some basic examples could be provided.
>
> Thanks in advance for any help that can be provided. Excuse my
> ignorance! :(
it's in the API docs; here's one link:
http://flac.sourceforge.net/api/group__flac__metadata__level1.html#_details
The C++ interface is a little simpler:
FLAC::Metadata::SimpleIterator it;
if (it.is_valid()) {
if (it.init(filename, true, true)) {
FLAC::Metadata::VorbisComment *vc = 0;
do {
if (it.get_block_type() ==
::FLAC__METADATA_TYPE_VORBIS_COMMENT) {
vc =...
2004 Sep 10
3
reading vorbis comments with FLAC++?
Well, I'm quite frankly stumped. I'm writing a program that recurses
into directories and reads (among others) FLAC files and should be able
to read the vorbis comments ARTIST and TITLE from the file.
A while back, I was popen()ing to metaflac, because I didn't want to
mess with libFLAC. But now, it's the weekend, so I can mess around with
this. Here's the code in question: