Class

ValentMixerStream

unstable since: 1.0

Description [src]

class Valent.MixerStream : GObject.Object
{
  /* No available fields */
}

A base class for mixer streams.

ValentMixerStream is a base class for mixer streams, intended for use by implementations of ValentMixerAdapter.

Available since: 1.0

Hierarchy

hierarchy this ValentMixerStream ancestor_0 GObject ancestor_0--this

Ancestors

Instance methods

valent_mixer_stream_get_description

Get the human-readable label of stream.

unstable since: 1.0

valent_mixer_stream_get_direction

Get the port direction of stream.

unstable since: 1.0

valent_mixer_stream_get_level

Get the level of stream (eg. speaker volume, microphone sensitivity).

unstable since: 1.0

valent_mixer_stream_get_muted

Get the muted state of stream.

unstable since: 1.0

valent_mixer_stream_get_name

Get the unique name of stream.

unstable since: 1.0

valent_mixer_stream_set_level

Set the level of stream (eg. speaker volume, microphone sensitivity).

unstable since: 1.0

valent_mixer_stream_set_muted

Set the muted state of stream.

unstable since: 1.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Valent.MixerStream:description

The human-readable label of the stream.

unstable since: 1.0

Valent.MixerStream:direction

The port direction of the stream.

unstable since: 1.0

Valent.MixerStream:level

The input or output level of the stream.

unstable since: 1.0

Valent.MixerStream:muted

Whether the stream is muted.

unstable since: 1.0

Valent.MixerStream:name

The unique name of the stream.

unstable since: 1.0

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct ValentMixerStreamClass {
  GObjectClass parent_class;
  const char* (* get_name) (
    ValentMixerStream* stream
  );
  const char* (* get_description) (
    ValentMixerStream* stream
  );
  ValentMixerDirection (* get_direction) (
    ValentMixerStream* stream
  );
  unsigned int (* get_level) (
    ValentMixerStream* stream
  );
  void (* set_level) (
    ValentMixerStream* stream,
    unsigned int level
  );
  gboolean (* get_muted) (
    ValentMixerStream* stream
  );
  void (* set_muted) (
    ValentMixerStream* stream,
    gboolean state
  );
  
}

The virtual function table for ValentMixerStream.

Class members
parent_class: GObjectClass

No description available.

get_name: const char* (* get_name) ( ValentMixerStream* stream )

The virtual function pointer for valent_mixer_stream_get_name().

get_description: const char* (* get_description) ( ValentMixerStream* stream )

The virtual function pointer for valent_mixer_stream_get_description().

get_direction: ValentMixerDirection (* get_direction) ( ValentMixerStream* stream )

No description available.

get_level: unsigned int (* get_level) ( ValentMixerStream* stream )

The virtual function pointer for valent_mixer_stream_get_level().

set_level: void (* set_level) ( ValentMixerStream* stream, unsigned int level )

The virtual function pointer for valent_mixer_stream_set_level().

get_muted: gboolean (* get_muted) ( ValentMixerStream* stream )

The virtual function pointer for valent_mixer_stream_get_muted().

set_muted: void (* set_muted) ( ValentMixerStream* stream, gboolean state )

The virtual function pointer for valent_mixer_stream_set_muted().

Virtual methods

Valent.MixerStreamClass.get_description

Get the human-readable label of stream.

unstable since: 1.0

Valent.MixerStreamClass.get_direction

Get the port direction of stream.

unstable since: 1.0

Valent.MixerStreamClass.get_level

Get the level of stream (eg. speaker volume, microphone sensitivity).

unstable since: 1.0

Valent.MixerStreamClass.get_muted

Get the muted state of stream.

unstable since: 1.0

Valent.MixerStreamClass.get_name

Get the unique name of stream.

unstable since: 1.0

Valent.MixerStreamClass.set_level

Set the level of stream (eg. speaker volume, microphone sensitivity).

unstable since: 1.0

Valent.MixerStreamClass.set_muted

Set the muted state of stream.

unstable since: 1.0