format_mp3.h 473 Bytes
Newer Older
Michael Smith's avatar
Michael Smith committed
1 2 3 4 5 6 7 8
/* format_mp3.h
**
** mp3 format plugin
**
*/
#ifndef __FORMAT_MP3_H__
#define __FORMAT_MP3_H__

9 10 11
typedef struct {
    char *metadata;
    int metadata_age;
12
    int metadata_raw;
Michael Smith's avatar
Michael Smith committed
13
    mutex_t lock;
14 15 16 17 18 19 20

    /* These are for inline metadata */
    int inline_metadata_interval;
    int offset;
    int metadata_length;
    char *metadata_buffer;
    int metadata_offset;
21 22
} mp3_state;

23
format_plugin_t *format_mp3_get_plugin(http_parser_t *parser);
Michael Smith's avatar
Michael Smith committed
24 25

#endif  /* __FORMAT_MP3_H__ */