MPD 0.20.6

- Main Page
- Namespaces
- Data Structures
- Files

- File List
- Globals

OggCodec.hxx
Go to the documentation of this file.
1 /*
2 * Copyright 2003-2017 The Music Player Daemon Project
3 * http://www.musicpd.org
4 *
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.
9 *
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.
14 *
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.
18 */
19
20 /*
21 * Common functions used for Ogg data streams (Ogg-Vorbis and OggFLAC)
22 */
23
24 #ifndef MPD_OGG_CODEC_HXX
25 #define MPD_OGG_CODEC_HXX
26
27 class DecoderClient;
28 class InputStream;
29
30 enum ogg_codec {
31 OGG_CODEC_UNKNOWN,
32 OGG_CODEC_VORBIS,
33 OGG_CODEC_FLAC,
34 OGG_CODEC_OPUS,
35 };
36
37 enum ogg_codec
38 ogg_codec_detect(DecoderClient *client, InputStream &is);
39
40 #endif /* _OGG_COMMON_H */
DecoderClient
An interface between the decoder plugin and the MPD core.
Definition: Client.hxx:39
ogg_codec
ogg_codec
Definition: OggCodec.hxx:30
InputStream
Definition: InputStream.hxx:36
OGG_CODEC_UNKNOWN
Definition: OggCodec.hxx:31
OGG_CODEC_FLAC
Definition: OggCodec.hxx:33
OGG_CODEC_VORBIS
Definition: OggCodec.hxx:32
OGG_CODEC_OPUS
Definition: OggCodec.hxx:34
ogg_codec_detect
enum ogg_codec ogg_codec_detect(DecoderClient *client, InputStream &is)