ref: ff6f7fd517d4bc5b64842a24df2fddc47074a402
parent: 3c03147592b56d3dd87fdc3539fff6a2025a6fab
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Wed Mar 6 12:33:22 EST 2024
Fogg -> Fvorbis; deprecate the former
--- a/tags.c
+++ b/tags.c
@@ -12,7 +12,7 @@
{
{tagid3v2, Fmp3},
{tagid3v1, Fmp3},
- {tagvorbis, Fogg},
+ {tagvorbis, Fvorbis},
{tagflac, Fflac},
{tagm4a, Fm4a},
{tagopus, Fopus},
--- a/tags.h
+++ b/tags.h
@@ -29,7 +29,7 @@
enum {
Funknown = -1,
Fmp3,
- Fogg,
+ Fvorbis,
Fflac,
Fm4a,
Fopus,
@@ -40,6 +40,7 @@
Fmod,
Fmax,
+ Fogg __attribute__((deprecated("use Fvorbis instead"))) = Fvorbis,
};
/* Tag parser context. You need to set it properly before parsing an audio file using libtags. */
@@ -79,7 +80,7 @@
int samplerate; /* Hz */
int bitrate; /* Bitrate, bits/s. */
int duration; /* ms */
- int format; /* Fmp3, Fogg, Fflac, Fm4a */
+ int format; /* Fmp3, Fvorbis, Fflac, Fm4a etc */
/* Private, don't touch. */
int found;