Rygel.AudioItem – librygel-server – Vala Binding Reference

Rygel.AudioItem – librygel-server Reference Manual

# AudioItem

## Object Hierarchy:

## Description:

public class AudioItem : MediaItem

Represents an audio item.

All known sub-classes:

- MusicItem

- VideoItem

Namespace: Rygel
Package: librygel-server

## Content:

### Constants:

- public const unowned `string` UPNP_CLASS

### Properties:

- public `long` duration { set; get; }
- public `int` bitrate { set; get; }
- public `int` sample_freq { set; get; }
- public `int` bits_per_sample { set; get; }
- public `int` channels { set; get; }

### Creation methods:

- public AudioItem (`string` id, MediaContainer parent, `string` title, `string` upnp_class = UPNP_CLASS)

### Methods:

- public override `bool` streamable ()

### Inherited Members:

All known members inherited from class Rygel.MediaItem

- date
- mime_type
- dlna_profile
- size
- place_holder

- description
- create_stream_source
- is_live_stream
- streamable

- add_uri
- get_protocol_info
- add_resources
- address_regex

All known members inherited from class Rygel.MediaObject

- id
- ref_id
- upnp_class
- modified
- object_update_id

- parent
- parent_ref
- title
- constructed
- get_writable

- get_writables
- compare_string_props
- compare_int_props
- uris
- parent_ptr

All known members inherited from class GLib.Object

- @new
- newv
- new_valist
- get_type
- get_class
- @ref
- unref
- ref_sink
- weak_ref
- weak_unref
- add_weak_pointer
- remove_weak_pointer

- @get
- @set
- get_property
- set_property
- get_data
- set_data
- set_data_full
- steal_data
- get_qdata
- set_qdata
- set_qdata_full
- steal_qdata

- freeze_notify
- thaw_notify
- dispose
- constructed
- notify_property
- connect
- disconnect
- add_toggle_ref
- remove_toggle_ref
- bind_property
- notify
- ref_count