src/include/xmms/xmms_streamtype.h File Reference

#include <glib.h>
#include <string.h>

Go to the source code of this file.

Defines

#define XMMS_STREAM_TYPE_PRIORITY_FALLBACK   40
#define XMMS_STREAM_TYPE_PRIORITY_DEFAULT   50

Typedefs

typedef G_BEGIN_DECLS enum
xmms_stream_type_key_E 
xmms_stream_type_key_t
typedef struct xmms_stream_type_St xmms_stream_type_t

Enumerations

enum  xmms_stream_type_key_E {
  XMMS_STREAM_TYPE_END, XMMS_STREAM_TYPE_MIMETYPE, XMMS_STREAM_TYPE_URL, XMMS_STREAM_TYPE_FMT_FORMAT,
  XMMS_STREAM_TYPE_FMT_CHANNELS, XMMS_STREAM_TYPE_FMT_SAMPLERATE, XMMS_STREAM_TYPE_PRIORITY, XMMS_STREAM_TYPE_NAME
}

Functions

const char * xmms_stream_type_get_str (const xmms_stream_type_t *st, xmms_stream_type_key_t key)
gint xmms_stream_type_get_int (const xmms_stream_type_t *st, xmms_stream_type_key_t key)

Define Documentation

#define XMMS_STREAM_TYPE_PRIORITY_DEFAULT   50

Definition at line 43 of file xmms_streamtype.h.

Referenced by xmms_stream_type_parse().

#define XMMS_STREAM_TYPE_PRIORITY_FALLBACK   40

Definition at line 42 of file xmms_streamtype.h.


Typedef Documentation

typedef G_BEGIN_DECLS enum xmms_stream_type_key_E xmms_stream_type_key_t
typedef struct xmms_stream_type_St xmms_stream_type_t

Definition at line 40 of file xmms_streamtype.h.


Enumeration Type Documentation

Enumerator:
XMMS_STREAM_TYPE_END 
XMMS_STREAM_TYPE_MIMETYPE 
XMMS_STREAM_TYPE_URL 
XMMS_STREAM_TYPE_FMT_FORMAT 
XMMS_STREAM_TYPE_FMT_CHANNELS 
XMMS_STREAM_TYPE_FMT_SAMPLERATE 
XMMS_STREAM_TYPE_PRIORITY 
XMMS_STREAM_TYPE_NAME 

Definition at line 28 of file xmms_streamtype.h.


Function Documentation

gint xmms_stream_type_get_int ( const xmms_stream_type_t st,
xmms_stream_type_key_t  key 
)
const char* xmms_stream_type_get_str ( const xmms_stream_type_t st,
xmms_stream_type_key_t  key 
)

Generated on Tue Feb 23 18:14:36 2010 for XMMS2 by  doxygen 1.6.1