comparison libmpdemux/network.h @ 4729:f51bd827ed1c

fixed MP3 ICY detection, return detected file format for open_stream
author alex
date Sat, 16 Feb 2002 21:48:59 +0000
parents 05affdf4bdcd
children c4078c1f9d53
comparison
equal deleted inserted replaced
4728:dab19bd91cde 4729:f51bd827ed1c
36 int (*streaming_read)( int fd, char *buffer, int buffer_size, struct streaming_control *stream_ctrl ); 36 int (*streaming_read)( int fd, char *buffer, int buffer_size, struct streaming_control *stream_ctrl );
37 int (*streaming_seek)( int fd, off_t pos, struct streaming_control *stream_ctrl ); 37 int (*streaming_seek)( int fd, off_t pos, struct streaming_control *stream_ctrl );
38 void *data; 38 void *data;
39 } streaming_ctrl_t; 39 } streaming_ctrl_t;
40 40
41 //int streaming_start( stream_t *stream, int demuxer_type, URL_t *url ); 41 //int streaming_start( stream_t *stream, int *demuxer_type, URL_t *url );
42 42
43 int streaming_bufferize( streaming_ctrl_t *streaming_ctrl, char *buffer, int size); 43 int streaming_bufferize( streaming_ctrl_t *streaming_ctrl, char *buffer, int size);
44 44
45 int nop_streaming_read( int fd, char *buffer, int size, streaming_ctrl_t *stream_ctrl ); 45 int nop_streaming_read( int fd, char *buffer, int size, streaming_ctrl_t *stream_ctrl );
46 int nop_streaming_seek( int fd, off_t pos, streaming_ctrl_t *stream_ctrl ); 46 int nop_streaming_seek( int fd, off_t pos, streaming_ctrl_t *stream_ctrl );