4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>brasero-units</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
<link rel="home" href="index.html" title="Libbrasero-media Reference Manual">
8
8
<link rel="up" href="ch01.html" title="API Reference for Libbrasero-media">
9
9
<link rel="prev" href="libbrasero-media-brasero-media.html" title="brasero-media">
10
10
<link rel="next" href="libbrasero-media-BraseroMediumMonitor.html" title="BraseroMediumMonitor">
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
51
51
#define <a class="link" href="libbrasero-media-brasero-units.html#BRASERO-BYTES-TO-SECTORS:CAPS" title="BRASERO_BYTES_TO_SECTORS()">BRASERO_BYTES_TO_SECTORS</a> (size,
53
53
#define <a class="link" href="libbrasero-media-brasero-units.html#BRASERO-BYTES-TO-DURATION:CAPS" title="BRASERO_BYTES_TO_DURATION()">BRASERO_BYTES_TO_DURATION</a> (bytes)
54
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libbrasero-media-brasero-units.html#brasero-units-get-time-string" title="brasero_units_get_time_string ()">brasero_units_get_time_string</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> time</code></em>,
55
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> with_unit</code></em>,
56
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> round</code></em>);
57
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libbrasero-media-brasero-units.html#brasero-units-get-time-string-from-size" title="brasero_units_get_time_string_from_size ()">brasero_units_get_time_string_from_size</a>
58
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> size</code></em>,
59
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> with_unit</code></em>,
60
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> round</code></em>);
54
<span class="returnvalue">gchar</span> * <a class="link" href="libbrasero-media-brasero-units.html#brasero-units-get-time-string" title="brasero_units_get_time_string ()">brasero_units_get_time_string</a> (<em class="parameter"><code><span class="type">guint64</span> time</code></em>,
55
<em class="parameter"><code><span class="type">gboolean</span> with_unit</code></em>,
56
<em class="parameter"><code><span class="type">gboolean</span> round</code></em>);
57
<span class="returnvalue">gchar</span> * <a class="link" href="libbrasero-media-brasero-units.html#brasero-units-get-time-string-from-size" title="brasero_units_get_time_string_from_size ()">brasero_units_get_time_string_from_size</a>
58
(<em class="parameter"><code><span class="type">gint64</span> size</code></em>,
59
<em class="parameter"><code><span class="type">gboolean</span> with_unit</code></em>,
60
<em class="parameter"><code><span class="type">gboolean</span> round</code></em>);
63
63
<div class="refsect1">
164
164
<div class="refsect2">
165
165
<a name="brasero-units-get-time-string"></a><h3>brasero_units_get_time_string ()</h3>
166
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * brasero_units_get_time_string (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> time</code></em>,
167
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> with_unit</code></em>,
168
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> round</code></em>);</pre>
166
<pre class="programlisting"><span class="returnvalue">gchar</span> * brasero_units_get_time_string (<em class="parameter"><code><span class="type">guint64</span> time</code></em>,
167
<em class="parameter"><code><span class="type">gboolean</span> with_unit</code></em>,
168
<em class="parameter"><code><span class="type">gboolean</span> round</code></em>);</pre>
173
173
<div class="refsect2">
174
174
<a name="brasero-units-get-time-string-from-size"></a><h3>brasero_units_get_time_string_from_size ()</h3>
175
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * brasero_units_get_time_string_from_size
176
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> size</code></em>,
177
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> with_unit</code></em>,
178
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> round</code></em>);</pre>
175
<pre class="programlisting"><span class="returnvalue">gchar</span> * brasero_units_get_time_string_from_size
176
(<em class="parameter"><code><span class="type">gint64</span> size</code></em>,
177
<em class="parameter"><code><span class="type">gboolean</span> with_unit</code></em>,
178
<em class="parameter"><code><span class="type">gboolean</span> round</code></em>);</pre>