* * $Log$ * *
Definiert in Datei station.h.
gehe zum Quellcode dieser Datei
Datenstrukturen | |
struct | RADIOSTATION |
Station configuration structure. Mehr ... | |
struct | STATIONINFO |
Station information structure. Mehr ... | |
Server Protocol Types | |
#define | PROTOCOL_TYPE_UNKNOWN 0 |
Protocol not determined. | |
#define | PROTOCOL_TYPE_SHOUTCAST 1 |
Receiver is connected to a SHOUTcast server. | |
#define | PROTOCOL_TYPE_ICECAST 2 |
Receiver is connected to an Icecast server. | |
Server Content Types | |
#define | CONTENT_TYPE_UNKNOWN 0 |
Unknown content. | |
#define | CONTENT_TYPE_MP3 1 |
MP3 encoded audio data. | |
#define | CONTENT_TYPE_OGG 2 |
Ogg Vorbis encoded audio data. | |
#define | CONTENT_TYPE_AACP 3 |
AAC+ encoded audio data. | |
Makrodefinitionen | |
#define | MAXNUM_STREAMS 32 |
Funktionen | |
STATIONINFO * | StationConnect (RADIOSTATION *radio, int sidx) |
Connect to a radio station. | |
void | StationDisconnect (STATIONINFO *sip) |
Disconnect from a radio station. |
#define MAXNUM_STREAMS 32 |
#define PROTOCOL_TYPE_SHOUTCAST 1 |
Receiver is connected to a SHOUTcast server.
Definiert in Zeile 64 der Datei station.h.
Wird benutzt von ShoutCastSetup().
#define PROTOCOL_TYPE_ICECAST 2 |
Receiver is connected to an Icecast server.
Definiert in Zeile 66 der Datei station.h.
Wird benutzt von ShoutCastSetup().
#define CONTENT_TYPE_UNKNOWN 0 |
#define CONTENT_TYPE_MP3 1 |
MP3 encoded audio data.
Definiert in Zeile 74 der Datei station.h.
Wird benutzt von ShoutCastSetup().
#define CONTENT_TYPE_OGG 2 |
Ogg Vorbis encoded audio data.
Definiert in Zeile 76 der Datei station.h.
Wird benutzt von ShoutCastSetup().
#define CONTENT_TYPE_AACP 3 |
AAC+ encoded audio data.
Definiert in Zeile 78 der Datei station.h.
Wird benutzt von ShoutCastSetup().
STATIONINFO* StationConnect | ( | RADIOSTATION * | scp, | |
int | sidx | |||
) |
Connect to a radio station.
scp | Pointer to the station configuration table entry. | |
sidx | Stream index. |
Definiert in Zeile 104 der Datei station.c.
Benutzt HttpSchemeParse(), HttpSchemeRelease(), LOG_STATION, LogMsg(), MAX_TCPBUF_SIZE, MAX_TCPRCV_WAIT, MAX_TCPSEG_SIZE, proxy, HTTP_PROXY::proxy_port, RADIOSTATION::rs_uri, HTTP_SCHEME::schm_host, HTTP_SCHEME::schm_path, HTTP_SCHEME::schm_portnum, STATIONINFO::si_header, STATIONINFO::si_scp, STATIONINFO::si_sock, StationDisconnect(), TcpGetHeaderLines(), TcpHostConnect() und TcpPutString().
void StationDisconnect | ( | STATIONINFO * | sip | ) |
Disconnect from a radio station.
sip | Pointer to a station information structure. |
Definiert in Zeile 83 der Datei station.c.
Benutzt LOG_STATION, LogMsg(), STATIONINFO::si_header, STATIONINFO::si_name, STATIONINFO::si_sock und TcpReleaseHeaderLines().