XMMS2
Macros | Typedefs | Enumerations | Functions
xmms_streamtype.h File Reference
#include <xmmsc/xmmsc_compiler.h>
#include <glib.h>
#include <string.h>

Macros

#define XMMS_STREAM_TYPE_BEGIN   "placeholder"
 
#define XMMS_STREAM_TYPE_PRIORITY_FALLBACK   40
 
#define XMMS_STREAM_TYPE_PRIORITY_DEFAULT   50
 

Typedefs

typedef 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)
 

Macro Definition Documentation

#define XMMS_STREAM_TYPE_BEGIN   "placeholder"

Referenced by xmms_stream_type_coerce().

#define XMMS_STREAM_TYPE_PRIORITY_DEFAULT   50
#define XMMS_STREAM_TYPE_PRIORITY_FALLBACK   40

Typedef Documentation

typedef struct xmms_stream_type_St xmms_stream_type_t

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 

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 
)