Classes | Typedefs | Functions

oggplay_reader.h File Reference

oggplay_reader.h More...

#include <stdlib.h>
#include <oggz/oggz.h>
#include <ogg/ogg.h>
Include dependency graph for oggplay_reader.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  _OggPlayReader

Typedefs

typedef struct _OggPlayReader OggPlayReader

Functions

OggPlayReaderoggplay_file_reader_new (const char *filename)
 Create and initialise an OggPlayReader for a given Ogg file.
OggPlayReaderoggplay_tcp_reader_new (const char *uri, const char *proxy, int proxy_port)
 Create and initialise an OggPlayReader for an Ogg content at a given URI.

Detailed Description

oggplay_reader.h

Authors:
Shane Stephens <shane.stephens@annodex.net> Michael Martin

Typedef Documentation

typedef struct _OggPlayReader OggPlayReader

Function Documentation

OggPlayReader* oggplay_file_reader_new ( const char *  filename  ) 

Create and initialise an OggPlayReader for a given Ogg file.

Parameters:
filename The file to open
Returns:
A new OggPlayReader handle
Return values:
NULL if error occured.
OggPlayReader* oggplay_tcp_reader_new ( const char *  uri,
const char *  proxy,
int  proxy_port 
)

Create and initialise an OggPlayReader for an Ogg content at a given URI.

Parameters:
uri The URI to the Ogg file.
proxy Proxy
proxy_port Proxy port.
Returns:
A new OggPlayReader handle
Return values:
NULL on error.