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 
26 G_BEGIN_DECLS
27 
28 #define XMMS_STREAM_TYPE_BEGIN "placeholder"
29 
30 typedef enum xmms_stream_type_key_E {
40 
41 struct xmms_stream_type_St;
42 typedef 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 
50 G_END_DECLS
51 
52 #endif
XMMS_STREAM_TYPE_PRIORITY
@ XMMS_STREAM_TYPE_PRIORITY
Definition: xmms_streamtype.h:37
xmms_stream_type_get_int
gint xmms_stream_type_get_int(const xmms_stream_type_t *st, xmms_stream_type_key_t key)
Definition: streamtype.c:171
XMMS_STREAM_TYPE_FMT_CHANNELS
@ XMMS_STREAM_TYPE_FMT_CHANNELS
Definition: xmms_streamtype.h:35
XMMS_STREAM_TYPE_FMT_FORMAT
@ XMMS_STREAM_TYPE_FMT_FORMAT
Definition: xmms_streamtype.h:34
xmms_stream_type_get_str
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_URL
@ XMMS_STREAM_TYPE_URL
Definition: xmms_streamtype.h:33
xmms_stream_type_key_E
xmms_stream_type_key_E
Definition: xmms_streamtype.h:30
XMMS_STREAM_TYPE_NAME
@ XMMS_STREAM_TYPE_NAME
Definition: xmms_streamtype.h:38
XMMS_STREAM_TYPE_FMT_SAMPLERATE
@ XMMS_STREAM_TYPE_FMT_SAMPLERATE
Definition: xmms_streamtype.h:36
xmms_stream_type_t
struct xmms_stream_type_St xmms_stream_type_t
Definition: xmms_streamtype.h:42
XMMS_STREAM_TYPE_END
@ XMMS_STREAM_TYPE_END
Definition: xmms_streamtype.h:31
XMMS_STREAM_TYPE_MIMETYPE
@ XMMS_STREAM_TYPE_MIMETYPE
Definition: xmms_streamtype.h:32
xmms_stream_type_key_t
enum xmms_stream_type_key_E xmms_stream_type_key_t