diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/buffering.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/buffering.c b/apps/buffering.c index 96ec92201f..3b4afac073 100644 --- a/apps/buffering.c +++ b/apps/buffering.c | |||
@@ -552,7 +552,6 @@ BUFFER SPACE MANAGEMENT | |||
552 | ======================= | 552 | ======================= |
553 | 553 | ||
554 | update_data_counters: Updates the values in data_counters | 554 | update_data_counters: Updates the values in data_counters |
555 | buffer_is_low : Returns true if the amount of useful data in the buffer is low | ||
556 | buffer_handle : Buffer data for a handle | 555 | buffer_handle : Buffer data for a handle |
557 | rebuffer_handle : Seek to a nonbuffered part of a handle by rebuffering the data | 556 | rebuffer_handle : Seek to a nonbuffered part of a handle by rebuffering the data |
558 | shrink_handle : Free buffer space by moving a handle | 557 | shrink_handle : Free buffer space by moving a handle |
@@ -600,12 +599,6 @@ static int update_data_counters(struct data_counters *dc) | |||
600 | return num; | 599 | return num; |
601 | } | 600 | } |
602 | 601 | ||
603 | static inline bool buffer_is_low(void) | ||
604 | { | ||
605 | update_data_counters(NULL); | ||
606 | return data_counters.useful < BUF_WATERMARK / 2; | ||
607 | } | ||
608 | |||
609 | /* Q_BUFFER_HANDLE event and buffer data for the given handle. | 602 | /* Q_BUFFER_HANDLE event and buffer data for the given handle. |
610 | Return whether or not the buffering should continue explicitly. */ | 603 | Return whether or not the buffering should continue explicitly. */ |
611 | static bool buffer_handle(int handle_id, size_t to_buffer) | 604 | static bool buffer_handle(int handle_id, size_t to_buffer) |