From d84f253422522de188a6c0c86897939f7f41651a Mon Sep 17 00:00:00 2001 From: Stefan Holst Date: Sun, 15 Dec 2002 16:48:56 +0000 Subject: these new methods nbc_set_high_water_mark nbc_set_low_water_mark gives network input plugins a bit more control over buffering. CVS patchset: 3544 CVS date: 2002/12/15 16:48:56 --- src/input/net_buf_ctrl.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/input/net_buf_ctrl.c') diff --git a/src/input/net_buf_ctrl.c b/src/input/net_buf_ctrl.c index 12ede3d53..e31049284 100644 --- a/src/input/net_buf_ctrl.c +++ b/src/input/net_buf_ctrl.c @@ -132,3 +132,10 @@ nbc_t *nbc_init (xine_stream_t *stream) { return this; } +void nbc_set_high_water_mark(nbc_t *this, int value) { + this->high_water_mark = value; +} + +void nbc_set_low_water_mark(nbc_t *this, int value) { + this->low_water_mark = value; +} -- cgit v1.2.3