Home Units Hierarchy Routines All identifiers

Class unaSHOUTtransmitter

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type unaSHOUTtransmitter = class(unaThread)

Description

Basic SHOUTcast transmitter (TCP only).

Hierarchy

Overview

Methods

Public function open(const uri: string): HRESULT;
Public function send(buf: pointer; len: uint): uint;
Protected function execute(threadID: unsigned): int; override;
Public procedure close();

Properties

Public property error: int read f_err;
Public property iceCode: int read f_iceErr;
Public property ice_genre: string read f_ice_genre write f_ice_genre;
Public property ice_name: string read f_ice_name write f_ice_name;
Public property ice_public: bool read f_ice_public write f_ice_public;
Public property ice_URL: string read f_ice_URL write f_ice_URL;

Description

Methods

Public function open(const uri: string): HRESULT;

Opens the streamer.

Parameters
uri
Address of DNAS server.
Returns

S_OK if streamer was successfully started.

Public function send(buf: pointer; len: uint): uint;

Returns number of bytes actually sent.

Protected function execute(threadID: unsigned): int; override;
 
Public procedure close();

Closes the streamer.

Properties

Public property error: int read f_err;

see c_err_XXX

Public property iceCode: int read f_iceErr;
 
Public property ice_genre: string read f_ice_genre write f_ice_genre;
 
Public property ice_name: string read f_ice_name write f_ice_name;
 
Public property ice_public: bool read f_ice_public write f_ice_public;
 
Public property ice_URL: string read f_ice_URL write f_ice_URL;
 

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09