Device source

Description

DEVICE source interface

This interface allows to intanciate a source based on a FluDevice.

Functions

FluSource *

flu_source_device_new ()

FluDevice *

flu_source_device_device_get ()

flu_source_device_new ()

FluSource * flu_source_device_new (FluDevice *device, const char *source_name);

Creates a new FluDevice based source

Since: 1.0

Parameters

device

The FluDevice to use to create the FluSource

source_name

Name of the new source or NULL to automatically create a new unique name.

Returns

A new instance of a FluSource

flu_source_device_device_get ()

FluDevice * flu_source_device_device_get (FluSource *src);

Gets the FluDevice from a FluSource

Since: 1.0

Parameters

src

The FluSource to get the FluDevice from

Returns

The FluDevice used when creating the FluSource.

[transfer full]