Method

HinawaSndUnitcreate_source

deprecated: 2.5. since: 1.4.

Declaration [src]

void
hinawa_snd_unit_create_source (
  HinawaSndUnit* self,
  GSource** gsrc,
  GError** error
)

Description [src]

Create GSource for GMainContext to dispatch events for the sound device.

Available since: 1.4.

Deprecated since: 2.5.

Use implementation of Hitaki.AlsaFirewire.create_source in Hitaki.SndUnit instead.

Parameters

gsrc

Type: GSource

A GSource.

The argument will be set by the function.
The instance takes ownership of the data, and is responsible for freeing it.
error

Type: GError **

The return location for a recoverable error.

The argument can be NULL.
If the return location is not NULL, then you must initialize it to a NULL GError*.
The argument will left initialized to NULL by the method if there are no errors.
In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.