Discussion:
[Flac] deprecated function question
Chris Sorenson
2014-11-23 20:44:21 UTC
Permalink
Greets all,

Is there a list of functions that have been removed from
flac? I am trying to compile xmcd, which is admittedly
pretty old code, and it's not finding:

FLAC__stream_encoder_set_write_callback
FLAC__stream_encoder_set_seek_callback
FLAC__stream_encoder_set_client_data
FLAC__stream_encoder_init

grepping through the flac headers these aren't there so I'm
assuming they've been removed. The online changelog doesn't
say anything about deprecated/removed functions. The only
one I've found reference to is the removal of
FLAC__seekable*, is there any documentation about any of the
above? Or have these been removed so long ago that nobody
even remembers them...
Martijn van Beurden
2014-11-23 23:28:16 UTC
Permalink
Post by Chris Sorenson
Greets all,
Is there a list of functions that have been removed from
flac?
Hi,

The changelog should mention thing like this:
http://xiph.org/flac/changelog.html So, apparently the changelog
is a bit too concise at this point.

Anyway, it has been removed in 2006, in this commit:
http://git.xiph.org/?p=flac.git;a=commitdiff;h=6b21f66784e1bcbe075b405668712e85eac39414
I think it was part of a large overhaul for FLAC 1.1.3. The
changelog points to this page:
http://xiph.org/flac/api/group__porting__1__1__2__to__1__1__3.html
The change is explained in detail there. As you can see,
updating the code is trivial.
Avuton Olrich
2014-11-24 04:11:55 UTC
Permalink
Also, FYI, if you ever come up against something like this again, might I
suggest 'git log -S {query}'. That's usually what I would have done in your
case (and admittedly, the older flac git logs are very terse).
Post by Chris Sorenson
Greets all,
Is there a list of functions that have been removed from
flac? I am trying to compile xmcd, which is admittedly
FLAC__stream_encoder_set_write_callback
FLAC__stream_encoder_set_seek_callback
FLAC__stream_encoder_set_client_data
FLAC__stream_encoder_init
grepping through the flac headers these aren't there so I'm
assuming they've been removed. The online changelog doesn't
say anything about deprecated/removed functions. The only
one I've found reference to is the removal of
FLAC__seekable*, is there any documentation about any of the
above? Or have these been removed so long ago that nobody
even remembers them...
_______________________________________________
Flac mailing list
http://lists.xiph.org/mailman/listinfo/flac
--
avuton
--
Fortes fortuna adiuvat
Loading...