* * $Log$ * *
Definition in file receiver.c.
Go to the source code of this file.
Functions | |
RECEIVERINFO * | ReceiverCreate (RECEIVERPLUGIN *plugin) |
Create stream receiver instance with the specified plug-in. | |
static int | ReceiverPlugInControl (RECEIVERINFO *rip, u_int sst, u_int xst) |
Change receiver plug-in status. | |
u_int | ReceiverStatus (RECEIVERINFO *rip) |
Retrieve the current receiver status. | |
int | ReceiverStop (RECEIVERINFO *rip) |
Stop receiver. | |
RECEIVERINFO * | ReceiverStart (RECEIVERINFO *ritab[], STATIONINFO *sip) |
Start receiver for the connected stream. |
RECEIVERINFO* ReceiverCreate | ( | RECEIVERPLUGIN * | plugin | ) |
Create stream receiver instance with the specified plug-in.
plugin | Pointer to a receiver plug-in. |
Definition at line 86 of file receiver.c.
Referenced by main().
static int ReceiverPlugInControl | ( | RECEIVERINFO * | rip, | |
u_int | sst, | |||
u_int | xst | |||
) | [static] |
Change receiver plug-in status.
rip | Points to the receiver information structure. | |
sst | Command status to set, either RSTAT_STOP or RSTAT_START. | |
xst | Expected final status, RSTAT_IDLE, RSTAT_BUFFERING or RSTAT_RUNNING. The last two may be or'ed together. |
Definition at line 113 of file receiver.c.
References LOG_ERROR, LogMsg(), RECEIVERINFO::ri_cmdevt, RECEIVERINFO::ri_status, and RECEIVERINFO::ri_stsevt.
Referenced by ReceiverStart(), and ReceiverStop().
u_int ReceiverStatus | ( | RECEIVERINFO * | rip | ) |
Retrieve the current receiver status.
rip | Pointer to the receiver information structure. |
Definition at line 136 of file receiver.c.
Referenced by main().
int ReceiverStop | ( | RECEIVERINFO * | rip | ) |
Stop receiver.
rip | Receiver to stop. |
Definition at line 148 of file receiver.c.
Referenced by main(), and ReceiverStart().
RECEIVERINFO* ReceiverStart | ( | RECEIVERINFO * | ritab[], | |
STATIONINFO * | sip | |||
) |
Start receiver for the connected stream.
ritab | Table of available receivers. | |
sip | Information structure of the connected station . |
Definition at line 162 of file receiver.c.
Referenced by main().