1 /**********************************************************
2  *
3  * libmp3splt flac plugin
4  *
5  * Copyright (c) 2014 Alexandru Munteanu - <m@ioalex.net>
6  *
7  * http://mp3splt.sourceforge.net
8  *
9  *********************************************************/
10 
11 /**********************************************************
12  *
13  * This program is free software; you can redistribute it and/or
14  * modify it under the terms of the GNU General Public License
15  * as published by the Free Software Foundation; either version 2
16  * of the License, or (at your option) any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21  * GNU General Public License for more details.
22  *
23  * You should have received a copy of the GNU General Public License
24  * along with this program; if not, write to the Free Software
25  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
26  * USA.
27  *
28  *********************************************************/
29 
30 #ifndef MP3SPLT_FLAC_H
31 
32 #include <FLAC/all.h>
33 
34 #include "flac_frame_reader.h"
35 #include "flac_metadata.h"
36 #include "flac_tags.h"
37 #include "flac_md5_decoder.h"
38 
39 #define SPLT_FLAC_EXT ".flac"
40 
41 typedef struct {
42   FLAC__StreamMetadata_StreamInfo streaminfo;
43   splt_flac_frame_reader *fr;
44   splt_flac_metadatas *metadatas;
45   splt_flac_tags *flac_tags;
46   //offset
47   float off;
48   float temp_level;
49 } splt_flac_state;
50 
51 #define MP3SPLT_FLAC_H
52 
53 #endif
54 
55