# HG changeset patch # User bertrand # Date 1025836519 0 # Node ID 2cdaadd779acc4bbd6d5b2dddbbedf18949197b2 # Parent 2d3d4c628eced67dce3604fe1a4da739acb62299 Added the bandwidth variable. Used to set the max download bandwidth available or the max bandwidth to use. diff -r 2d3d4c628ece -r 2cdaadd779ac libmpdemux/network.h --- a/libmpdemux/network.h Thu Jul 04 22:17:30 2002 +0000 +++ b/libmpdemux/network.h Fri Jul 05 02:35:19 2002 +0000 @@ -34,6 +34,7 @@ char *buffer; unsigned int buffer_size; unsigned int buffer_pos; + unsigned int bandwidth; // The downstream available int (*streaming_read)( int fd, char *buffer, int buffer_size, struct streaming_control *stream_ctrl ); int (*streaming_seek)( int fd, off_t pos, struct streaming_control *stream_ctrl ); void *data;