brasero-units

## brasero-units brasero-units |

## Synopsis

    #define             CD_RATE
    #define             DVD_RATE
    #define             BD_RATE
    #define             BRASERO_SPEED_TO_RATE_CD            (speed)
    #define             BRASERO_SPEED_TO_RATE_DVD           (speed)
    #define             BRASERO_SPEED_TO_RATE_BD            (speed)
    #define             BRASERO_RATE_TO_SPEED_CD            (rate)
    #define             BRASERO_RATE_TO_SPEED_DVD           (rate)
    #define             BRASERO_RATE_TO_SPEED_BD            (rate)
    #define             BRASERO_DURATION_TO_BYTES           (duration)
    #define             BRASERO_DURATION_TO_SECTORS         (duration)
    #define             BRASERO_BYTES_TO_SECTORS            (size,
                                                             secsize)
    #define             BRASERO_BYTES_TO_DURATION           (bytes)
    gchar *             brasero_units_get_time_string       (guint64 time,
                                                             gboolean with_unit,
                                                             gboolean round);
    gchar *             brasero_units_get_time_string_from_size
                                                            (gint64 size,
                                                             gboolean with_unit,
                                                             gboolean round);

## Description

## Details

### CD_RATE

    #define CD_RATE 176400		/* bytes by second */

### DVD_RATE

    #define DVD_RATE 1387500 /* bytes by second */

### BD_RATE

    #define BD_RATE 4500000		/* bytes by second */

### BRASERO_SPEED_TO_RATE_CD()

    #define             BRASERO_SPEED_TO_RATE_CD(speed)

`speed` : |

### BRASERO_SPEED_TO_RATE_DVD()

    #define             BRASERO_SPEED_TO_RATE_DVD(speed)

`speed` : |

### BRASERO_SPEED_TO_RATE_BD()

    #define             BRASERO_SPEED_TO_RATE_BD(speed)

`speed` : |

### BRASERO_RATE_TO_SPEED_CD()

    #define             BRASERO_RATE_TO_SPEED_CD(rate)

`rate` : |

### BRASERO_RATE_TO_SPEED_DVD()

    #define             BRASERO_RATE_TO_SPEED_DVD(rate)

`rate` : |

### BRASERO_RATE_TO_SPEED_BD()

    #define             BRASERO_RATE_TO_SPEED_BD(rate)

`rate` : |

### BRASERO_DURATION_TO_BYTES()

    #define             BRASERO_DURATION_TO_BYTES(duration)

`duration` : |

### BRASERO_DURATION_TO_SECTORS()

    #define             BRASERO_DURATION_TO_SECTORS(duration)

`duration` : |

### BRASERO_BYTES_TO_SECTORS()

    #define             BRASERO_BYTES_TO_SECTORS(size, secsize)

`size` : |
`secsize` : |

### BRASERO_BYTES_TO_DURATION()

    #define             BRASERO_BYTES_TO_DURATION(bytes)

`bytes` : |

### brasero_units_get_time_string ()

    gchar *             brasero_units_get_time_string       (guint64 time,
                                                             gboolean with_unit,
                                                             gboolean round);

`time` : |
`with_unit` : |
`round` : |
Returns : |

### brasero_units_get_time_string_from_size ()

    gchar *             brasero_units_get_time_string_from_size
                                                            (gint64 size,
                                                             gboolean with_unit,
                                                             gboolean round);

`size` : |
`with_unit` : |
`round` : |
Returns : |