scanner.h File Reference

Go to the source code of this file.

Functions

int ScannerInit (void)
 Initialize the MP3 player.
int ScanStreamHeader (TCPSOCKET *sock, RADIOSTATION *rsp)
 Process header from server.


Function Documentation

int ScannerInit ( void   ) 

Initialize the MP3 player.

Log
Revision 1.1 2003/07/21 17:50:48 haraldkipp First check in

Initializes the decoder and the decoder buffer and starts the player background thread.

Definition at line 322 of file scanner.c.

References NutThreadCreate(), and Scanner().

int ScanStreamHeader ( TCPSOCKET sock,
RADIOSTATION rsp 
)

Process header from server.

Definition at line 108 of file scanner.c.

References atoi(), atol(), free, inet_ntoa(), malloc, printf, puts, RADIOSTATION::rs_bitrate, RADIOSTATION::rs_genre, RADIOSTATION::rs_ip, RADIOSTATION::rs_metaint, RADIOSTATION::rs_name, RADIOSTATION::rs_url, sprintf, strcat(), strcpy(), strlen(), and strncmp().


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/