XMMS2
xmms_streamtype.h
Go to the documentation of this file.
1/* XMMS2 - X Music Multiplexer System
2 * Copyright (C) 2003-2011 XMMS2 Team
3 *
4 * PLUGINS ARE NOT CONSIDERED TO BE DERIVED WORK !!!
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 */
16
17
18
19
20#ifndef __XMMS_STREAMTYPE_H__
21#define __XMMS_STREAMTYPE_H__
22
23#include <glib.h>
24#include <string.h>
25
26G_BEGIN_DECLS
27
28#define XMMS_STREAM_TYPE_BEGIN "placeholder"
29
40
41struct xmms_stream_type_St;
42typedef struct xmms_stream_type_St xmms_stream_type_t;
43
44#define XMMS_STREAM_TYPE_PRIORITY_FALLBACK 40
45#define XMMS_STREAM_TYPE_PRIORITY_DEFAULT 50
46
49
50G_END_DECLS
51
52#endif
const char * xmms_stream_type_get_str(const xmms_stream_type_t *st, xmms_stream_type_key_t key)
Definition: streamtype.c:148
xmms_stream_type_key_E
@ XMMS_STREAM_TYPE_MIMETYPE
@ XMMS_STREAM_TYPE_FMT_FORMAT
@ XMMS_STREAM_TYPE_NAME
@ XMMS_STREAM_TYPE_FMT_SAMPLERATE
@ XMMS_STREAM_TYPE_FMT_CHANNELS
@ XMMS_STREAM_TYPE_PRIORITY
@ XMMS_STREAM_TYPE_URL
@ XMMS_STREAM_TYPE_END
gint xmms_stream_type_get_int(const xmms_stream_type_t *st, xmms_stream_type_key_t key)
Definition: streamtype.c:171
enum xmms_stream_type_key_E xmms_stream_type_key_t
struct xmms_stream_type_St xmms_stream_type_t