Audio-Scan

 view release on metacpan or  search on metacpan

src/id3_compat.c  view on Meta::CPAN

#endif
const id3_compat *
_id3_compat_lookup (str, len)
     register const char *str;
     register unsigned int len;
{
  enum
    {
      TOTAL_KEYWORDS = 79,
      MIN_WORD_LENGTH = 3,
      MAX_WORD_LENGTH = 4,
      MIN_HASH_VALUE = 1,
      MAX_HASH_VALUE = 130
    };

  static const id3_compat wordlist[] =
    {
#line 107 "id3_compat.gperf"
      {"WCM",  EQ(WCOM)  /* Commercial information */},
#line 70 "id3_compat.gperf"
      {"TIM",  EQ(TIME)  /* Time [obsolete] */},
#line 61 "id3_compat.gperf"
      {"TCM",  EQ(TCOM)  /* Composer */},
#line 113 "id3_compat.gperf"
      {"TSA",  EQ(TSOA)  /* non-standard iTunes album sort */},
#line 112 "id3_compat.gperf"
      {"TST",  EQ(TSOT)  /* non-standard iTunes track sort */},
#line 108 "id3_compat.gperf"
      {"WCP",  EQ(WCOP)  /* Copyright/legal information */},
#line 65 "id3_compat.gperf"
      {"TDA",  EQ(TDAT)  /* Date [obsolete] */},
#line 86 "id3_compat.gperf"
      {"TPA",  EQ(TPOS)  /* Part of a set */},
#line 116 "id3_compat.gperf"
      {"TSC",  EQ(TSOC), /* non-standard iTunes composer sort */},
#line 114 "id3_compat.gperf"
      {"TSP",  EQ(TSOP)  /* non-standard iTunes artist sort */},
#line 111 "id3_compat.gperf"
      {"TCP",  EQ(TCMP)  /* non-standard iTunes compilation flag */},
#line 66 "id3_compat.gperf"
      {"TDAT", OBSOLETE  /* Date [obsolete] */},
#line 73 "id3_compat.gperf"
      {"TLA",  EQ(TLAN)  /* Language(s) */},
#line 52 "id3_compat.gperf"
      {"PIC",  TX(APIC)  /* Attached picture */},
#line 75 "id3_compat.gperf"
      {"TMT",  EQ(TMED)  /* Media type */},
#line 51 "id3_compat.gperf"
      {"MLL",  EQ(MLLT)  /* MPEG location lookup table */},
#line 50 "id3_compat.gperf"
      {"MCI",  EQ(MCDI)  /* Music CD identifier */},
#line 71 "id3_compat.gperf"
      {"TIME", OBSOLETE  /* Time [obsolete] */},
#line 67 "id3_compat.gperf"
      {"TDY",  EQ(TDLY)  /* Playlist delay */},
#line 94 "id3_compat.gperf"
      {"TSS",  EQ(TSSE)  /* Software/hardware and settings used for encoding */},
#line 92 "id3_compat.gperf"
      {"TSI",  OBSOLETE  /* Size [obsolete] */},
#line 103 "id3_compat.gperf"
      {"ULT",  EQ(USLT)  /* Unsynchronised lyric/text transcription */},
#line 76 "id3_compat.gperf"
      {"TOA",  EQ(TOPE)  /* Original artist(s)/performer(s) */},
#line 40 "id3_compat.gperf"
      {"COM",  EQ(COMM)  /* Comments */},
#line 81 "id3_compat.gperf"
      {"TOT",  EQ(TOAL)  /* Original album/movie/show title */},
#line 64 "id3_compat.gperf"
      {"TCR",  EQ(TCOP)  /* Copyright message */},
#line 62 "id3_compat.gperf"
      {"TCO",  TX(TCON)  /* Content type */},
#line 74 "id3_compat.gperf"
      {"TLE",  EQ(TLEN)  /* Length */},
#line 59 "id3_compat.gperf"
      {"TAL",  EQ(TALB)  /* Album/movie/show title */},
#line 57 "id3_compat.gperf"
      {"SLT",  EQ(SYLT)  /* Synchronised lyric/text */},
#line 78 "id3_compat.gperf"
      {"TOL",  EQ(TOLY)  /* Original lyricist(s)/text writer(s) */},
#line 47 "id3_compat.gperf"
      {"IPL",  EQ(TIPL)  /* Involved people list */},
#line 106 "id3_compat.gperf"
      {"WAS",  EQ(WOAS)  /* Official audio source webpage */},
#line 39 "id3_compat.gperf"
      {"CNT",  EQ(PCNT)  /* Play counter */},
#line 53 "id3_compat.gperf"
      {"POP",  EQ(POPM)  /* Popularimeter */},
#line 42 "id3_compat.gperf"
      {"CRM",  OBSOLETE  /* Encrypted meta frame [obsolete] */},
#line 43 "id3_compat.gperf"
      {"EQU",  OBSOLETE  /* Equalization [obsolete] */},
#line 105 "id3_compat.gperf"
      {"WAR",  EQ(WOAR)  /* Official artist/performer webpage */},
#line 41 "id3_compat.gperf"
      {"CRA",  EQ(AENC)  /* Audio encryption */},
#line 44 "id3_compat.gperf"
      {"EQUA", OBSOLETE  /* Equalization [obsolete] */},
#line 88 "id3_compat.gperf"
      {"TRC",  EQ(TSRC)  /* ISRC (international standard recording code) */},
#line 98 "id3_compat.gperf"
      {"TXT",  EQ(TEXT)  /* Lyricist/text writer */},
#line 46 "id3_compat.gperf"
      {"GEO",  EQ(GEOB)  /* General encapsulated object */},
#line 72 "id3_compat.gperf"
      {"TKE",  EQ(TKEY)  /* Initial key */},
#line 79 "id3_compat.gperf"
      {"TOR",  EQ(TDOR)  /* Original release year [obsolete] */},
#line 93 "id3_compat.gperf"
      {"TSIZ", OBSOLETE  /* Size [obsolete] */},
#line 45 "id3_compat.gperf"
      {"ETC",  EQ(ETCO)  /* Event timing codes */},
#line 55 "id3_compat.gperf"
      {"RVA",  EQ(RVAD)  /* Relative volume adjustment [obsolete] */},
#line 58 "id3_compat.gperf"
      {"STC",  EQ(SYTC)  /* Synchronised tempo codes */},
#line 89 "id3_compat.gperf"
      {"TRD",  OBSOLETE  /* Recording dates [obsolete] */},
#line 48 "id3_compat.gperf"
      {"IPLS", EQ(TIPL)  /* Involved people list */},
#line 90 "id3_compat.gperf"
      {"TRDA", OBSOLETE  /* Recording dates [obsolete] */},



( run in 0.988 second using v1.01-cache-2.11-cpan-39bf76dae61 )