Device source

Device source — Device source interface

Functions

Description

DEVICE source interface

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

Functions

flu_source_device_new ()

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

Creates a new FluDevice based source

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

Parameters

src

The FluSource to get the FluDevice from

 

Returns

The FluDevice used when creating the FluSource.

[transfer full]

Types and Values