liboggplay  0.3.0
Data Structures | Typedefs | Functions
oggplay_reader.h File Reference

oggplay_reader.h More...

#include <stdlib.h>
#include <oggz/oggz.h>
#include <ogg/ogg.h>

Go to the source code of this file.

Data Structures

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. More...
 
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. More...
 

Detailed Description

oggplay_reader.h

Authors
Shane Stephens shane.nosp@m..ste.nosp@m.phens.nosp@m.@ann.nosp@m.odex..nosp@m.net Michael Martin

Function Documentation

OggPlayReader* oggplay_file_reader_new ( const char *  filename)

Create and initialise an OggPlayReader for a given Ogg file.

Parameters
filenameThe file to open
Returns
A new OggPlayReader handle
Return values
NULLif 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
uriThe URI to the Ogg file.
proxyProxy
proxy_portProxy port.
Returns
A new OggPlayReader handle
Return values
NULLon error.