configure.ac: Move OggVorbis Encoder to Encoder Plugins.
[mpd-mk.git] / src / riff.h
blobbfcb69a7d5ec72433825ff975432e883a96463bf
1 /*
2 * Copyright (C) 2003-2010 The Music Player Daemon Project
3 * http://www.musicpd.org
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 /** \file
22 * A parser for the RIFF file format (e.g. WAV).
25 #ifndef MPD_RIFF_H
26 #define MPD_RIFF_H
28 #include <stdbool.h>
29 #include <stddef.h>
30 #include <stdio.h>
32 /**
33 * Seeks the RIFF file to the ID3 chunk.
35 * @return the size of the ID3 chunk on success, or 0 if this is not a
36 * RIFF file or no ID3 chunk was found
38 size_t
39 riff_seek_id3(FILE *file);
41 #endif