SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
SprStreamOpenCPHInfo Struct Reference
+ Collaboration diagram for SprStreamOpenCPHInfo:

Data Fields

SprStreamOpenDecodeParam decode_param
 Function to decode the extra parameters. More...
 
SprStreamOpenFreeParam free_param
 Function to free the decoded parameters. More...
 
SprStreamOpenProtocol open_stream
 Function to open a stream using this protocol. More...
 
SprStreamOpenCoder open_filter
 Function to push an extra coder. More...
 
SprStreamOpenHdrRead read_hdr
 Function to read the header info. More...
 
SprStreamOpenHdrWrite write_hdr
 Function to write the header info. More...
 
SprStreamOpenCheck check
 Function to check capabilities. More...
 
int nohdr_is_ok
 The header may be completely omitted (nohdr format) More...
 

Detailed Description

Structure to provide information to the SRM system to handle extra protocols (e.g. html, ftp), coders (e.g. ogg, mp3) or headers (e.g. ogg, mp3).

Note
Protocol names are exclusive w.r.t. to header and coder names. A header format and a coder may share a single name (e.g. flac) if this refers to the same 'format'. In other words, if open_stream is not NULL, open_filter, read_hdr and write_hdr must all be NULL.

Field Documentation

SprStreamOpenDecodeParam SprStreamOpenCPHInfo::decode_param

Function to decode the extra parameters.

SprStreamOpenFreeParam SprStreamOpenCPHInfo::free_param

Function to free the decoded parameters.

SprStreamOpenProtocol SprStreamOpenCPHInfo::open_stream

Function to open a stream using this protocol.

SprStreamOpenCoder SprStreamOpenCPHInfo::open_filter

Function to push an extra coder.

SprStreamOpenHdrRead SprStreamOpenCPHInfo::read_hdr

Function to read the header info.

SprStreamOpenHdrWrite SprStreamOpenCPHInfo::write_hdr

Function to write the header info.

SprStreamOpenCheck SprStreamOpenCPHInfo::check

Function to check capabilities.

int SprStreamOpenCPHInfo::nohdr_is_ok

The header may be completely omitted (nohdr format)