summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/lib/Emotion.h
diff options
context:
space:
mode:
authorDavide Andreoli <dave@gurumeditation.it>2012-03-05 09:33:05 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-03-05 09:33:05 +0000
commitcd00891529cab4ef46287696aa881336d58a24b4 (patch)
treeb127f0b4493141f47527a20fe7176ce727e2c9cc /legacy/emotion/src/lib/Emotion.h
parentf5bfcc675be99363247a524e2a8236c810ddd02d (diff)
From: Davide Andreoli <dave@gurumeditation.it>
Subject: [E-devel] Emotion buffer size patch Hi, here is a patch for emotion, it add a new function to retrive the status of the buffer while playing online stream. It is implemented only for the gstreamer backend, the xine one do not play at all here. What about the generic one? (xine does play - i implameneted this with the xine module, and generic is given a func that always returns 1.0 for now). SVN revision: 68684
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/lib/Emotion.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/legacy/emotion/src/lib/Emotion.h b/legacy/emotion/src/lib/Emotion.h
index bfd448b066..3e70b242e7 100644
--- a/legacy/emotion/src/lib/Emotion.h
+++ b/legacy/emotion/src/lib/Emotion.h
@@ -632,6 +632,23 @@ EAPI void emotion_object_position_set (Evas_Object *obj, double
632 * media file. 632 * media file.
633 */ 633 */
634EAPI double emotion_object_position_get (const Evas_Object *obj); 634EAPI double emotion_object_position_get (const Evas_Object *obj);
635
636/**
637 * @brief Get the percentual size of the buffering cache.
638 *
639 * @param obj The emotion object from which the buffer size will be retrieved.
640 * @return The buffer percent size, ranging from 0.0 to 1.0
641 *
642 * The buffer size is returned as a number between 0.0 and 1.0, 0.0 means
643 * the buffer if empty, 1.0 means full.
644 * If no buffering is in progress 1.0 is returned. In all other cases (maybe
645 * the backend don't support buffering) 1.0 is returned, thus you can always
646 * check for buffer_size < 1.0 to know if buffering is in progress.
647 *
648 * @warning xine backends don't implement this (will return 1.0).
649 */
650EAPI double emotion_object_buffer_size_get (const Evas_Object *obj);
651
635/** 652/**
636 * @brief Get whether the media file is seekable. 653 * @brief Get whether the media file is seekable.
637 * 654 *