changeset 6641:2cdaadd779ac

Added the bandwidth variable. Used to set the max download bandwidth available or the max bandwidth to use.
author bertrand
date Fri, 05 Jul 2002 02:35:19 +0000
parents 2d3d4c628ece
children e47d54a2cfff
files libmpdemux/network.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;