Mercurial > audlegacy
view Plugins/Output/crossfade/timing.h @ 259:88b38e2414a1 trunk
[svn] First attempt at porting the crossfade plugin; patches from bug #363 applied, GThreadified, includes fixed. Will most probably not compile as of yet.
author | chainsaw |
---|---|
date | Sun, 04 Dec 2005 15:58:55 -0800 |
parents | |
children | 5b81b0f310e5 |
line wrap: on
line source
#include <stdio.h> #include <stdlib.h> #include <string.h> /* static int intro_ms, outro_ms; */ typedef struct { int RMS; float mix_in; float mix_out; float length; } quantaudio_t; /* id3 stuff is taken from the id3 GPL program */ typedef struct { char tag[3]; char title[30]; char artist[30]; char album[30]; char year[4]; /* With ID3 v1.0, the comment is 30 chars long */ /* With ID3 v1.1, if comment[28] == 0 then comment[29] == tracknum */ char comment[30]; unsigned char genre; } id3_t; int get_timing_comment (char *filename, quantaudio_t *qa); int get_id3 (char *filename, id3_t *id3);