diff --git a/alsatimer/alsatimer.devhelp2 b/alsatimer/alsatimer.devhelp2 index ad21150..aca4592 100644 --- a/alsatimer/alsatimer.devhelp2 +++ b/alsatimer/alsatimer.devhelp2 @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/alsatimer/class.DeviceInfo.html b/alsatimer/class.DeviceInfo.html index 29fe26b..d715577 100644 --- a/alsatimer/class.DeviceInfo.html +++ b/alsatimer/class.DeviceInfo.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -146,8 +146,8 @@

}
-

A GObject-derived object to represent information of timer device. -A ALSATimerDeviceInfo is a GObject-derived object to represent information of timer device. +

A GObject-derived object to express information of timer device. +A ALSATimerDeviceInfo is a GObject-derived object to express information of timer device. The call of alsatimer_get_device_info() returns an instance of the object according to the identifier of timer device.

The object wraps struct snd_timer_ginfo in UAPI of Linux sound subsystem.

@@ -237,7 +237,7 @@

ALSATimer.DeviceInfo:card-id
- No description available. +

The numeric ID of sound card.

@@ -247,7 +247,7 @@
ALSATimer.DeviceInfo:card-id<
ALSATimer.DeviceInfo:flags
- No description available. +

The flags of timer, one of ALSATimerDeviceInfoFlag.

@@ -257,7 +257,7 @@
ALSATimer.DeviceInfo:flags
ALSATimer.DeviceInfo:id
- No description available. +

The string ID of timer.

@@ -267,7 +267,7 @@
ALSATimer.DeviceInfo:id
ALSATimer.DeviceInfo:instance-count
- No description available. +

The number of instances for the timer.

@@ -277,7 +277,7 @@
ALSATimer.DeviceInfo:insta
ALSATimer.DeviceInfo:name
- No description available. +

The name of timer.

@@ -287,7 +287,7 @@
ALSATimer.DeviceInfo:name
ALSATimer.DeviceInfo:resolution
- No description available. +

The resolution in nano seconds.

@@ -297,7 +297,7 @@
ALSATimer.DeviceInfo:resolutio
ALSATimer.DeviceInfo:resolution-max
- No description available. +

The maximum resolution in nano seconds.

@@ -307,7 +307,7 @@
ALSATimer.DeviceInfo:resol
ALSATimer.DeviceInfo:resolution-min
- No description available. +

The minimum resolution in nano seconds.

diff --git a/alsatimer/class.DeviceParams.html b/alsatimer/class.DeviceParams.html index 9cb32de..f8ec78b 100644 --- a/alsatimer/class.DeviceParams.html +++ b/alsatimer/class.DeviceParams.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -143,8 +143,8 @@

}
-

A GObject-derived object to represent parameter of timer device. -A ALSATimerDeviceParams is a GObject-derived object to represent parameter of timer device. The +

A GObject-derived object to express parameter of timer device. +A ALSATimerDeviceParams is a GObject-derived object to express parameter of timer device. The call of alsatimer_set_device_params() requires the instance of object.

The object wraps struct snd_timer_gparams in UAPI of Linux sound subsystem.

@@ -254,7 +254,7 @@

ALSATimer.DeviceParams:period-denominator
- No description available. +

The denominator of period for timer.

@@ -264,7 +264,7 @@
ALSATimer.DevicePara
ALSATimer.DeviceParams:period-numerator
- No description available. +

The numerator of period for timer.

diff --git a/alsatimer/class.DeviceStatus.html b/alsatimer/class.DeviceStatus.html index 9529592..4e4a7fa 100644 --- a/alsatimer/class.DeviceStatus.html +++ b/alsatimer/class.DeviceStatus.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -145,8 +145,8 @@

}
-

A GObject-derived object to represent status of timer device. -A ALSATimerDeviceStatus is a GObject-derived object to represent status of timer device. The +

A GObject-derived object to express status of timer device. +A ALSATimerDeviceStatus is a GObject-derived object to express status of timer device. The call of alsatimer_get_device_status() returns the instance of object.

The object wraps ‘struct snd_timer_gstatus’ in UAPI of Linux sound subsystem.

@@ -256,7 +256,7 @@

ALSATimer.DeviceStatus:resolution
- No description available. +

The current resolution in nano seconds.

@@ -266,7 +266,7 @@
ALSATimer.DeviceStatus:resol
ALSATimer.DeviceStatus:resolution-denominator
- No description available. +

The denominator of current resolution in seconds.

@@ -276,7 +276,7 @@
ALSATimer.Device
ALSATimer.DeviceStatus:resolution-numerator
- No description available. +

The numerator of current resolution in seconds.

diff --git a/alsatimer/class.InstanceInfo.html b/alsatimer/class.InstanceInfo.html index 470f5d2..7010f2a 100644 --- a/alsatimer/class.InstanceInfo.html +++ b/alsatimer/class.InstanceInfo.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -140,8 +140,8 @@

}
-

A GObject-derived object to represent information of user instance. -A ALSATimerInstanceInfo is a GObject-derived object to represent information of user instance +

A GObject-derived object to express information of user instance. +A ALSATimerInstanceInfo is a GObject-derived object to express information of user instance attached to any timer device or the other instance as slave. The call of alsatimer_user_instance_get_info() returns the instance of object.

The object wraps struct snd_timer_info in UAPI of Linux sound subsystem.

@@ -231,7 +231,7 @@

ALSATimer.InstanceInfo:card-id
- No description available. +

The numeric ID of sound card for attached timer.

@@ -241,7 +241,7 @@
ALSATimer.InstanceInfo:card-id<
ALSATimer.InstanceInfo:flags
- No description available. +

The flags for attached timer.

@@ -251,7 +251,7 @@
ALSATimer.InstanceInfo:flags<
ALSATimer.InstanceInfo:id
- No description available. +

The string ID of attached timer.

@@ -261,7 +261,7 @@
ALSATimer.InstanceInfo:id
ALSATimer.InstanceInfo:name
- No description available. +

The name of attached timer.

@@ -271,7 +271,7 @@
ALSATimer.InstanceInfo:nameALSATimer.InstanceInfo:resolution
- No description available. +

The resolution of attached timer in nano seconds.

diff --git a/alsatimer/class.InstanceParams.html b/alsatimer/class.InstanceParams.html index ebb2fe3..0dd632e 100644 --- a/alsatimer/class.InstanceParams.html +++ b/alsatimer/class.InstanceParams.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -156,8 +156,8 @@

}
-

A GObject-derived object to represent parameters of user instance. -A ALSATimerInstanceParams is a GObject-derived object to represent parameters of user instance +

A GObject-derived object to express parameters of user instance. +A ALSATimerInstanceParams is a GObject-derived object to express parameters of user instance attached to any timer device or the other instance as slave. The call of alsatimer_user_instance_set_params() requires the instance of object.

The object wraps struct snd_timer_params in UAPI of Linux sound subsystem.

@@ -237,8 +237,8 @@

alsatimer_instance_params_get_event_filter
-

Get the list of ALSATimerEventType to filter events. This parameter is effective only for target -instance with ALSATimerEventDataType.

+

Get the list of ALSATimerRealTimeEventType to filter events. This parameter is effective only for +target instance with ALSATimerEventType.REAL_TIME.

@@ -246,8 +246,8 @@

alsatimer_instance_par
alsatimer_instance_params_set_event_filter
-

Set the list of ALSATimerEventType to filter events. This parameter is effective only for target -instance with ALSATimerEventDataType.

+

Set the list of ALSATimerRealTimeEventType to filter events. This parameter is effective only for +target instance with ALSATimerEventType.TIMESTAMP.

@@ -286,7 +286,7 @@

ALSATimer.InstanceParams:flags
- No description available. +

The flags for user instance, as a set of ALSATimerInstanceParamFlag.

@@ -296,7 +296,7 @@
ALSATimer.InstanceParams:flags<
ALSATimer.InstanceParams:interval
- No description available. +

The interval to generate event in tick count.

@@ -306,7 +306,7 @@
ALSATimer.InstanceParams:int
ALSATimer.InstanceParams:queue-size
- No description available. +

The size of queue.

diff --git a/alsatimer/class.InstanceStatus.html b/alsatimer/class.InstanceStatus.html index f4c5f22..7e7db90 100644 --- a/alsatimer/class.InstanceStatus.html +++ b/alsatimer/class.InstanceStatus.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -99,7 +99,7 @@

Constructors
Instance methods
@@ -156,10 +156,10 @@

}
-

A GObject-derived object to represent status of user instance. -A ALSATimerInstanceStatus is a GObject-derived object to represent status of user instance -attached to any timer device or the other instance as slave. The call of -alsatimer_user_instance_get_status() returns the instance of object.

+

A GObject-derived object to express status of user instance. +A ALSATimerInstanceStatus is a GObject-derived object to express status of user instance attached +to any timer device or the other instance as slave. The call of alsatimer_user_instance_get_status() +returns the instance of object.

The object wraps struct snd_timer_status in UAPI of Linux sound subsystem.

@@ -235,9 +235,9 @@

-
alsatimer_instance_status_get_tstamp
+
alsatimer_instance_status_get_time
-

Get timestamp for the latest event.

+

Get real time at which the timer starts, stops, pauses, and continues.

@@ -276,7 +276,7 @@

ALSATimer.InstanceStatus:interval
- No description available. +

The current interval in nano second.

@@ -286,7 +286,7 @@
ALSATimer.InstanceStatus:int
ALSATimer.InstanceStatus:lost
- No description available. +

The count of losts master ticks.

@@ -296,7 +296,7 @@
ALSATimer.InstanceStatus:lostALSATimer.InstanceStatus:overrun
- No description available. +

The count of overrun in read queue.

@@ -306,7 +306,7 @@
ALSATimer.InstanceStatus:over
ALSATimer.InstanceStatus:queue-size
- No description available. +

The current size of queue.

diff --git a/alsatimer/class.UserInstance.html b/alsatimer/class.UserInstance.html index 24595f5..a74c92f 100644 --- a/alsatimer/class.UserInstance.html +++ b/alsatimer/class.UserInstance.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -103,7 +103,7 @@

Instance methods
attach_as_slave - choose_event_data_type + choose_event_type continue @@ -138,7 +138,9 @@
Signals
handle-disconnection - handle-event + handle-real-time-event + + handle-tick-time-event @@ -153,7 +155,9 @@
Virtual methods
handle_disconnection - handle_event + handle_real_time_event + + handle_tick_time_event @@ -187,8 +191,8 @@

}
-

A GObject-derived object to represent user instance. -A ALSATimerUserInstance is a GObject-derived object to represent information of user instance +

A GObject-derived object to express user instance. +A ALSATimerUserInstance is a GObject-derived object to express information of user instance attached to any timer device or the other instance as slave. After calling alsatimer_user_instance_open(), the object maintains file descriptor till object destruction. After calling alsatimer_user_instance_attach() or alsatimer_user_instance_attach_as_slave(), the user instance @@ -287,7 +291,7 @@

alsatimer_user_instance_a
-
alsatimer_user_instance_choose_event_data_type
+
alsatimer_user_instance_choose_event_type

Choose the type of event data to receive.

@@ -307,7 +311,8 @@
alsatimer_user_instance_cre

Allocate GSource structure to handle events from ALSA timer character device. In each iteration of GMainContext, the read(2) system call is executed to dispatch -timer event for ALSATimerUserInstance::handle-event signal, according to the result of poll(2) +timer event for either ALSATimerUserInstance::handle-tick-time-event or +ALSATimerUserInstance::handle-real-time-event signals, according to the result of poll(2) system call.

@@ -324,7 +329,7 @@
alsatimer_user_instance_get_info
alsatimer_user_instance_get_protocol_version
-

Get the version of timer protocol currently used. The version is represented as the array with +

Get the version of timer protocol currently used. The version is expressed as the array with three elements; major, minor, and micro version in the order. The length of major version is 16 bit, the length of minor and micro version is 8 bit each.

@@ -422,9 +427,17 @@
ALSATimer.UserInstan
-
ALSATimer.UserInstance::handle-event
+
ALSATimer.UserInstance::handle-real-time-event
+
+

Emitted when event occurs to notify real time.

+
+ +
+ +
+
ALSATimer.UserInstance::handle-tick-time-event
-

Emitted when event occurs.

+

Emitted when event occurs to notify tick time.

@@ -463,9 +476,13 @@

struct ALSATimerUserInstanceClass {
   GObjectClass parent_class;
-  void (* handle_event) (
+  void (* handle_tick_time_event) (
+    ALSATimerUserInstance* self,
+    const ALSATimerTickTimeEvent* event
+  );
+  void (* handle_real_time_event) (
     ALSATimerUserInstance* self,
-    const ALSATimerEvent* event
+    const ALSATimerRealTimeEvent* event
   );
   void (* handle_disconnection) (
     ALSATimerUserInstance* self
@@ -490,10 +507,22 @@ 
Class members
- handle_event -
void (* handle_event) (
+          handle_tick_time_event
+          
void (* handle_tick_time_event) (
     ALSATimerUserInstance* self,
-    const ALSATimerEvent* event
+    const ALSATimerTickTimeEvent* event
+  )
+ + +   + No description available. + + + + handle_real_time_event +
void (* handle_real_time_event) (
+    ALSATimerUserInstance* self,
+    const ALSATimerRealTimeEvent* event
   )
@@ -538,10 +567,20 @@
-
ALSATimer.UserInstanceClass.handle_event
+
ALSATimer.UserInstanceClass.handle_real_time_event
+ +
+

Class closure for the ALSATimerUserInstance::handle-real-time-event signal.

+
+ + +
+ +
+
ALSATimer.UserInstanceClass.handle_tick_time_event
-

Class closure for the ALSATimerUserInstance::handle-event signal.

+

Class closure for the ALSATimerUserInstance::handle-tick-time-event signal.

diff --git a/alsatimer/classes_hierarchy.html b/alsatimer/classes_hierarchy.html index 101a614..1bd7c5f 100644 --- a/alsatimer/classes_hierarchy.html +++ b/alsatimer/classes_hierarchy.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

diff --git a/alsatimer/ctor.DeviceId.new.html b/alsatimer/ctor.DeviceId.new.html index f491919..1d0ecf3 100644 --- a/alsatimer/ctor.DeviceId.new.html +++ b/alsatimer/ctor.DeviceId.new.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

diff --git a/alsatimer/ctor.DeviceParams.new.html b/alsatimer/ctor.DeviceParams.new.html index 81cfef3..1600bc8 100644 --- a/alsatimer/ctor.DeviceParams.new.html +++ b/alsatimer/ctor.DeviceParams.new.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -125,7 +125,7 @@

Description - [src] + [src]

diff --git a/alsatimer/ctor.DeviceStatus.new.html b/alsatimer/ctor.DeviceStatus.new.html index 323d3e8..db283f2 100644 --- a/alsatimer/ctor.DeviceStatus.new.html +++ b/alsatimer/ctor.DeviceStatus.new.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -125,7 +125,7 @@

Description - [src] + [src]

diff --git a/alsatimer/ctor.Event.new.html b/alsatimer/ctor.Event.new.html deleted file mode 100644 index 08db811..0000000 --- a/alsatimer/ctor.Event.new.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - - - ALSATimer.Event.new - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - -
-
-

Function

-

ALSATimerEventnew

-
- -
-
-

- Declaration - - - [src] - -

- -
-
ALSATimerEvent*
-alsatimer_event_new (
-  void
-)
-
-
-
-
- -
-

- Description - - - [src] - -

- -
-

Allocate and return the instance of ALSATimerEvent.

-
- -
- - - - -
-
- - -
- - - - -
-

- Return value - -

- -
- - - - - - - - - - - - - - - -
Returns:ALSATimerEvent
 

An instance of ALSATimerEvent.

 The caller of the function takes ownership of the data, and is responsible for freeing it.
-
-
- -
-
- - - - - - -
- -
-
- - \ No newline at end of file diff --git a/alsatimer/ctor.InstanceParams.new.html b/alsatimer/ctor.InstanceParams.new.html index aaf6349..98d52dd 100644 --- a/alsatimer/ctor.InstanceParams.new.html +++ b/alsatimer/ctor.InstanceParams.new.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -125,7 +125,7 @@

Description - [src] + [src]

diff --git a/alsatimer/ctor.InstanceStatus.new.html b/alsatimer/ctor.InstanceStatus.new.html index edd04b8..664bf79 100644 --- a/alsatimer/ctor.InstanceStatus.new.html +++ b/alsatimer/ctor.InstanceStatus.new.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -125,7 +125,7 @@

Description - [src] + [src]

diff --git a/alsatimer/ctor.UserInstance.new.html b/alsatimer/ctor.UserInstance.new.html index dd737ac..df5eaa7 100644 --- a/alsatimer/ctor.UserInstance.new.html +++ b/alsatimer/ctor.UserInstance.new.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -106,7 +106,7 @@

Declaration - [src] + [src]

@@ -125,7 +125,7 @@

Description - [src] + [src]

diff --git a/alsatimer/enum.Class.html b/alsatimer/enum.Class.html index a7851b7..f20ecf2 100644 --- a/alsatimer/enum.Class.html +++ b/alsatimer/enum.Class.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -113,7 +113,7 @@

Description - [src] + [src]

diff --git a/alsatimer/enum.EventDataType.html b/alsatimer/enum.EventDataType.html deleted file mode 100644 index cadf3f0..0000000 --- a/alsatimer/enum.EventDataType.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - - - ALSATimer.EventDataType - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - -
-
-

Enumeration

-

ALSATimerEventDataType

-
- -
-
-

- Declaration - - -

- -
-
enum ALSATimer.EventDataType
-
-
- -
-

- Description - - - [src] - -

- -
-

A set of enumerations for the type of event data.

-
- -
- - - - -
-
- - -
- -
-

- Members - -

- -
- - - - - - - - - - - - - - - - -
NameDescription
ALSATIMER_EVENT_DATA_TYPE_TICK

The data for tick event.

ALSATIMER_EVENT_DATA_TYPE_TSTAMP

The data for timestamp event.

-
-
- - - - - -
-
- - - -
- -
- - - - -
- -
-
- - \ No newline at end of file diff --git a/alsatimer/enum.EventType.html b/alsatimer/enum.EventType.html index a8b753f..11c350c 100644 --- a/alsatimer/enum.EventType.html +++ b/alsatimer/enum.EventType.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -113,12 +113,12 @@

Description - [src] + [src]

-

A set of enumerations for timer event.

+

A set of enumerations for the type of event.

@@ -146,78 +146,13 @@

- ALSATIMER_EVENT_TYPE_RESOLUTION -

The event for timer resolution.

+ ALSATIMER_EVENT_TYPE_TICK_TIME +

Event for tick time.

- ALSATIMER_EVENT_TYPE_TICK -

The event for timer tick.

- - - - ALSATIMER_EVENT_TYPE_START -

The event for timer start.

- - - - ALSATIMER_EVENT_TYPE_STOP -

The event for timer stop.

- - - - ALSATIMER_EVENT_TYPE_CONTINUE -

The event for timer continue.

- - - - ALSATIMER_EVENT_TYPE_PAUSE -

The event for timer pause.

- - - - ALSATIMER_EVENT_TYPE_EARLY -

The event before timer start.

- - - - ALSATIMER_EVENT_TYPE_SUSPEND -

The event for timer suspend.

- - - - ALSATIMER_EVENT_TYPE_RESUME -

The event for timer resume.

- - - - ALSATIMER_EVENT_TYPE_MSTART -

The event for master timer start.

- - - - ALSATIMER_EVENT_TYPE_MSTOP -

The event for master timer stop.

- - - - ALSATIMER_EVENT_TYPE_MCONTINUE -

The event for master timer continue.

- - - - ALSATIMER_EVENT_TYPE_MPAUSE -

The event for master timer pause.

- - - - ALSATIMER_EVENT_TYPE_MSUSPEND -

The event for master timer suspend.

- - - - ALSATIMER_EVENT_TYPE_MRESUME -

The event for master timer resume.

+ ALSATIMER_EVENT_TYPE_REAL_TIME +

Event for real time.

diff --git a/alsatimer/enum.RealTimeEventType.html b/alsatimer/enum.RealTimeEventType.html new file mode 100644 index 0000000..99ca59a --- /dev/null +++ b/alsatimer/enum.RealTimeEventType.html @@ -0,0 +1,258 @@ + + + + + + + + ALSATimer.RealTimeEventType + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + +
+
+

Enumeration

+

ALSATimerRealTimeEventType

+
+ +
+
+

+ Declaration + + +

+ +
+
enum ALSATimer.RealTimeEventType
+
+
+ +
+

+ Description + + + [src] + +

+ +
+

A set of enumerations for the type of real time event.

+
+ +
+ + + + +
+
+ + +
+ +
+

+ Members + +

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameDescription
ALSATIMER_REAL_TIME_EVENT_TYPE_RESOLUTION

The event for timer resolution.

ALSATIMER_REAL_TIME_EVENT_TYPE_TICK

The event for timer tick.

ALSATIMER_REAL_TIME_EVENT_TYPE_START

The event for timer start.

ALSATIMER_REAL_TIME_EVENT_TYPE_STOP

The event for timer stop.

ALSATIMER_REAL_TIME_EVENT_TYPE_CONTINUE

The event for timer continue.

ALSATIMER_REAL_TIME_EVENT_TYPE_PAUSE

The event for timer pause.

ALSATIMER_REAL_TIME_EVENT_TYPE_EARLY

The event before timer start.

ALSATIMER_REAL_TIME_EVENT_TYPE_SUSPEND

The event for timer suspend.

ALSATIMER_REAL_TIME_EVENT_TYPE_RESUME

The event for timer resume.

ALSATIMER_REAL_TIME_EVENT_TYPE_MSTART

The event for master timer start.

ALSATIMER_REAL_TIME_EVENT_TYPE_MSTOP

The event for master timer stop.

ALSATIMER_REAL_TIME_EVENT_TYPE_MCONTINUE

The event for master timer continue.

ALSATIMER_REAL_TIME_EVENT_TYPE_MPAUSE

The event for master timer pause.

ALSATIMER_REAL_TIME_EVENT_TYPE_MSUSPEND

The event for master timer suspend.

ALSATIMER_REAL_TIME_EVENT_TYPE_MRESUME

The event for master timer resume.

+
+
+ + + + + +
+
+ + + +
+ +
+ + + + +
+ +
+
+ + \ No newline at end of file diff --git a/alsatimer/enum.SlaveClass.html b/alsatimer/enum.SlaveClass.html index a113db5..0a29a72 100644 --- a/alsatimer/enum.SlaveClass.html +++ b/alsatimer/enum.SlaveClass.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -113,7 +113,7 @@

Description - [src] + [src]

diff --git a/alsatimer/enum.SpecificGlobalDevice.html b/alsatimer/enum.SpecificGlobalDevice.html index 1b6b2eb..a9e33ba 100644 --- a/alsatimer/enum.SpecificGlobalDevice.html +++ b/alsatimer/enum.SpecificGlobalDevice.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -113,7 +113,7 @@

Description - [src] + [src]

diff --git a/alsatimer/error.UserInstanceError.html b/alsatimer/error.UserInstanceError.html index d8bb13c..031af47 100644 --- a/alsatimer/error.UserInstanceError.html +++ b/alsatimer/error.UserInstanceError.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -122,7 +122,7 @@

Description - [src] + [src]

diff --git a/alsatimer/flags.DeviceInfoFlag.html b/alsatimer/flags.DeviceInfoFlag.html index 9b7d8b5..6923eb7 100644 --- a/alsatimer/flags.DeviceInfoFlag.html +++ b/alsatimer/flags.DeviceInfoFlag.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -113,7 +113,7 @@

Description - [src] + [src]

diff --git a/alsatimer/flags.InstanceParamFlag.html b/alsatimer/flags.InstanceParamFlag.html index ed3747f..4165ff2 100644 --- a/alsatimer/flags.InstanceParamFlag.html +++ b/alsatimer/flags.InstanceParamFlag.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -113,7 +113,7 @@

Description - [src] + [src]

diff --git a/alsatimer/func.get_device_id_list.html b/alsatimer/func.get_device_id_list.html index 8ab182c..284b9eb 100644 --- a/alsatimer/func.get_device_id_list.html +++ b/alsatimer/func.get_device_id_list.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -105,7 +105,7 @@

-
void
+        
gboolean
 alsatimer_get_device_id_list (
   GList** entries,
   GError** error
@@ -120,7 +120,7 @@ 

Description - [src] + [src]

@@ -188,6 +188,32 @@

+
+

+ Return value + +

+ +
+ + + + + + + + + + + + + + + +
Returns:gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.

+
+
+ diff --git a/alsatimer/func.get_device_info.html b/alsatimer/func.get_device_info.html index 69e08e9..a493f58 100644 --- a/alsatimer/func.get_device_info.html +++ b/alsatimer/func.get_device_info.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -105,7 +105,7 @@

-
void
+        
gboolean
 alsatimer_get_device_info (
   ALSATimerDeviceId* device_id,
   ALSATimerDeviceInfo** device_info,
@@ -121,7 +121,7 @@ 

Description - [src] + [src]

@@ -207,6 +207,32 @@

+
+

+ Return value + +

+ +
+ + + + + + + + + + + + + + + +
Returns:gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.

+
+
+ diff --git a/alsatimer/func.get_device_status.html b/alsatimer/func.get_device_status.html index 3832d70..a8a494c 100644 --- a/alsatimer/func.get_device_status.html +++ b/alsatimer/func.get_device_status.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -100,12 +100,12 @@

Declaration - [src] + [src]

-
void
+        
gboolean
 alsatimer_get_device_status (
   ALSATimerDeviceId* device_id,
   ALSATimerDeviceStatus* const* device_status,
@@ -121,7 +121,7 @@ 

Description - [src] + [src]

@@ -207,6 +207,32 @@

+
+

+ Return value + +

+ +
+ + + + + + + + + + + + + + + +
Returns:gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.

+
+
+ diff --git a/alsatimer/func.get_devnode.html b/alsatimer/func.get_devnode.html index 765a6f7..4769930 100644 --- a/alsatimer/func.get_devnode.html +++ b/alsatimer/func.get_devnode.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -105,7 +105,7 @@

-
void
+        
gboolean
 alsatimer_get_devnode (
   char** devnode,
   GError** error
@@ -120,7 +120,7 @@ 

Description - [src] + [src]

@@ -187,6 +187,32 @@

+
+

+ Return value + +

+ +
+ + + + + + + + + + + + + + + +
Returns:gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.

+
+
+ diff --git a/alsatimer/func.get_tstamp_source.html b/alsatimer/func.get_real_time_clock_id.html similarity index 69% rename from alsatimer/func.get_tstamp_source.html rename to alsatimer/func.get_real_time_clock_id.html index 97d901b..bd14acf 100644 --- a/alsatimer/func.get_tstamp_source.html +++ b/alsatimer/func.get_real_time_clock_id.html @@ -13,7 +13,7 @@ - ALSATimer.get_tstamp_source + ALSATimer.get_real_time_clock_id @@ -24,10 +24,10 @@ - - - - + + + + @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -91,7 +91,7 @@
Functions

Function

-

ALSATimerget_tstamp_source

+

ALSATimerget_real_time_clock_id

@@ -100,13 +100,13 @@

Declaration - [src] + [src]

-
void
-alsatimer_get_tstamp_source (
+        
gboolean
+alsatimer_get_real_time_clock_id (
   int* clock_id,
   GError** error
 )
@@ -120,17 +120,17 @@ 

Description - [src] + [src]

-

Get the clock source for timestamp when ALSATimerUserInstance is configured to receive event -with timestamp. The source is selected according to parameter of snd-timer kernel module, -and the call of function is just to refer to it.

-

0 means CLOCK_REALTIME is used. 1 means CLOCK_MONOTONIC is used.

+

Get clock_id for real time. The clock_id governs real time retrieved by both +alsatimer_real_time_event_get_time() and alsatimer_instance_status_get_time().

+

The call of function is just to refer to parameter of snd-timer kernel module. 0 means +CLOCK_REALTIME is used. 1 means CLOCK_MONOTONIC is used.

The call of function executes open(2), read(2), close(2) system calls for the sysfs node -corresponding to snd-timer kernel module.

+corresponding to the parameter.

@@ -163,7 +163,7 @@

  -

The clock source for timestamp. The value of CLOCK_XXX in UAPI of Linux kernel.

+

The clock_id for real time. The value of CLOCK_XXX in UAPI of Linux kernel.

 The argument will be set by the function. @@ -191,6 +191,32 @@

+
+

+ Return value + +

+ +
+ + + + + + + + + + + + + + + +
Returns:gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.

+
+
+

diff --git a/alsatimer/func.get_sysname.html b/alsatimer/func.get_sysname.html index 7cfa651..86fd248 100644 --- a/alsatimer/func.get_sysname.html +++ b/alsatimer/func.get_sysname.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -105,7 +105,7 @@

-
void
+        
gboolean
 alsatimer_get_sysname (
   char** sysname,
   GError** error
@@ -187,6 +187,32 @@ 

+
+

+ Return value + +

+ +
+ + + + + + + + + + + + + + + +
Returns:gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.

+
+
+ diff --git a/alsatimer/func.set_device_params.html b/alsatimer/func.set_device_params.html index 12427c0..7573a89 100644 --- a/alsatimer/func.set_device_params.html +++ b/alsatimer/func.set_device_params.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -100,12 +100,12 @@

Declaration - [src] + [src]

-
void
+        
gboolean
 alsatimer_set_device_params (
   ALSATimerDeviceId* device_id,
   const ALSATimerDeviceParams* device_params,
@@ -121,7 +121,7 @@ 

Description - [src] + [src]

@@ -207,6 +207,32 @@

+
+

+ Return value + +

+ +
+ + + + + + + + + + + + + + + +
Returns:gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.

+
+
+ diff --git a/alsatimer/index.html b/alsatimer/index.html index 42bc3fb..d84d82c 100644 --- a/alsatimer/index.html +++ b/alsatimer/index.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -87,8 +87,6 @@
Sections
Structs - Unions - Enumerations @@ -136,7 +134,7 @@

ALSATimer – 0.0

- + @@ -292,12 +290,12 @@

- + - + @@ -308,28 +306,6 @@

-
-
-

- Unions - -

- -
-

Version0.2.2
Version0.3.0
AuthorsTakashi Sakamoto
LicenseLGPL-3.0-or-later
Websitehttps://alsa-project.github.io/gobject-introspection-docs/alsatimer/
EventDataTickRealTimeEvent
EventDataTstampTickTimeEvent
- - - - - - - - -
Event
-
-
- -
@@ -349,12 +325,12 @@

- EventDataType + EventType - EventType + RealTimeEventType @@ -459,12 +435,12 @@

- get_sysname + get_real_time_clock_id - get_tstamp_source + get_sysname diff --git a/alsatimer/index.json b/alsatimer/index.json index ef454a3..f9d84e2 100644 --- a/alsatimer/index.json +++ b/alsatimer/index.json @@ -1 +1 @@ -{"meta":{"ns":"ALSATimer","version":"0.0","generator":"gi-docgen","generator-version":"2022.1"},"symbols":[{"type":"bitfield","name":"DeviceInfoFlag","ctype":"ALSATimerDeviceInfoFlag","summary":"A set of flags for the information of timer device."},{"type":"bitfield","name":"InstanceParamFlag","ctype":"ALSATimerInstanceParamFlag","summary":"A set of flags for the parameters of user client."},{"type":"class","name":"DeviceInfo","ctype":"ALSATimerDeviceInfo","summary":"A GObject-derived object to represent information of timer device. ..."},{"type":"class","name":"DeviceParams","ctype":"ALSATimerDeviceParams","summary":"A GObject-derived object to represent parameter of timer device. ..."},{"type":"class","name":"DeviceStatus","ctype":"ALSATimerDeviceStatus","summary":"A GObject-derived object to represent status of timer device. ..."},{"type":"class","name":"InstanceInfo","ctype":"ALSATimerInstanceInfo","summary":"A GObject-derived object to represent information of user instance. ..."},{"type":"class","name":"InstanceParams","ctype":"ALSATimerInstanceParams","summary":"A GObject-derived object to represent parameters of user instance. ..."},{"type":"class","name":"InstanceStatus","ctype":"ALSATimerInstanceStatus","summary":"A GObject-derived object to represent status of user instance. ..."},{"type":"class","name":"UserInstance","ctype":"ALSATimerUserInstance","summary":"A GObject-derived object to represent user instance. A [class@UserInstance] ..."},{"type":"content","name":"Overview","href":"overview.html","summary":" This library is designed for applications to manipulate ..."},{"type":"ctor","name":"new","type_name":"DeviceParams","ident":"alsatimer_device_params_new","summary":"Instantiate [class@DeviceParams] object and return the instance."},{"type":"ctor","name":"new","type_name":"DeviceStatus","ident":"alsatimer_device_status_new","summary":"Allocate and return an instance of [class@DeviceStatus]."},{"type":"ctor","name":"new","type_name":"InstanceParams","ident":"alsatimer_instance_params_new","summary":"Allocate and return an instance of [class@InstanceParams]."},{"type":"ctor","name":"new","type_name":"InstanceStatus","ident":"alsatimer_instance_status_new","summary":"Allocate and return an instance of [class@InstanceStatus]."},{"type":"ctor","name":"new","type_name":"UserInstance","ident":"alsatimer_user_instance_new","summary":"Allocate and return an instance of [class@UserInstance]."},{"type":"ctor","name":"new","type_name":"DeviceId","ident":"alsatimer_device_id_new","summary":"Allocate and return an instance of [struct@DeviceId]."},{"type":"ctor","name":"new","type_name":"Event","ident":"alsatimer_event_new","summary":"Allocate and return the instance of [struct@Event]."},{"type":"domain","name":"UserInstanceError","ctype":"ALSATimerUserInstanceError","summary":"A set of error code for [struct@GLib.Error] with `ALSATimer.UserInstanceError` domain."},{"type":"enum","name":"Class","ctype":"ALSATimerClass","summary":"A set of enumerations for the class of timer device."},{"type":"enum","name":"EventDataType","ctype":"ALSATimerEventDataType","summary":"A set of enumerations for the type of event data."},{"type":"enum","name":"EventType","ctype":"ALSATimerEventType","summary":"A set of enumerations for timer event."},{"type":"enum","name":"SlaveClass","ctype":"ALSATimerSlaveClass","summary":"A set of enumerations for the slave class of ..."},{"type":"enum","name":"SpecificGlobalDevice","ctype":"ALSATimerSpecificGlobalDevice","summary":"A set of enumerations for the kind of global ..."},{"type":"function","name":"get_device_id_list","ident":"alsatimer_get_device_id_list","summary":"Get the list of existent timer device. The ..."},{"type":"function","name":"get_device_info","ident":"alsatimer_get_device_info","summary":"Get the information of timer device. The call ..."},{"type":"function","name":"get_device_status","ident":"alsatimer_get_device_status","summary":"Get the status of timer device. The call ..."},{"type":"function","name":"get_devnode","ident":"alsatimer_get_devnode","summary":"Allocate string of devnode for ALSA Timer and return ..."},{"type":"function","name":"get_sysname","ident":"alsatimer_get_sysname","summary":"Allocate sysname for ALSA Timer and return it when ..."},{"type":"function","name":"get_tstamp_source","ident":"alsatimer_get_tstamp_source","summary":"Get the clock source for timestamp when [class@UserInstance] is ..."},{"type":"function","name":"set_device_params","ident":"alsatimer_set_device_params","summary":"Set the given parameters to the timer indicated by ..."},{"type":"method","name":"attach","type_name":"UserInstance","ident":"alsatimer_user_instance_attach","summary":"Attach the instance to the timer device. If the ..."},{"type":"method","name":"attach_as_slave","type_name":"UserInstance","ident":"alsatimer_user_instance_attach_as_slave","summary":"Attach the instance as an slave to another instance ..."},{"type":"method","name":"choose_event_data_type","type_name":"UserInstance","ident":"alsatimer_user_instance_choose_event_data_type","summary":"Choose the type of event data to receive. ..."},{"type":"method","name":"continue","type_name":"UserInstance","ident":"alsatimer_user_instance_continue","summary":"Continue timer event emission paused by [method@UserInstance.pause]. The ..."},{"type":"method","name":"create_source","type_name":"UserInstance","ident":"alsatimer_user_instance_create_source","summary":"Allocate [struct@GLib.Source] structure to handle events from ALSA timer ..."},{"type":"method","name":"get_card_id","type_name":"DeviceId","ident":"alsatimer_device_id_get_card_id","summary":"Get the numeric ID of sound card to which ..."},{"type":"method","name":"get_class","type_name":"DeviceId","ident":"alsatimer_device_id_get_class","summary":"Get the class of timer."},{"type":"method","name":"get_device_id","type_name":"DeviceId","ident":"alsatimer_device_id_get_device_id","summary":"Get the numeric ID of device to which the ..."},{"type":"method","name":"get_event","type_name":"EventDataTstamp","ident":"alsatimer_event_data_tstamp_get_event","summary":"Get the kind of event for the timestamp event."},{"type":"method","name":"get_event_filter","type_name":"InstanceParams","ident":"alsatimer_instance_params_get_event_filter","summary":"Get the list of ALSATimerEventType to filter events. This ..."},{"type":"method","name":"get_info","type_name":"UserInstance","ident":"alsatimer_user_instance_get_info","summary":"Return the information of device if attached to the ..."},{"type":"method","name":"get_protocol_version","type_name":"UserInstance","ident":"alsatimer_user_instance_get_protocol_version","summary":"Get the version of timer protocol currently used. The ..."},{"type":"method","name":"get_resolution","type_name":"EventDataTick","ident":"alsatimer_event_data_tick_get_resolution","summary":"Get the resolution of tick event."},{"type":"method","name":"get_status","type_name":"UserInstance","ident":"alsatimer_user_instance_get_status","summary":"Get the latest status of instance. The call ..."},{"type":"method","name":"get_subdevice_id","type_name":"DeviceId","ident":"alsatimer_device_id_get_subdevice_id","summary":"Get the numeric ID of subdevice to which the ..."},{"type":"method","name":"get_tick_data","type_name":"Event","ident":"alsatimer_event_get_tick_data","summary":"Refer to the instance of [struct@EventDataTick]."},{"type":"method","name":"get_ticks","type_name":"EventDataTick","ident":"alsatimer_event_data_tick_get_ticks","summary":"Get the tick count since the last event."},{"type":"method","name":"get_tstamp","type_name":"InstanceStatus","ident":"alsatimer_instance_status_get_tstamp","summary":"Get timestamp for the latest event."},{"type":"method","name":"get_tstamp","type_name":"EventDataTstamp","ident":"alsatimer_event_data_tstamp_get_tstamp","summary":"Get the seconds and nanoseconds part for the timestamp event."},{"type":"method","name":"get_tstamp_data","type_name":"Event","ident":"alsatimer_event_get_tstamp_data","summary":"Refer to the instance of [struct@EventDataTstamp]."},{"type":"method","name":"get_val","type_name":"EventDataTstamp","ident":"alsatimer_event_data_tstamp_get_val","summary":"Get the value depending on the type of timestamp event."},{"type":"method","name":"open","type_name":"UserInstance","ident":"alsatimer_user_instance_open","summary":"Open ALSA Timer character device to allocate queue. ..."},{"type":"method","name":"pause","type_name":"UserInstance","ident":"alsatimer_user_instance_pause","summary":"Pause timer event emission. The call of function ..."},{"type":"method","name":"set_event_filter","type_name":"InstanceParams","ident":"alsatimer_instance_params_set_event_filter","summary":"Set the list of [enum@EventType] to filter events. This ..."},{"type":"method","name":"set_params","type_name":"UserInstance","ident":"alsatimer_user_instance_set_params","summary":"Configure the instance with the parameters and return the ..."},{"type":"method","name":"start","type_name":"UserInstance","ident":"alsatimer_user_instance_start","summary":"Start timer event emission. The call of function ..."},{"type":"method","name":"stop","type_name":"UserInstance","ident":"alsatimer_user_instance_stop","summary":"Stop timer event emission. The call of function ..."},{"type":"property","name":"card-id","type_name":"DeviceInfo","summary":"No description available."},{"type":"property","name":"card-id","type_name":"InstanceInfo","summary":"No description available."},{"type":"property","name":"flags","type_name":"DeviceInfo","summary":"No description available."},{"type":"property","name":"flags","type_name":"InstanceInfo","summary":"No description available."},{"type":"property","name":"flags","type_name":"InstanceParams","summary":"No description available."},{"type":"property","name":"id","type_name":"DeviceInfo","summary":"No description available."},{"type":"property","name":"id","type_name":"InstanceInfo","summary":"No description available."},{"type":"property","name":"instance-count","type_name":"DeviceInfo","summary":"No description available."},{"type":"property","name":"interval","type_name":"InstanceParams","summary":"No description available."},{"type":"property","name":"interval","type_name":"InstanceStatus","summary":"No description available."},{"type":"property","name":"lost","type_name":"InstanceStatus","summary":"No description available."},{"type":"property","name":"name","type_name":"DeviceInfo","summary":"No description available."},{"type":"property","name":"name","type_name":"InstanceInfo","summary":"No description available."},{"type":"property","name":"overrun","type_name":"InstanceStatus","summary":"No description available."},{"type":"property","name":"period-denominator","type_name":"DeviceParams","summary":"No description available."},{"type":"property","name":"period-numerator","type_name":"DeviceParams","summary":"No description available."},{"type":"property","name":"queue-size","type_name":"InstanceParams","summary":"No description available."},{"type":"property","name":"queue-size","type_name":"InstanceStatus","summary":"No description available."},{"type":"property","name":"resolution","type_name":"DeviceInfo","summary":"No description available."},{"type":"property","name":"resolution","type_name":"DeviceStatus","summary":"No description available."},{"type":"property","name":"resolution","type_name":"InstanceInfo","summary":"No description available."},{"type":"property","name":"resolution-denominator","type_name":"DeviceStatus","summary":"No description available."},{"type":"property","name":"resolution-max","type_name":"DeviceInfo","summary":"No description available."},{"type":"property","name":"resolution-min","type_name":"DeviceInfo","summary":"No description available."},{"type":"property","name":"resolution-numerator","type_name":"DeviceStatus","summary":"No description available."},{"type":"record","name":"DeviceId","ctype":"ALSATimerDeviceId","summary":"A boxed object to represent the identifier of timer ..."},{"type":"record","name":"EventDataTick","ctype":"ALSATimerEventDataTick","summary":"A boxed object to represent event of timer with ..."},{"type":"record","name":"EventDataTstamp","ctype":"ALSATimerEventDataTstamp","summary":"A boxed object to represent event of timer with ..."},{"type":"signal","name":"handle-disconnection","type_name":"UserInstance","summary":"Emitted when the attached timer device is not available ..."},{"type":"signal","name":"handle-event","type_name":"UserInstance","summary":"Emitted when event occurs."},{"type":"type_func","name":"quark","type_name":"UserInstanceError","ident":"alsatimer_user_instance_error_quark","summary":"Return the [alias@GLib.Quark] for [struct@GLib.Error] which has code in ..."},{"type":"union","name":"Event","ctype":"ALSATimerEvent","summary":"A boxed object to represent event of timer. A ..."},{"type":"vfunc","name":"handle_disconnection","type_name":"UserInstance","summary":"Class closure for the [signal@UserInstance::handle-disconnection] signal."},{"type":"vfunc","name":"handle_event","type_name":"UserInstance","summary":"Class closure for the [signal@UserInstance::handle-event] signal."}],"terms":{"":[2,11,15,20,26,33,42,43,44,45,47,49,50,51,52,53,54,59,66,67,68,69,70,71,72,73,79,82,91],"'struct":[15],"0":[71],"1":[71],"16":[48],"8":[48],"[class@devicestatus]":[16],"[class@instanceparams]":[27],"[class@instancestatus]":[34],"[class@userinstance]":[41],"[enum@eventdatatype:timestamp]":[28,29],"[enum@slaveclass:application]":[43],"[enum@slaveclass:sequencer]":[43],"[method@userinstance.attach]":[86],"[method@userinstance.attach_as_slave]":[40],"[method@userinstance.open]":[40],"[method@userinstance.pause]":[45],"[struct@deviceid]":[74],"[struct@event]":[87],"[struct@eventdatatick]":[88],"[struct@eventdatatstamp]":[86,89],"[struct@glib.maincontext]":[46],"`alsatimer.userinstanceerror":[59],"`close2":[71],"`close2`":[66,67,68,72],"`ioctl2":[42,43,44,45,47,49,51,52,53,54,66,67,68,72],"`open2":[50],"`open2`":[66,67,68,71,72],"`poll2":[46],"`read2":[46],"`read2`":[71],"`snd-timer":[71],"`struct":[2,11,20,26,33,73,79,82],"absent":[42],"abstract":[91],"accord":[2,46,71,73],"after":[1,40],"alloc":[16,27,34,41,46,50,69,70,74,87],"alreadi":[59],"alsa":[42,43,44,45,46,47,49,50,51,52,53,54,55,64,66,67,68,69,70,72,91],"alsatimer_device_id_get_card_id":[75],"alsatimer_device_id_get_class":[76],"alsatimer_device_id_get_device_id":[77],"alsatimer_device_id_get_subdevice_id":[78],"alsatimer_device_id_new":[74],"alsatimer_device_params_new":[12],"alsatimer_device_status_new":[16],"alsatimer_event_data_tick_get_resolution":[80],"alsatimer_event_data_tick_get_ticks":[81],"alsatimer_event_data_tstamp_get_event":[83],"alsatimer_event_data_tstamp_get_tstamp":[84],"alsatimer_event_data_tstamp_get_val":[85],"alsatimer_event_get_tick_data":[88],"alsatimer_event_get_tstamp_data":[89],"alsatimer_event_new":[87],"alsatimer_get_device_id_list":[66],"alsatimer_get_device_info":[67],"alsatimer_get_device_status":[68],"alsatimer_get_devnode":[69],"alsatimer_get_sysname":[70],"alsatimer_get_tstamp_source":[71],"alsatimer_instance_params_get_event_filter":[28],"alsatimer_instance_params_new":[27],"alsatimer_instance_params_set_event_filter":[29],"alsatimer_instance_status_get_tstamp":[35],"alsatimer_instance_status_new":[34],"alsatimer_set_device_params":[72],"alsatimer_user_instance_attach":[42],"alsatimer_user_instance_attach_as_slave":[43],"alsatimer_user_instance_choose_event_data_type":[44],"alsatimer_user_instance_continue":[45],"alsatimer_user_instance_create_source":[46],"alsatimer_user_instance_error_quark":[60],"alsatimer_user_instance_get_info":[47],"alsatimer_user_instance_get_protocol_version":[48],"alsatimer_user_instance_get_status":[49],"alsatimer_user_instance_new":[41],"alsatimer_user_instance_open":[50],"alsatimer_user_instance_pause":[51],"alsatimer_user_instance_set_params":[52],"alsatimer_user_instance_start":[53],"alsatimer_user_instance_stop":[54],"alsatimerclass":[61],"alsatimerdeviceid":[73],"alsatimerdeviceinfo":[2],"alsatimerdeviceinfoflag":[0],"alsatimerdeviceparams":[11],"alsatimerdevicestatus":[15],"alsatimerevent":[86],"alsatimereventdatatick":[79],"alsatimereventdatatstamp":[82],"alsatimereventdatatype":[62],"alsatimereventtyp":[28],"alsatimereventtype":[63],"alsatimerinstanceinfo":[20],"alsatimerinstanceparamflag":[1],"alsatimerinstanceparams":[26],"alsatimerinstancestatus":[33],"alsatimerslaveclass":[64],"alsatimerspecificglobaldevice":[65],"alsatimeruserinst":[91],"alsatimeruserinstance":[40],"alsatimeruserinstanceerror":[59],"an":[2,16,27,34,41,43,74],"ani":[0,1,20,26,33,40,59,64],"anoth":[43],"anymor":[55],"applic":[43,64,86,91],"application":[64],"arrai":[48],"attach":[1,20,26,33,40,42,43,44,47,55,59],"attached":[59],"auto":[1],"avail":[3,4,5,6,7,8,9,10,13,14,17,18,19,21,22,23,24,25,30,31,32,36,37,38,39,55],"befor":[44,63],"belong":[75,77,78],"bit":[48],"bound":[43],"box":[73,79,82,86],"call":[2,11,15,20,26,33,40,42,43,44,45,46,47,49,50,51,52,53,54,55,59,66,67,68,71,72,86],"can":[42,86],"card":[3,21,61,73,75],"charact":[42,43,44,45,46,47,49,50,51,52,53,54,55,66,67,68,72,91],"choos":[44],"class":[57,58,61,64,73,76],"client":[1],"clock":[71],"clock_monoton":[71],"clock_realtim":[71],"closur":[57,58],"code":[59,60],"command":[42,43,44,45,47,49,51,52,53,54,66,67,68,72],"configur":[1,52,71],"consist":[73],"continu":[45,63],"continue":[63],"correspond":[71],"count":[6,79,81],"creat":[46,91],"current":[48],"data":[44,62,79,82,86,88,89],"decid":[86],"default":[44],"denomin":[13,18],"depend":[85],"descript":[3,4,5,6,7,8,9,10,13,14,17,18,19,21,22,23,24,25,30,31,32,36,37,38,39],"descriptor":[40,91],"design":[91],"destruct":[40],"detach":[42],"devic":[0,1,2,11,15,20,26,33,40,42,43,44,45,46,47,49,50,51,52,53,54,55,59,61,64,65,66,67,68,72,73,75,77,91],"device_id":[42],"devnod":[69],"disconnect":[55,57],"dispatch":[46,91],"domain":[59],"driver":[55],"due":[55],"each":[46,48],"earli":[1],"early":[63],"early_event":[1],"effect":[28,29],"element":[48],"emiss":[45,51,53,54],"emit":[55,56],"enumer":[60,61,62,63,64,65],"error":[42,59],"even":[1],"event":[1,28,29,35,44,45,46,51,53,54,56,58,62,63,71,79,80,81,82,83,84,85,86,91],"exclusive":[1],"execut":[42,43,44,45,46,47,49,50,51,52,53,54,66,67,68,71,72],"exist":[66,69,70],"explicitli":[44],"fail":[59],"failed":[59],"file":[40,91],"filter":[28,29],"flag":[0,1,4,22,30],"found":[59],"from":[46],"function":[42,43,44,45,47,49,50,51,52,53,54,66,67,68,71,72,91],"gather":[69,70],"get":[28,35,47,48,49,66,67,68,69,70,71,75,76,77,78,80,81,83,84,85,88,89],"given":[42,72],"glib'":[91],"global":[61,65],"gmaincontext/gmainloop":[91],"gobject-deriv":[2,11,15,20,26,33,40],"gsourc":[91],"ha":[60],"handl":[46,55,56,57,58],"hold":[91],"hot":[55],"hrtimer":[65],"id":[3,5,21,23,43,66,73,75,77,78],"identifi":[2,72,73],"indic":[43,72],"info":[0,2,20,47,67],"inform":[0,2,20,40,47,67,69,70],"instanc":[1,2,6,11,12,15,16,20,26,27,28,29,33,34,40,41,42,43,44,47,49,52,59,64,74,86,87,88,89,91],"instanti":[12],"interv":[31,36],"invalid":[61],"it":[71],"iter":[46],"just":[44,71],"kernel":[71],"kind":[65,83],"last":[81],"latest":[35,49,52],"length":[48],"librari":[91],"linux":[2,11,15,20,26,33,73,79,82],"list":[28,29,66],"lost":[37],"mainli":[73],"maintain":[40],"major":[48],"manipul":[91],"master":[63],"max":[9],"mcontinue":[63],"mean":[71],"member":[73],"micro":[48],"min":[10],"minor":[48],"modul":[71],"mpause":[63],"mresume":[63],"mstart":[63],"mstop":[63],"msuspend":[63],"name":[7,24],"nanosecond":[84],"new":[12,16,27,34,41,74,87],"node":[69,70,71],"none":[61,64],"not":[64],"not_attached":[59],"numer":[14,19,43,73,75,77,78],"object":[2,11,12,15,20,26,33,40,55,73,79,82,86],"occupi":[1],"occur":[56],"on":[86],"onli":[28,29],"open":[50],"oper":[91],"option":[73],"order":[48],"other":[20,26,33,40,59,73],"overrun":[38],"own":[43],"owner":[55],"pair":[43],"param":[1,11,26,52,72],"paramet":[1,11,26,28,29,52,71,72],"part":[84],"pass":[86],"paus":[45,51,63],"pause":[63],"pcm":[61],"period":[13,14],"pid":[43],"possibl":[55],"process":[43],"protocol":[48],"quark":[60],"queue":[32,39,43,50],"quickli":[55],"receiv":[1,44,71],"refer":[71,88,89],"releas":[55],"relev":[61],"repres":[2,11,15,20,26,33,40,48,73,79,82,86,91],"requir":[11,26],"resolut":[8,9,10,17,18,19,25,63,80],"resolution":[63],"result":[46],"resum":[63],"resume":[63],"return":[2,12,15,16,20,27,33,34,41,47,52,60,69,70,74,87],"second":[84],"select":[71],"sequenc":[64],"sequencer":[64],"set":[0,1,29,52,59,61,62,63,64,65,72],"should":[55],"signal":[46,57,58],"sinc":[81],"singl":[86],"size":[32,39],"slave":[0,20,26,33,40,43,64],"slave_class":[43],"slave_id":[43],"snd_timer_ginfo":[2],"snd_timer_gparam":[11],"snd_timer_gstatus'":[15],"snd_timer_id":[73],"snd_timer_info":[20],"snd_timer_param":[26],"snd_timer_read":[79],"snd_timer_statu":[33],"snd_timer_tread":[82],"sndrv_timer_ioctl_continu":[45],"sndrv_timer_ioctl_ginfo":[67],"sndrv_timer_ioctl_gparam":[72],"sndrv_timer_ioctl_gstatu":[68],"sndrv_timer_ioctl_info":[47],"sndrv_timer_ioctl_next_devic":[66],"sndrv_timer_ioctl_param":[52],"sndrv_timer_ioctl_paus":[51],"sndrv_timer_ioctl_select":[42,43],"sndrv_timer_ioctl_start":[53],"sndrv_timer_ioctl_statu":[49],"sndrv_timer_ioctl_stop":[54],"sndrv_timer_ioctl_tread":[44],"sound":[2,11,15,20,26,33,61,69,70,73,75,79,82],"sourc":[46,71],"specif":[65],"start":[1,53,63],"statu":[15,33,49,68],"stop":[54,63],"storag":[86],"string":[69],"structur":[46],"subdevic":[73,78],"subsystem":[2,11,15,20,26,33,69,70,73,79,82],"success":[44],"suspend":[63],"sysf":[69,70,71],"sysnam":[70],"system":[42,43,44,45,46,47,49,50,51,52,53,54,59,61,65,66,67,68,71,72],"target":[28,29],"three":[48],"tick":[62,63,79,80,81,88],"till":[40],"timer":[0,1,2,11,15,20,26,33,40,42,43,44,45,46,47,48,49,50,51,52,53,54,55,59,61,63,64,65,66,67,68,69,70,72,73,76,77,78,79,82,86,91],"timer_not_found":[59],"timestamp":[35,62,71,83,84,85],"tstamp":[35,62,71,82,84,89],"two":[86],"type":[44,62,63,85,86],"uapi":[2,11,15,20,26,33,73,79,82],"unbind":[55],"under":[69,70],"unplug":[55],"us":[44,48,69,70,71,86],"user":[1,20,26,33,40,59,91],"val":[85],"valu":[85],"version":[48],"wheel":[65],"when":[55,56,70,71],"which":[43,60,75,77,78],"wrap":[2,11,15,20,26,33,73,79,82],"yet":[44]}} \ No newline at end of file +{"meta":{"ns":"ALSATimer","version":"0.0","generator":"gi-docgen","generator-version":"2022.1"},"symbols":[{"type":"bitfield","name":"DeviceInfoFlag","ctype":"ALSATimerDeviceInfoFlag","summary":"A set of flags for the information of timer device."},{"type":"bitfield","name":"InstanceParamFlag","ctype":"ALSATimerInstanceParamFlag","summary":"A set of flags for the parameters of user client."},{"type":"class","name":"DeviceInfo","ctype":"ALSATimerDeviceInfo","summary":"A GObject-derived object to express information of timer device. ..."},{"type":"class","name":"DeviceParams","ctype":"ALSATimerDeviceParams","summary":"A GObject-derived object to express parameter of timer device. ..."},{"type":"class","name":"DeviceStatus","ctype":"ALSATimerDeviceStatus","summary":"A GObject-derived object to express status of timer device. ..."},{"type":"class","name":"InstanceInfo","ctype":"ALSATimerInstanceInfo","summary":"A GObject-derived object to express information of user instance. ..."},{"type":"class","name":"InstanceParams","ctype":"ALSATimerInstanceParams","summary":"A GObject-derived object to express parameters of user instance. ..."},{"type":"class","name":"InstanceStatus","ctype":"ALSATimerInstanceStatus","summary":"A GObject-derived object to express status of user instance. ..."},{"type":"class","name":"UserInstance","ctype":"ALSATimerUserInstance","summary":"A GObject-derived object to express user instance. A [class@UserInstance] ..."},{"type":"content","name":"Overview","href":"overview.html","summary":" This library is designed for applications to manipulate ..."},{"type":"ctor","name":"new","type_name":"DeviceParams","ident":"alsatimer_device_params_new","summary":"Instantiate [class@DeviceParams] object and return the instance."},{"type":"ctor","name":"new","type_name":"DeviceStatus","ident":"alsatimer_device_status_new","summary":"Allocate and return an instance of [class@DeviceStatus]."},{"type":"ctor","name":"new","type_name":"InstanceParams","ident":"alsatimer_instance_params_new","summary":"Allocate and return an instance of [class@InstanceParams]."},{"type":"ctor","name":"new","type_name":"InstanceStatus","ident":"alsatimer_instance_status_new","summary":"Allocate and return an instance of [class@InstanceStatus]."},{"type":"ctor","name":"new","type_name":"UserInstance","ident":"alsatimer_user_instance_new","summary":"Allocate and return an instance of [class@UserInstance]."},{"type":"ctor","name":"new","type_name":"DeviceId","ident":"alsatimer_device_id_new","summary":"Allocate and return an instance of [struct@DeviceId]."},{"type":"domain","name":"UserInstanceError","ctype":"ALSATimerUserInstanceError","summary":"A set of error code for [struct@GLib.Error] with `ALSATimer.UserInstanceError` domain."},{"type":"enum","name":"Class","ctype":"ALSATimerClass","summary":"A set of enumerations for the class of timer device."},{"type":"enum","name":"EventType","ctype":"ALSATimerEventType","summary":"A set of enumerations for the type of event."},{"type":"enum","name":"RealTimeEventType","ctype":"ALSATimerRealTimeEventType","summary":"A set of enumerations for the type of real ..."},{"type":"enum","name":"SlaveClass","ctype":"ALSATimerSlaveClass","summary":"A set of enumerations for the slave class of ..."},{"type":"enum","name":"SpecificGlobalDevice","ctype":"ALSATimerSpecificGlobalDevice","summary":"A set of enumerations for the kind of global ..."},{"type":"function","name":"get_device_id_list","ident":"alsatimer_get_device_id_list","summary":"Get the list of existent timer device. The ..."},{"type":"function","name":"get_device_info","ident":"alsatimer_get_device_info","summary":"Get the information of timer device. The call ..."},{"type":"function","name":"get_device_status","ident":"alsatimer_get_device_status","summary":"Get the status of timer device. The call ..."},{"type":"function","name":"get_devnode","ident":"alsatimer_get_devnode","summary":"Allocate string of devnode for ALSA Timer and return ..."},{"type":"function","name":"get_real_time_clock_id","ident":"alsatimer_get_real_time_clock_id","summary":"Get `clock_id` for real time. The `clock_id` governs real ..."},{"type":"function","name":"get_sysname","ident":"alsatimer_get_sysname","summary":"Allocate sysname for ALSA Timer and return it when ..."},{"type":"function","name":"set_device_params","ident":"alsatimer_set_device_params","summary":"Set the given parameters to the timer indicated by ..."},{"type":"method","name":"attach","type_name":"UserInstance","ident":"alsatimer_user_instance_attach","summary":"Attach the instance to the timer device. If the ..."},{"type":"method","name":"attach_as_slave","type_name":"UserInstance","ident":"alsatimer_user_instance_attach_as_slave","summary":"Attach the instance as an slave to another instance ..."},{"type":"method","name":"choose_event_type","type_name":"UserInstance","ident":"alsatimer_user_instance_choose_event_type","summary":"Choose the type of event data to receive. ..."},{"type":"method","name":"continue","type_name":"UserInstance","ident":"alsatimer_user_instance_continue","summary":"Continue timer event emission paused by [method@UserInstance.pause]. The ..."},{"type":"method","name":"create_source","type_name":"UserInstance","ident":"alsatimer_user_instance_create_source","summary":"Allocate [struct@GLib.Source] structure to handle events from ALSA timer ..."},{"type":"method","name":"get_card_id","type_name":"DeviceId","ident":"alsatimer_device_id_get_card_id","summary":"Get the numeric ID of sound card to which ..."},{"type":"method","name":"get_class","type_name":"DeviceId","ident":"alsatimer_device_id_get_class","summary":"Get the class of timer."},{"type":"method","name":"get_count","type_name":"TickTimeEvent","ident":"alsatimer_tick_time_event_get_count","summary":"Get the tick count since the last event."},{"type":"method","name":"get_device_id","type_name":"DeviceId","ident":"alsatimer_device_id_get_device_id","summary":"Get the numeric ID of device to which the ..."},{"type":"method","name":"get_event","type_name":"RealTimeEvent","ident":"alsatimer_real_time_event_get_event","summary":"Get the kind of event for the real time event."},{"type":"method","name":"get_event_filter","type_name":"InstanceParams","ident":"alsatimer_instance_params_get_event_filter","summary":"Get the list of [enum@RealTimeEventType] to filter events. This ..."},{"type":"method","name":"get_info","type_name":"UserInstance","ident":"alsatimer_user_instance_get_info","summary":"Return the information of device if attached to the ..."},{"type":"method","name":"get_protocol_version","type_name":"UserInstance","ident":"alsatimer_user_instance_get_protocol_version","summary":"Get the version of timer protocol currently used. The ..."},{"type":"method","name":"get_resolution","type_name":"TickTimeEvent","ident":"alsatimer_tick_time_event_get_resolution","summary":"Get the resolution of tick event."},{"type":"method","name":"get_status","type_name":"UserInstance","ident":"alsatimer_user_instance_get_status","summary":"Get the latest status of instance. The call ..."},{"type":"method","name":"get_subdevice_id","type_name":"DeviceId","ident":"alsatimer_device_id_get_subdevice_id","summary":"Get the numeric ID of subdevice to which the ..."},{"type":"method","name":"get_time","type_name":"InstanceStatus","ident":"alsatimer_instance_status_get_time","summary":"Get real time at which the timer starts, stops, ..."},{"type":"method","name":"get_time","type_name":"RealTimeEvent","ident":"alsatimer_real_time_event_get_time","summary":"Get the seconds and nanoseconds part for the real ..."},{"type":"method","name":"get_val","type_name":"RealTimeEvent","ident":"alsatimer_real_time_event_get_val","summary":"Get the value depending on the type of real ..."},{"type":"method","name":"open","type_name":"UserInstance","ident":"alsatimer_user_instance_open","summary":"Open ALSA Timer character device to allocate queue. ..."},{"type":"method","name":"pause","type_name":"UserInstance","ident":"alsatimer_user_instance_pause","summary":"Pause timer event emission. The call of function ..."},{"type":"method","name":"set_event_filter","type_name":"InstanceParams","ident":"alsatimer_instance_params_set_event_filter","summary":"Set the list of [enum@RealTimeEventType] to filter events. This ..."},{"type":"method","name":"set_params","type_name":"UserInstance","ident":"alsatimer_user_instance_set_params","summary":"Configure the instance with the parameters and return the ..."},{"type":"method","name":"start","type_name":"UserInstance","ident":"alsatimer_user_instance_start","summary":"Start timer event emission. The call of function ..."},{"type":"method","name":"stop","type_name":"UserInstance","ident":"alsatimer_user_instance_stop","summary":"Stop timer event emission. The call of function ..."},{"type":"property","name":"card-id","type_name":"DeviceInfo","summary":"The numeric ID of sound card."},{"type":"property","name":"card-id","type_name":"InstanceInfo","summary":"The numeric ID of sound card for attached timer."},{"type":"property","name":"flags","type_name":"DeviceInfo","summary":"The flags of timer, one of [flags@DeviceInfoFlag]."},{"type":"property","name":"flags","type_name":"InstanceInfo","summary":"The flags for attached timer."},{"type":"property","name":"flags","type_name":"InstanceParams","summary":"The flags for user instance, as a set of [flags@InstanceParamFlag]."},{"type":"property","name":"id","type_name":"DeviceInfo","summary":"The string ID of timer."},{"type":"property","name":"id","type_name":"InstanceInfo","summary":"The string ID of attached timer."},{"type":"property","name":"instance-count","type_name":"DeviceInfo","summary":"The number of instances for the timer."},{"type":"property","name":"interval","type_name":"InstanceParams","summary":"The interval to generate event in tick count."},{"type":"property","name":"interval","type_name":"InstanceStatus","summary":"The current interval in nano second."},{"type":"property","name":"lost","type_name":"InstanceStatus","summary":"The count of losts master ticks."},{"type":"property","name":"name","type_name":"DeviceInfo","summary":"The name of timer."},{"type":"property","name":"name","type_name":"InstanceInfo","summary":"The name of attached timer."},{"type":"property","name":"overrun","type_name":"InstanceStatus","summary":"The count of overrun in read queue."},{"type":"property","name":"period-denominator","type_name":"DeviceParams","summary":"The denominator of period for timer."},{"type":"property","name":"period-numerator","type_name":"DeviceParams","summary":"The numerator of period for timer."},{"type":"property","name":"queue-size","type_name":"InstanceParams","summary":"The size of queue."},{"type":"property","name":"queue-size","type_name":"InstanceStatus","summary":"The current size of queue."},{"type":"property","name":"resolution","type_name":"DeviceInfo","summary":"The resolution in nano seconds."},{"type":"property","name":"resolution","type_name":"DeviceStatus","summary":"The current resolution in nano seconds."},{"type":"property","name":"resolution","type_name":"InstanceInfo","summary":"The resolution of attached timer in nano seconds."},{"type":"property","name":"resolution-denominator","type_name":"DeviceStatus","summary":"The denominator of current resolution in seconds."},{"type":"property","name":"resolution-max","type_name":"DeviceInfo","summary":"The maximum resolution in nano seconds."},{"type":"property","name":"resolution-min","type_name":"DeviceInfo","summary":"The minimum resolution in nano seconds."},{"type":"property","name":"resolution-numerator","type_name":"DeviceStatus","summary":"The numerator of current resolution in seconds."},{"type":"record","name":"DeviceId","ctype":"ALSATimerDeviceId","summary":"A boxed object to express the identifier of timer ..."},{"type":"record","name":"RealTimeEvent","ctype":"ALSATimerRealTimeEvent","summary":"A boxed object to express event of timer with ..."},{"type":"record","name":"TickTimeEvent","ctype":"ALSATimerTickTimeEvent","summary":"A boxed object to express event of timer with ..."},{"type":"signal","name":"handle-disconnection","type_name":"UserInstance","summary":"Emitted when the attached timer device is not available ..."},{"type":"signal","name":"handle-real-time-event","type_name":"UserInstance","summary":"Emitted when event occurs to notify real time."},{"type":"signal","name":"handle-tick-time-event","type_name":"UserInstance","summary":"Emitted when event occurs to notify tick time."},{"type":"type_func","name":"quark","type_name":"UserInstanceError","ident":"alsatimer_user_instance_error_quark","summary":"Return the [alias@GLib.Quark] for [struct@GLib.Error] which has code in ..."},{"type":"vfunc","name":"handle_disconnection","type_name":"UserInstance","summary":"Class closure for the [signal@UserInstance::handle-disconnection] signal."},{"type":"vfunc","name":"handle_real_time_event","type_name":"UserInstance","summary":"Class closure for the [signal@UserInstance::handle-real-time-event] signal."},{"type":"vfunc","name":"handle_tick_time_event","type_name":"UserInstance","summary":"Class closure for the [signal@UserInstance::handle-tick-time-event] signal."}],"terms":{"":[2,11,15,20,26,33,42,43,44,45,47,49,50,51,52,53,54,61,68,69,70,71,72,73,74,75,81,85,89],"'struct":[15],"0":[72],"1":[72],"16":[48],"8":[48],"[class@devicestatus]":[16],"[class@instanceparams]":[27],"[class@instancestatus]":[34],"[class@userinstance]":[41],"[enum@eventtype].real_tim":[28,44],"[enum@eventtype].tick_tim":[44],"[enum@eventtype].timestamp":[29],"[enum@slaveclass:application]":[43],"[enum@slaveclass:sequencer]":[43],"[flags@deviceinfoflag]":[4],"[flags@instanceparamflag]":[30],"[method@instancestatus.get_time]":[72],"[method@userinstance.attach]":[44],"[method@userinstance.attach_as_slave]":[40],"[method@userinstance.open]":[40],"[method@userinstance.pause]":[45],"[signal@userinstance::handle_real_time_event]":[44],"[signal@userinstance::handle_tick_time_event]":[44],"[struct@deviceid]":[76],"[struct@glib.maincontext]":[46],"`alsatimer.userinstanceerror":[61],"`close2":[72],"`close2`":[68,69,70,74],"`ioctl2":[42,43,44,45,47,49,51,52,53,54,68,69,70,74],"`open2":[50],"`open2`":[68,69,70,72,74],"`poll2":[46],"`read2":[46],"`read2`":[72],"`snd-timer":[72],"`struct":[2,11,20,26,33,75,81,85],"absent":[42],"abstract":[89],"accord":[2,46,75],"after":[1,40],"alloc":[16,27,34,41,46,50,71,73,76],"alreadi":[61],"alsa":[42,43,44,45,46,47,49,50,51,52,53,54,55,66,68,69,70,71,73,74,89],"alsatimer_device_id_get_card_id":[77],"alsatimer_device_id_get_class":[78],"alsatimer_device_id_get_device_id":[79],"alsatimer_device_id_get_subdevice_id":[80],"alsatimer_device_id_new":[76],"alsatimer_device_params_new":[12],"alsatimer_device_status_new":[16],"alsatimer_get_device_id_list":[68],"alsatimer_get_device_info":[69],"alsatimer_get_device_status":[70],"alsatimer_get_devnode":[71],"alsatimer_get_real_time_clock_id":[72],"alsatimer_get_sysname":[73],"alsatimer_instance_params_get_event_filter":[28],"alsatimer_instance_params_new":[27],"alsatimer_instance_params_set_event_filter":[29],"alsatimer_instance_status_get_time":[35],"alsatimer_instance_status_new":[34],"alsatimer_real_time_event_get_event":[82],"alsatimer_real_time_event_get_time":[83],"alsatimer_real_time_event_get_val":[84],"alsatimer_set_device_params":[74],"alsatimer_tick_time_event_get_count":[86],"alsatimer_tick_time_event_get_resolution":[87],"alsatimer_user_instance_attach":[42],"alsatimer_user_instance_attach_as_slave":[43],"alsatimer_user_instance_choose_event_type":[44],"alsatimer_user_instance_continue":[45],"alsatimer_user_instance_create_source":[46],"alsatimer_user_instance_error_quark":[62],"alsatimer_user_instance_get_info":[47],"alsatimer_user_instance_get_protocol_version":[48],"alsatimer_user_instance_get_status":[49],"alsatimer_user_instance_new":[41],"alsatimer_user_instance_open":[50],"alsatimer_user_instance_pause":[51],"alsatimer_user_instance_set_params":[52],"alsatimer_user_instance_start":[53],"alsatimer_user_instance_stop":[54],"alsatimerclass":[63],"alsatimerdeviceid":[75],"alsatimerdeviceinfo":[2],"alsatimerdeviceinfoflag":[0],"alsatimerdeviceparams":[11],"alsatimerdevicestatus":[15],"alsatimereventtype":[64],"alsatimerinstanceinfo":[20],"alsatimerinstanceparamflag":[1],"alsatimerinstanceparams":[26],"alsatimerinstancestatus":[33],"alsatimerrealtimeevent":[81],"alsatimerrealtimeeventtype":[65],"alsatimerslaveclass":[66],"alsatimerspecificglobaldevice":[67],"alsatimerticktimeevent":[85],"alsatimeruserinst":[89],"alsatimeruserinstance":[40],"alsatimeruserinstanceerror":[61],"an":[2,16,27,34,41,43,76],"ani":[0,1,20,26,33,40,61,66],"anoth":[43],"anymor":[55],"applic":[43,66,89],"application":[66],"arrai":[48],"attach":[1,20,21,22,23,24,25,26,33,40,42,43,47,55,61],"attached":[61],"auto":[1],"avail":[44,55],"befor":[44,65],"belong":[77,79,80],"bit":[48],"both":[72],"bound":[43],"box":[75,81,85],"call":[2,11,15,20,26,33,40,42,43,44,45,46,47,49,50,51,52,53,54,55,61,68,69,70,72,74],"can":[42],"card":[3,21,63,75,77],"charact":[42,43,44,45,46,47,49,50,51,52,53,54,55,68,69,70,74,89],"choos":[44],"class":[58,59,60,63,66,75,78],"client":[1],"clock":[72],"clock_id":[72],"clock_monoton":[72],"clock_realtim":[72],"closur":[58,59,60],"code":[61,62],"command":[42,43,44,45,47,49,51,52,53,54,68,69,70,74],"configur":[1,44,52],"consist":[75],"continu":[35,45,65],"continue":[65],"correspond":[72],"count":[6,31,37,38,85,86],"creat":[46,89],"current":[17,18,19,36,39,48],"data":[44],"default":[44],"denomin":[13,18],"depend":[84],"descriptor":[40,89],"design":[89],"destruct":[40],"detach":[42],"devic":[0,1,2,11,15,20,26,33,40,42,43,44,45,46,47,49,50,51,52,53,54,55,61,63,66,67,68,69,70,74,75,77,79,89],"device_id":[42],"devnod":[71],"disconnect":[55,58],"dispatch":[46,89],"domain":[61],"driver":[55],"due":[55],"each":[46,48],"earli":[1],"early":[65],"early_event":[1],"effect":[28,29],"either":[46],"element":[48],"emiss":[45,51,53,54],"emit":[55,56,57],"enumer":[62,63,64,65,66,67],"error":[42,61],"even":[1],"event":[1,28,29,31,44,45,46,51,53,54,56,57,59,60,64,65,81,82,83,84,85,86,87,89],"exclusive":[1],"execut":[42,43,44,45,46,47,49,50,51,52,53,54,68,69,70,72,74],"exist":[68,71,73],"explicitli":[44],"express":[2,11,15,20,26,33,40,48,75,81,85],"expresss":[89],"fail":[61],"failed":[61],"file":[40,89],"filter":[28,29],"flag":[0,1,4,22,30],"former":[44],"found":[61],"from":[46],"function":[42,43,44,45,47,49,50,51,52,53,54,68,69,70,72,74,89],"gather":[71,73],"gener":[31],"get":[28,35,47,48,49,68,69,70,71,72,73,77,78,79,80,82,83,84,86,87],"given":[42,74],"glib'":[89],"global":[63,67],"gmaincontext/gmainloop":[89],"gobject-deriv":[2,11,15,20,26,33,40],"govern":[72],"gsourc":[89],"ha":[62],"handl":[46,55,56,57,58,59,60],"hold":[89],"hot":[55],"hrtimer":[67],"id":[3,5,21,23,43,68,72,75,77,79,80],"identifi":[2,74,75],"includ":[81,85],"indic":[43,74],"info":[0,2,20,47,69],"inform":[0,2,20,40,47,69,71,73],"instanc":[1,2,6,11,12,15,16,20,26,27,28,29,30,33,34,40,41,42,43,47,49,52,61,66,76,89],"instanti":[12],"interv":[31,36],"invalid":[63],"iter":[46],"just":[44,72],"kernel":[72],"kind":[67,82],"last":[86],"latest":[49,52],"latter":[44],"length":[48],"librari":[89],"linux":[2,11,15,20,26,33,75,81,85],"list":[28,29,68],"lost":[37],"mainli":[75],"maintain":[40],"major":[48],"manipul":[89],"master":[37,65],"max":[9],"maximum":[9],"mcontinue":[65],"mean":[72],"member":[75],"micro":[48],"min":[10],"minimum":[10],"minor":[48],"modul":[72],"mpause":[65],"mresume":[65],"mstart":[65],"mstop":[65],"msuspend":[65],"name":[7,24],"nano":[8,9,10,17,25,36],"nanosecond":[83],"new":[12,16,27,34,41,76],"node":[71,72,73],"none":[63,66],"not":[66],"not_attached":[61],"notifi":[56,57],"number":[6],"numer":[3,14,19,21,43,75,77,79,80],"object":[2,11,12,15,20,26,33,40,55,75,81,85],"occupi":[1],"occur":[56,57],"on":[4],"onli":[28,29],"open":[50],"oper":[89],"option":[75],"order":[48],"other":[20,26,33,40,61,75],"overrun":[38],"own":[43],"owner":[55],"pair":[43],"param":[1,11,26,52,74],"paramet":[1,11,26,28,29,52,72,74],"part":[83],"paus":[35,45,51,65],"pause":[65],"pcm":[63],"period":[13,14],"pid":[43],"possibl":[55],"process":[43],"protocol":[48],"quark":[62],"queu":[81,85],"queue":[32,38,39,43,50],"quickli":[55],"read":[38],"real":[35,44,56,59,64,65,72,81,82,83,84],"real_time":[64],"receiv":[1,44],"refer":[72],"releas":[55],"relev":[63],"requir":[11,26],"resolut":[8,9,10,17,18,19,25,65,87],"resolution":[65],"result":[46],"resum":[65],"resume":[65],"retriev":[72],"return":[2,12,15,16,20,27,33,34,41,47,52,62,71,73,76],"second":[8,9,10,17,18,19,25,36,83],"sequenc":[66],"sequencer":[66],"set":[0,1,29,30,52,61,63,64,65,66,67,74],"should":[55],"signal":[46,58,59,60],"sinc":[86],"size":[32,39],"slave":[0,20,26,33,40,43,66],"slave_class":[43],"slave_id":[43],"snd_timer_ginfo":[2],"snd_timer_gparam":[11],"snd_timer_gstatus'":[15],"snd_timer_id":[75],"snd_timer_info":[20],"snd_timer_param":[26],"snd_timer_read":[85],"snd_timer_statu":[33],"snd_timer_tread":[81],"sndrv_timer_ioctl_continu":[45],"sndrv_timer_ioctl_ginfo":[69],"sndrv_timer_ioctl_gparam":[74],"sndrv_timer_ioctl_gstatu":[70],"sndrv_timer_ioctl_info":[47],"sndrv_timer_ioctl_next_devic":[68],"sndrv_timer_ioctl_param":[52],"sndrv_timer_ioctl_paus":[51],"sndrv_timer_ioctl_select":[42,43],"sndrv_timer_ioctl_start":[53],"sndrv_timer_ioctl_statu":[49],"sndrv_timer_ioctl_stop":[54],"sndrv_timer_ioctl_tread":[44],"sound":[2,3,11,15,20,21,26,33,63,71,73,75,77,81,85],"sourc":[46],"specif":[67],"start":[1,35,53,65],"statu":[15,33,49,70],"stop":[35,54,65],"string":[5,23,71],"structur":[46],"subdevic":[75,80],"subsystem":[2,11,15,20,26,33,71,73,75,81,85],"success":[44],"suspend":[65],"sysf":[71,72,73],"sysnam":[73],"system":[42,43,44,45,46,47,49,50,51,52,53,54,61,63,67,68,69,70,72,74],"target":[28,29],"three":[48],"tick":[31,37,44,57,60,64,65,85,86,87],"tick_time":[64],"till":[40],"time":[35,44,56,57,59,60,64,65,72,81,82,83,84,85],"timer":[0,1,2,4,5,6,7,11,13,14,15,20,21,22,23,24,25,26,33,35,40,42,43,44,45,46,47,48,49,50,51,52,53,54,55,61,63,65,66,67,68,69,70,71,73,74,75,78,79,80,81,85,89],"timer_not_found":[61],"type":[44,64,65,84],"uapi":[2,11,15,20,26,33,75,81,85],"unbind":[55],"under":[71,73],"unplug":[55],"us":[44,48,71,72,73],"user":[1,20,26,30,33,40,61,89],"val":[84],"valu":[84],"version":[48],"wheel":[67],"when":[44,55,56,57,73],"which":[35,43,62,77,79,80,81,85],"wrap":[2,11,15,20,26,33,75,81,85]}} \ No newline at end of file diff --git a/alsatimer/method.DeviceId.get_card_id.html b/alsatimer/method.DeviceId.get_card_id.html index bd48d09..ab73fd6 100644 --- a/alsatimer/method.DeviceId.get_card_id.html +++ b/alsatimer/method.DeviceId.get_card_id.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

diff --git a/alsatimer/method.DeviceId.get_class.html b/alsatimer/method.DeviceId.get_class.html index 3ae8182..c065b0f 100644 --- a/alsatimer/method.DeviceId.get_class.html +++ b/alsatimer/method.DeviceId.get_class.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

diff --git a/alsatimer/method.DeviceId.get_device_id.html b/alsatimer/method.DeviceId.get_device_id.html index f19a932..f94d7fb 100644 --- a/alsatimer/method.DeviceId.get_device_id.html +++ b/alsatimer/method.DeviceId.get_device_id.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

diff --git a/alsatimer/method.DeviceId.get_subdevice_id.html b/alsatimer/method.DeviceId.get_subdevice_id.html index 36aacff..c323a57 100644 --- a/alsatimer/method.DeviceId.get_subdevice_id.html +++ b/alsatimer/method.DeviceId.get_subdevice_id.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

diff --git a/alsatimer/method.InstanceParams.get_event_filter.html b/alsatimer/method.InstanceParams.get_event_filter.html index faad1fc..076d29c 100644 --- a/alsatimer/method.InstanceParams.get_event_filter.html +++ b/alsatimer/method.InstanceParams.get_event_filter.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -113,10 +113,10 @@

-
void
+        
gboolean
 alsatimer_instance_params_get_event_filter (
   ALSATimerInstanceParams* self,
-  ALSATimerEventType** entries,
+  ALSATimerRealTimeEventType** entries,
   gsize* entry_count,
   GError** error
 )
@@ -130,13 +130,13 @@ 

Description - [src] + [src]

-

Get the list of ALSATimerEventType to filter events. This parameter is effective only for target -instance with ALSATimerEventDataType.

+

Get the list of ALSATimerRealTimeEventType to filter events. This parameter is effective only for +target instance with ALSATimerEventType.REAL_TIME.

@@ -165,11 +165,12 @@

entries - An array of ALSATimerEventType* + An array of ALSATimerRealTimeEventType*   -

The array with elements for entries of ALSATimerEventType.

+

The array with elements for entries of + ALSATimerRealTimeEventType.

 The argument will be set by the function. @@ -215,6 +216,32 @@

+
+

+ Return value + +

+ +
+ + + + + + + + + + + + + + + +
Returns:gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.

+
+
+ diff --git a/alsatimer/method.InstanceParams.set_event_filter.html b/alsatimer/method.InstanceParams.set_event_filter.html index c816618..a79b6ac 100644 --- a/alsatimer/method.InstanceParams.set_event_filter.html +++ b/alsatimer/method.InstanceParams.set_event_filter.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -113,10 +113,10 @@

-
void
+        
gboolean
 alsatimer_instance_params_set_event_filter (
   ALSATimerInstanceParams* self,
-  const ALSATimerEventType* entries,
+  const ALSATimerRealTimeEventType* entries,
   gsize entry_count,
   GError** error
 )
@@ -130,13 +130,13 @@ 

Description - [src] + [src]

-

Set the list of ALSATimerEventType to filter events. This parameter is effective only for target -instance with ALSATimerEventDataType.

+

Set the list of ALSATimerRealTimeEventType to filter events. This parameter is effective only for +target instance with ALSATimerEventType.TIMESTAMP.

@@ -165,11 +165,12 @@

entries - An array of ALSATimerEventType + An array of ALSATimerRealTimeEventType   -

The array with elements for entries of ALSATimerEventType.

+

The array with elements for entries of + ALSATimerRealTimeEventType.

@@ -215,6 +216,32 @@

+
+

+ Return value + +

+ +
+ + + + + + + + + + + + + + + +
Returns:gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.

+
+
+ diff --git a/alsatimer/method.InstanceStatus.get_tstamp.html b/alsatimer/method.InstanceStatus.get_time.html similarity index 84% rename from alsatimer/method.InstanceStatus.get_tstamp.html rename to alsatimer/method.InstanceStatus.get_time.html index ecf2b20..2b7f6ce 100644 --- a/alsatimer/method.InstanceStatus.get_tstamp.html +++ b/alsatimer/method.InstanceStatus.get_time.html @@ -13,7 +13,7 @@ - ALSATimer.InstanceStatus.get_tstamp + ALSATimer.InstanceStatus.get_time @@ -24,10 +24,10 @@ - - - - + + + + @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -84,7 +84,7 @@
Type
Methods
@@ -97,7 +97,7 @@
Methods

Method

-

ALSATimerInstanceStatusget_tstamp

+

ALSATimerInstanceStatusget_time

@@ -112,9 +112,9 @@

void
-alsatimer_instance_status_get_tstamp (
+alsatimer_instance_status_get_time (
   ALSATimerInstanceStatus* self,
-  const gint64** tstamp
+  const gint64** real_time
 )
 
@@ -126,12 +126,12 @@

Description - [src] + [src]

-

Get timestamp for the latest event.

+

Get real time at which the timer starts, stops, pauses, and continues.

@@ -159,13 +159,13 @@

- + - + diff --git a/alsatimer/method.EventDataTstamp.get_event.html b/alsatimer/method.RealTimeEvent.get_event.html similarity index 72% rename from alsatimer/method.EventDataTstamp.get_event.html rename to alsatimer/method.RealTimeEvent.get_event.html index 083f2bf..9850579 100644 --- a/alsatimer/method.EventDataTstamp.get_event.html +++ b/alsatimer/method.RealTimeEvent.get_event.html @@ -13,7 +13,7 @@ - ALSATimer.EventDataTstamp.get_event + ALSATimer.RealTimeEvent.get_event @@ -24,10 +24,10 @@ - - - - + + + + @@ -70,25 +70,25 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -101,7 +101,7 @@
Methods

Method

-

ALSATimerEventDataTstampget_event

+

ALSATimerRealTimeEventget_event

@@ -110,15 +110,15 @@

Declaration - [src] + [src]

void
-alsatimer_event_data_tstamp_get_event (
-  const ALSATimerEventDataTstamp* self,
-  ALSATimerEventType* event
+alsatimer_real_time_event_get_event (
+  const ALSATimerRealTimeEvent* self,
+  ALSATimerRealTimeEventType* event
 )
 
@@ -130,12 +130,12 @@

Description - [src] + [src]

-

Get the kind of event for the timestamp event.

+

Get the kind of event for the real time event.

@@ -164,11 +164,11 @@

- + - + diff --git a/alsatimer/method.EventDataTstamp.get_tstamp.html b/alsatimer/method.RealTimeEvent.get_time.html similarity index 76% rename from alsatimer/method.EventDataTstamp.get_tstamp.html rename to alsatimer/method.RealTimeEvent.get_time.html index 4508640..9963ee6 100644 --- a/alsatimer/method.EventDataTstamp.get_tstamp.html +++ b/alsatimer/method.RealTimeEvent.get_time.html @@ -13,7 +13,7 @@ - ALSATimer.EventDataTstamp.get_tstamp + ALSATimer.RealTimeEvent.get_time @@ -24,10 +24,10 @@ - - - - + + + + @@ -70,25 +70,25 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -101,7 +101,7 @@
Methods

Method

-

ALSATimerEventDataTstampget_tstamp

+

ALSATimerRealTimeEventget_time

@@ -110,15 +110,15 @@

Declaration - [src] + [src]

void
-alsatimer_event_data_tstamp_get_tstamp (
-  const ALSATimerEventDataTstamp* self,
-  gint64* const* tstamp
+alsatimer_real_time_event_get_time (
+  const ALSATimerRealTimeEvent* self,
+  gint64* const* real_time
 )
 
@@ -130,12 +130,12 @@

Description - [src] + [src]

-

Get the seconds and nanoseconds part for the timestamp event.

+

Get the seconds and nanoseconds part for the real time event.

@@ -163,13 +163,13 @@

tstampreal_time An array of gint64*
 

The array with two elements for the seconds - and nanoseconds parts of timestamp when the instance queues the latest event.

The array with two elements for the + seconds and nanoseconds parts of timestamp when the instance queues the latest event.

 The argument will be set by the function.
eventALSATimerEventTypeALSATimerRealTimeEventType
 

The type of tstamp event, one of ALSATimerEventType.

The type of real time event, one of ALSATimerRealTimeEventType.

 The argument will be set by the function.
- + + nanoseconds part of timestamp when the real time event occurs.

diff --git a/alsatimer/method.EventDataTstamp.get_val.html b/alsatimer/method.RealTimeEvent.get_val.html similarity index 78% rename from alsatimer/method.EventDataTstamp.get_val.html rename to alsatimer/method.RealTimeEvent.get_val.html index 689f258..0909cc4 100644 --- a/alsatimer/method.EventDataTstamp.get_val.html +++ b/alsatimer/method.RealTimeEvent.get_val.html @@ -13,7 +13,7 @@ - ALSATimer.EventDataTstamp.get_val + ALSATimer.RealTimeEvent.get_val @@ -24,10 +24,10 @@ - - - - + + + + @@ -70,25 +70,25 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -101,7 +101,7 @@
Methods

Method

-

ALSATimerEventDataTstampget_val

+

ALSATimerRealTimeEventget_val

@@ -110,14 +110,14 @@

Declaration - [src] + [src]

void
-alsatimer_event_data_tstamp_get_val (
-  const ALSATimerEventDataTstamp* self,
+alsatimer_real_time_event_get_val (
+  const ALSATimerRealTimeEvent* self,
   guint* val
 )
 
@@ -130,12 +130,12 @@

Description - [src] + [src]

-

Get the value depending on the type of timestamp event.

+

Get the value depending on the type of real time event.

diff --git a/alsatimer/method.EventDataTick.get_ticks.html b/alsatimer/method.TickTimeEvent.get_count.html similarity index 82% rename from alsatimer/method.EventDataTick.get_ticks.html rename to alsatimer/method.TickTimeEvent.get_count.html index 63785b7..15f6d03 100644 --- a/alsatimer/method.EventDataTick.get_ticks.html +++ b/alsatimer/method.TickTimeEvent.get_count.html @@ -13,7 +13,7 @@ - ALSATimer.EventDataTick.get_ticks + ALSATimer.TickTimeEvent.get_count @@ -24,10 +24,10 @@ - - - - + + + + @@ -70,23 +70,23 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -99,7 +99,7 @@
Methods

Method

-

ALSATimerEventDataTickget_ticks

+

ALSATimerTickTimeEventget_count

@@ -108,15 +108,15 @@

Declaration - [src] + [src]

void
-alsatimer_event_data_tick_get_ticks (
-  const ALSATimerEventDataTick* self,
-  guint* ticks
+alsatimer_tick_time_event_get_count (
+  const ALSATimerTickTimeEvent* self,
+  guint* count
 )
 
@@ -128,7 +128,7 @@

Description - [src] + [src]

@@ -161,7 +161,7 @@

tstampreal_time An array of gint64*
 

The array with two elements for the seconds and - nanoseconds part of timestamp when the instance queues the timestamp event.

 The argument will be modified by the function.
- + diff --git a/alsatimer/method.EventDataTick.get_resolution.html b/alsatimer/method.TickTimeEvent.get_resolution.html similarity index 85% rename from alsatimer/method.EventDataTick.get_resolution.html rename to alsatimer/method.TickTimeEvent.get_resolution.html index 08b52c3..ce56417 100644 --- a/alsatimer/method.EventDataTick.get_resolution.html +++ b/alsatimer/method.TickTimeEvent.get_resolution.html @@ -13,7 +13,7 @@ - ALSATimer.EventDataTick.get_resolution + ALSATimer.TickTimeEvent.get_resolution @@ -24,10 +24,10 @@ - - - - + + + + @@ -70,23 +70,23 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -99,7 +99,7 @@
Methods

Method

-

ALSATimerEventDataTickget_resolution

+

ALSATimerTickTimeEventget_resolution

@@ -108,14 +108,14 @@

Declaration - [src] + [src]

void
-alsatimer_event_data_tick_get_resolution (
-  const ALSATimerEventDataTick* self,
+alsatimer_tick_time_event_get_resolution (
+  const ALSATimerTickTimeEvent* self,
   guint* resolution
 )
 
@@ -128,7 +128,7 @@

Description - [src] + [src]

diff --git a/alsatimer/method.UserInstance.attach.html b/alsatimer/method.UserInstance.attach.html index 1d228a1..8776795 100644 --- a/alsatimer/method.UserInstance.attach.html +++ b/alsatimer/method.UserInstance.attach.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -88,7 +88,7 @@
Methods
attach_as_slave - choose_event_data_type + choose_event_type continue @@ -130,12 +130,12 @@

Declaration - [src] + [src]

-
void
+        
gboolean
 alsatimer_user_instance_attach (
   ALSATimerUserInstance* self,
   ALSATimerDeviceId* device_id,
@@ -151,7 +151,7 @@ 

Description - [src] + [src]

@@ -220,6 +220,32 @@

+
+

+ Return value + +

+ +
+

tickscount guint*
+ + + + + + + + + + + + + + +
Returns:gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.

+

+
+

diff --git a/alsatimer/method.UserInstance.attach_as_slave.html b/alsatimer/method.UserInstance.attach_as_slave.html index c766daa..39ea254 100644 --- a/alsatimer/method.UserInstance.attach_as_slave.html +++ b/alsatimer/method.UserInstance.attach_as_slave.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -88,7 +88,7 @@
Methods
attach_as_slave - choose_event_data_type + choose_event_type continue @@ -130,12 +130,12 @@

Declaration - [src] + [src]

-
void
+        
gboolean
 alsatimer_user_instance_attach_as_slave (
   ALSATimerUserInstance* self,
   ALSATimerSlaveClass slave_class,
@@ -152,7 +152,7 @@ 

Description - [src] + [src]

@@ -241,6 +241,32 @@

+
+

+ Return value + +

+ +
+ + + + + + + + + + + + + + + +
Returns:gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.

+
+
+ diff --git a/alsatimer/method.UserInstance.choose_event_data_type.html b/alsatimer/method.UserInstance.choose_event_type.html similarity index 71% rename from alsatimer/method.UserInstance.choose_event_data_type.html rename to alsatimer/method.UserInstance.choose_event_type.html index cd7bd87..5555f14 100644 --- a/alsatimer/method.UserInstance.choose_event_data_type.html +++ b/alsatimer/method.UserInstance.choose_event_type.html @@ -13,7 +13,7 @@ - ALSATimer.UserInstance.choose_event_data_type + ALSATimer.UserInstance.choose_event_type @@ -24,10 +24,10 @@ - - - - + + + + @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -88,7 +88,7 @@
Methods
attach_as_slave - choose_event_data_type + choose_event_type continue @@ -121,7 +121,7 @@
Methods

Method

-

ALSATimerUserInstancechoose_event_data_type

+

ALSATimerUserInstancechoose_event_type

@@ -130,15 +130,15 @@

Declaration - [src] + [src]

-
void
-alsatimer_user_instance_choose_event_data_type (
+        
gboolean
+alsatimer_user_instance_choose_event_type (
   ALSATimerUserInstance* self,
-  ALSATimerEventDataType event_data_type,
+  ALSATimerEventType event_type,
   GError** error
 )
 
@@ -151,15 +151,17 @@

Description - [src] + [src]

Choose the type of event data to receive.

-

The call of function is successful just before the instance is not attached yet. -ALSATimerEventDataType is used as a default if the function is not called for -ALSATimerEventDataType explicitly.

+

The call of function is successful just before call of alsatimer_user_instance_attach(). +ALSATimerEventType.TICK_TIME is used as a default if the function is not called for +ALSATimerEventType.REAL_TIME explicitly. When the former is configured, event for tick time is +available for ALSATimerUserInstance::handle-tick-time-event. When the latter is configured, +event for real time is available for ALSATimerUserInstance::handle-real-time-event.

The call of function executes ioctl(2) system call with SNDRV_TIMER_IOCTL_TREAD command for ALSA timer character device.

@@ -189,12 +191,12 @@

- - + + - + @@ -222,6 +224,32 @@

+
+

+ Return value + +

+ +
+

event_data_typeALSATimerEventDataTypeevent_typeALSATimerEventType
 

The type of event data, one of ALSATimerEventDataType.

The type of event data, one of ALSATimerEventType.

+ + + + + + + + + + + + + + +
Returns:gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.

+

+
+
diff --git a/alsatimer/method.UserInstance.continue.html b/alsatimer/method.UserInstance.continue.html index 7c8bb22..25de512 100644 --- a/alsatimer/method.UserInstance.continue.html +++ b/alsatimer/method.UserInstance.continue.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -88,7 +88,7 @@
Methods
attach_as_slave - choose_event_data_type + choose_event_type continue @@ -130,12 +130,12 @@

Declaration - [src] + [src]

-
void
+        
gboolean
 alsatimer_user_instance_continue (
   ALSATimerUserInstance* self
   GError** error
@@ -150,7 +150,7 @@ 

Description - [src] + [src]

@@ -177,6 +177,32 @@

+
+

+ Return value + +

+ +
+ + + + + + + + + + + + + + + +
Returns:gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.

+
+
+ diff --git a/alsatimer/method.UserInstance.create_source.html b/alsatimer/method.UserInstance.create_source.html index ae5f0e5..b40db5a 100644 --- a/alsatimer/method.UserInstance.create_source.html +++ b/alsatimer/method.UserInstance.create_source.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -88,7 +88,7 @@
Methods
attach_as_slave - choose_event_data_type + choose_event_type continue @@ -130,12 +130,12 @@

Declaration - [src] + [src]

-
void
+        
gboolean
 alsatimer_user_instance_create_source (
   ALSATimerUserInstance* self,
   GSource** gsrc,
@@ -151,14 +151,15 @@ 

Description - [src] + [src]

Allocate GSource structure to handle events from ALSA timer character device. In each iteration of GMainContext, the read(2) system call is executed to dispatch -timer event for ALSATimerUserInstance::handle-event signal, according to the result of poll(2) +timer event for either ALSATimerUserInstance::handle-tick-time-event or +ALSATimerUserInstance::handle-real-time-event signals, according to the result of poll(2) system call.

@@ -220,6 +221,32 @@

+
+

+ Return value + +

+ +
+ + + + + + + + + + + + + + + +
Returns:gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.

+
+
+ diff --git a/alsatimer/method.UserInstance.get_info.html b/alsatimer/method.UserInstance.get_info.html index 7c62937..e988d82 100644 --- a/alsatimer/method.UserInstance.get_info.html +++ b/alsatimer/method.UserInstance.get_info.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -88,7 +88,7 @@
Methods
attach_as_slave - choose_event_data_type + choose_event_type continue @@ -130,12 +130,12 @@

Declaration - [src] + [src]

-
void
+        
gboolean
 alsatimer_user_instance_get_info (
   ALSATimerUserInstance* self,
   ALSATimerInstanceInfo** instance_info,
@@ -151,7 +151,7 @@ 

Description - [src] + [src]

@@ -219,6 +219,32 @@

+
+

+ Return value + +

+ +
+ + + + + + + + + + + + + + + +
Returns:gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.

+
+
+ diff --git a/alsatimer/method.UserInstance.get_protocol_version.html b/alsatimer/method.UserInstance.get_protocol_version.html index 3eab082..0bc5fe8 100644 --- a/alsatimer/method.UserInstance.get_protocol_version.html +++ b/alsatimer/method.UserInstance.get_protocol_version.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -88,7 +88,7 @@
Methods
attach_as_slave - choose_event_data_type + choose_event_type continue @@ -130,12 +130,12 @@

Declaration - [src] + [src]

-
void
+        
gboolean
 alsatimer_user_instance_get_protocol_version (
   ALSATimerUserInstance* self,
   const guint16** proto_ver_triplet,
@@ -151,12 +151,12 @@ 

Description - [src] + [src]

-

Get the version of timer protocol currently used. The version is represented as the array with +

Get the version of timer protocol currently used. The version is expressed as the array with three elements; major, minor, and micro version in the order. The length of major version is 16 bit, the length of minor and micro version is 8 bit each.

@@ -219,6 +219,32 @@

+
+

+ Return value + +

+ +
+ + + + + + + + + + + + + + + +
Returns:gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.

+
+
+ diff --git a/alsatimer/method.UserInstance.get_status.html b/alsatimer/method.UserInstance.get_status.html index 6f9afdb..874ce27 100644 --- a/alsatimer/method.UserInstance.get_status.html +++ b/alsatimer/method.UserInstance.get_status.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -88,7 +88,7 @@
Methods
attach_as_slave - choose_event_data_type + choose_event_type continue @@ -130,12 +130,12 @@

Declaration - [src] + [src]

-
void
+        
gboolean
 alsatimer_user_instance_get_status (
   ALSATimerUserInstance* self,
   ALSATimerInstanceStatus* const* instance_status,
@@ -151,7 +151,7 @@ 

Description - [src] + [src]

@@ -219,6 +219,32 @@

+
+

+ Return value + +

+ +
+ + + + + + + + + + + + + + + +
Returns:gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.

+
+
+ diff --git a/alsatimer/method.UserInstance.open.html b/alsatimer/method.UserInstance.open.html index e2ceca8..35f1ea7 100644 --- a/alsatimer/method.UserInstance.open.html +++ b/alsatimer/method.UserInstance.open.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -88,7 +88,7 @@
Methods
attach_as_slave - choose_event_data_type + choose_event_type continue @@ -130,12 +130,12 @@

Declaration - [src] + [src]

-
void
+        
gboolean
 alsatimer_user_instance_open (
   ALSATimerUserInstance* self,
   gint open_flag,
@@ -151,7 +151,7 @@ 

Description - [src] + [src]

@@ -218,6 +218,32 @@

+
+

+ Return value + +

+ +
+ + + + + + + + + + + + + + + +
Returns:gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.

+
+
+ diff --git a/alsatimer/method.UserInstance.pause.html b/alsatimer/method.UserInstance.pause.html index 83cbf68..ffdfafd 100644 --- a/alsatimer/method.UserInstance.pause.html +++ b/alsatimer/method.UserInstance.pause.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -88,7 +88,7 @@
Methods
attach_as_slave - choose_event_data_type + choose_event_type continue @@ -130,12 +130,12 @@

Declaration - [src] + [src]

-
void
+        
gboolean
 alsatimer_user_instance_pause (
   ALSATimerUserInstance* self
   GError** error
@@ -150,7 +150,7 @@ 

Description - [src] + [src]

@@ -177,6 +177,32 @@

+
+

+ Return value + +

+ +
+ + + + + + + + + + + + + + + +
Returns:gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.

+
+
+ diff --git a/alsatimer/method.UserInstance.set_params.html b/alsatimer/method.UserInstance.set_params.html index 1c47386..5d02c9d 100644 --- a/alsatimer/method.UserInstance.set_params.html +++ b/alsatimer/method.UserInstance.set_params.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -88,7 +88,7 @@
Methods
attach_as_slave - choose_event_data_type + choose_event_type continue @@ -130,12 +130,12 @@

Declaration - [src] + [src]

-
void
+        
gboolean
 alsatimer_user_instance_set_params (
   ALSATimerUserInstance* self,
   ALSATimerInstanceParams* const* instance_params,
@@ -151,7 +151,7 @@ 

Description - [src] + [src]

@@ -219,6 +219,32 @@

+
+

+ Return value + +

+ +
+ + + + + + + + + + + + + + + +
Returns:gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.

+
+
+ diff --git a/alsatimer/method.UserInstance.start.html b/alsatimer/method.UserInstance.start.html index d609cda..8ee277b 100644 --- a/alsatimer/method.UserInstance.start.html +++ b/alsatimer/method.UserInstance.start.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -88,7 +88,7 @@
Methods
attach_as_slave - choose_event_data_type + choose_event_type continue @@ -130,12 +130,12 @@

Declaration - [src] + [src]

-
void
+        
gboolean
 alsatimer_user_instance_start (
   ALSATimerUserInstance* self
   GError** error
@@ -150,7 +150,7 @@ 

Description - [src] + [src]

@@ -177,6 +177,32 @@

+
+

+ Return value + +

+ +
+ + + + + + + + + + + + + + + +
Returns:gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.

+
+
+ diff --git a/alsatimer/method.UserInstance.stop.html b/alsatimer/method.UserInstance.stop.html index 0a7c7a1..4bc1ff8 100644 --- a/alsatimer/method.UserInstance.stop.html +++ b/alsatimer/method.UserInstance.stop.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -88,7 +88,7 @@
Methods
attach_as_slave - choose_event_data_type + choose_event_type continue @@ -130,12 +130,12 @@

Declaration - [src] + [src]

-
void
+        
gboolean
 alsatimer_user_instance_stop (
   ALSATimerUserInstance* self
   GError** error
@@ -150,7 +150,7 @@ 

Description - [src] + [src]

@@ -177,6 +177,32 @@

+
+

+ Return value + +

+ +
+ + + + + + + + + + + + + + + +
Returns:gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.

+
+
+ diff --git a/alsatimer/overview.html b/alsatimer/overview.html index e909304..aa89518 100644 --- a/alsatimer/overview.html +++ b/alsatimer/overview.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -84,7 +84,7 @@

ALSATimer

This library is designed for applications to manipulate ALSA timer character device and operate -timer functionality abstracted as timer device and user instance. ALSATimerUserInstance represents +timer functionality abstracted as timer device and user instance. ALSATimerUserInstance expresss the user instance. It holds file descriptor and creates GSource for event dispatching by GLib’s GMainContext/GMainLoop.

diff --git a/alsatimer/property.DeviceInfo.card-id.html b/alsatimer/property.DeviceInfo.card-id.html index 0bd8725..828b09d 100644 --- a/alsatimer/property.DeviceInfo.card-id.html +++ b/alsatimer/property.DeviceInfo.card-id.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -131,10 +131,12 @@

Description + [src] +

- No description available. +

The numeric ID of sound card.

diff --git a/alsatimer/property.DeviceInfo.flags.html b/alsatimer/property.DeviceInfo.flags.html index 31a2ccf..350fc97 100644 --- a/alsatimer/property.DeviceInfo.flags.html +++ b/alsatimer/property.DeviceInfo.flags.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -131,10 +131,12 @@

Description + [src] +

- No description available. +

The flags of timer, one of ALSATimerDeviceInfoFlag.

diff --git a/alsatimer/property.DeviceInfo.id.html b/alsatimer/property.DeviceInfo.id.html index 0d2d902..ab14c56 100644 --- a/alsatimer/property.DeviceInfo.id.html +++ b/alsatimer/property.DeviceInfo.id.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -131,10 +131,12 @@

Description + [src] +

- No description available. +

The string ID of timer.

diff --git a/alsatimer/property.DeviceInfo.instance-count.html b/alsatimer/property.DeviceInfo.instance-count.html index f7ec4ca..7953ee8 100644 --- a/alsatimer/property.DeviceInfo.instance-count.html +++ b/alsatimer/property.DeviceInfo.instance-count.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -131,10 +131,12 @@

Description + [src] +

- No description available. +

The number of instances for the timer.

diff --git a/alsatimer/property.DeviceInfo.name.html b/alsatimer/property.DeviceInfo.name.html index b691158..5a75916 100644 --- a/alsatimer/property.DeviceInfo.name.html +++ b/alsatimer/property.DeviceInfo.name.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -131,10 +131,12 @@

Description + [src] +

- No description available. +

The name of timer.

diff --git a/alsatimer/property.DeviceInfo.resolution-max.html b/alsatimer/property.DeviceInfo.resolution-max.html index 8286e9f..e3c1aa4 100644 --- a/alsatimer/property.DeviceInfo.resolution-max.html +++ b/alsatimer/property.DeviceInfo.resolution-max.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -131,10 +131,12 @@

Description + [src] +

- No description available. +

The maximum resolution in nano seconds.

diff --git a/alsatimer/property.DeviceInfo.resolution-min.html b/alsatimer/property.DeviceInfo.resolution-min.html index ffbc45e..d790f7a 100644 --- a/alsatimer/property.DeviceInfo.resolution-min.html +++ b/alsatimer/property.DeviceInfo.resolution-min.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -131,10 +131,12 @@

Description + [src] +

- No description available. +

The minimum resolution in nano seconds.

diff --git a/alsatimer/property.DeviceInfo.resolution.html b/alsatimer/property.DeviceInfo.resolution.html index 9072f76..b16c69e 100644 --- a/alsatimer/property.DeviceInfo.resolution.html +++ b/alsatimer/property.DeviceInfo.resolution.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -131,10 +131,12 @@

Description + [src] +

- No description available. +

The resolution in nano seconds.

diff --git a/alsatimer/property.DeviceParams.period-denominator.html b/alsatimer/property.DeviceParams.period-denominator.html index c4d1a3f..9eead1e 100644 --- a/alsatimer/property.DeviceParams.period-denominator.html +++ b/alsatimer/property.DeviceParams.period-denominator.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -119,10 +119,12 @@

Description + [src] +

- No description available. +

The denominator of period for timer.

diff --git a/alsatimer/property.DeviceParams.period-numerator.html b/alsatimer/property.DeviceParams.period-numerator.html index 76a0ea0..b08b43a 100644 --- a/alsatimer/property.DeviceParams.period-numerator.html +++ b/alsatimer/property.DeviceParams.period-numerator.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -119,10 +119,12 @@

Description + [src] +

- No description available. +

The numerator of period for timer.

diff --git a/alsatimer/property.DeviceStatus.resolution-denominator.html b/alsatimer/property.DeviceStatus.resolution-denominator.html index 8b91e71..fc391a9 100644 --- a/alsatimer/property.DeviceStatus.resolution-denominator.html +++ b/alsatimer/property.DeviceStatus.resolution-denominator.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -121,10 +121,12 @@

Description + [src] +

- No description available. +

The denominator of current resolution in seconds.

diff --git a/alsatimer/property.DeviceStatus.resolution-numerator.html b/alsatimer/property.DeviceStatus.resolution-numerator.html index ee4065e..77183c3 100644 --- a/alsatimer/property.DeviceStatus.resolution-numerator.html +++ b/alsatimer/property.DeviceStatus.resolution-numerator.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -121,10 +121,12 @@

Description + [src] +

- No description available. +

The numerator of current resolution in seconds.

diff --git a/alsatimer/property.DeviceStatus.resolution.html b/alsatimer/property.DeviceStatus.resolution.html index 6d9aa0b..6e4357a 100644 --- a/alsatimer/property.DeviceStatus.resolution.html +++ b/alsatimer/property.DeviceStatus.resolution.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -121,10 +121,12 @@

Description + [src] +

- No description available. +

The current resolution in nano seconds.

diff --git a/alsatimer/property.InstanceInfo.card-id.html b/alsatimer/property.InstanceInfo.card-id.html index 88b01f2..cbe36ab 100644 --- a/alsatimer/property.InstanceInfo.card-id.html +++ b/alsatimer/property.InstanceInfo.card-id.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -125,10 +125,12 @@

Description + [src] +

- No description available. +

The numeric ID of sound card for attached timer.

diff --git a/alsatimer/property.InstanceInfo.flags.html b/alsatimer/property.InstanceInfo.flags.html index 4881ea7..8a6a8bc 100644 --- a/alsatimer/property.InstanceInfo.flags.html +++ b/alsatimer/property.InstanceInfo.flags.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -125,10 +125,12 @@

Description + [src] +

- No description available. +

The flags for attached timer.

diff --git a/alsatimer/property.InstanceInfo.id.html b/alsatimer/property.InstanceInfo.id.html index 28c06e3..850e7fa 100644 --- a/alsatimer/property.InstanceInfo.id.html +++ b/alsatimer/property.InstanceInfo.id.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -125,10 +125,12 @@

Description + [src] +

- No description available. +

The string ID of attached timer.

diff --git a/alsatimer/property.InstanceInfo.name.html b/alsatimer/property.InstanceInfo.name.html index aef1905..dc16ac9 100644 --- a/alsatimer/property.InstanceInfo.name.html +++ b/alsatimer/property.InstanceInfo.name.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -125,10 +125,12 @@

Description + [src] +

- No description available. +

The name of attached timer.

diff --git a/alsatimer/property.InstanceInfo.resolution.html b/alsatimer/property.InstanceInfo.resolution.html index 6e8ab2b..408ec45 100644 --- a/alsatimer/property.InstanceInfo.resolution.html +++ b/alsatimer/property.InstanceInfo.resolution.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -125,10 +125,12 @@

Description + [src] +

- No description available. +

The resolution of attached timer in nano seconds.

diff --git a/alsatimer/property.InstanceParams.flags.html b/alsatimer/property.InstanceParams.flags.html index 9834e49..9090b46 100644 --- a/alsatimer/property.InstanceParams.flags.html +++ b/alsatimer/property.InstanceParams.flags.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -121,10 +121,12 @@

Description + [src] +

- No description available. +

The flags for user instance, as a set of ALSATimerInstanceParamFlag.

diff --git a/alsatimer/property.InstanceParams.interval.html b/alsatimer/property.InstanceParams.interval.html index 985dbc5..374daf6 100644 --- a/alsatimer/property.InstanceParams.interval.html +++ b/alsatimer/property.InstanceParams.interval.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -121,10 +121,12 @@

Description + [src] +

- No description available. +

The interval to generate event in tick count.

diff --git a/alsatimer/property.InstanceParams.queue-size.html b/alsatimer/property.InstanceParams.queue-size.html index 4ebdd53..71b1ed3 100644 --- a/alsatimer/property.InstanceParams.queue-size.html +++ b/alsatimer/property.InstanceParams.queue-size.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -121,10 +121,12 @@

Description + [src] +

- No description available. +

The size of queue.

diff --git a/alsatimer/property.InstanceStatus.interval.html b/alsatimer/property.InstanceStatus.interval.html index 85dbc5f..ae23435 100644 --- a/alsatimer/property.InstanceStatus.interval.html +++ b/alsatimer/property.InstanceStatus.interval.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -123,10 +123,12 @@

Description + [src] +

- No description available. +

The current interval in nano second.

diff --git a/alsatimer/property.InstanceStatus.lost.html b/alsatimer/property.InstanceStatus.lost.html index 4675344..2e751c7 100644 --- a/alsatimer/property.InstanceStatus.lost.html +++ b/alsatimer/property.InstanceStatus.lost.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -123,10 +123,12 @@

Description + [src] +

- No description available. +

The count of losts master ticks.

diff --git a/alsatimer/property.InstanceStatus.overrun.html b/alsatimer/property.InstanceStatus.overrun.html index ab7aa7c..9489fb7 100644 --- a/alsatimer/property.InstanceStatus.overrun.html +++ b/alsatimer/property.InstanceStatus.overrun.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -123,10 +123,12 @@

Description + [src] +

- No description available. +

The count of overrun in read queue.

diff --git a/alsatimer/property.InstanceStatus.queue-size.html b/alsatimer/property.InstanceStatus.queue-size.html index 044cca1..aae34d2 100644 --- a/alsatimer/property.InstanceStatus.queue-size.html +++ b/alsatimer/property.InstanceStatus.queue-size.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -123,10 +123,12 @@

Description + [src] +

- No description available. +

The current size of queue.

diff --git a/alsatimer/signal.UserInstance.handle-disconnection.html b/alsatimer/signal.UserInstance.handle-disconnection.html index 68c6aa7..11267eb 100644 --- a/alsatimer/signal.UserInstance.handle-disconnection.html +++ b/alsatimer/signal.UserInstance.handle-disconnection.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -86,7 +86,9 @@
Signals
handle-disconnection - handle-event + handle-real-time-event + + handle-tick-time-event
@@ -125,7 +127,7 @@

Description - [src] + [src]

diff --git a/alsatimer/method.Event.get_tstamp_data.html b/alsatimer/signal.UserInstance.handle-real-time-event.html similarity index 58% rename from alsatimer/method.Event.get_tstamp_data.html rename to alsatimer/signal.UserInstance.handle-real-time-event.html index 0345c10..04e12a3 100644 --- a/alsatimer/method.Event.get_tstamp_data.html +++ b/alsatimer/signal.UserInstance.handle-real-time-event.html @@ -13,7 +13,7 @@ - ALSATimer.Event.get_tstamp_data + ALSATimer.UserInstance::handle-real-time-event @@ -24,10 +24,10 @@ - - - - + + + + @@ -70,23 +70,25 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

Type
@@ -98,25 +100,23 @@
Methods
-

Method

-

ALSATimerEventget_tstamp_data

+

Signal

+

ALSATimerUserInstance::handle-real-time-event

-

+

Declaration - - - [src] - +

-
+
void
-alsatimer_event_get_tstamp_data (
-  ALSATimerEvent* self,
-  const ALSATimerEventDataTstamp** tstamp
+handle_real_time_event (
+  ALSATimerUserInstance* self,
+  const ALSATimerRealTimeEvent* event,
+  gpointer user_data
 )
 
@@ -124,20 +124,22 @@

-

+

Description - + - [src] + [src]

-

Refer to the instance of ALSATimerEventDataTstamp.

+

Emitted when event occurs to notify real time.

+ + @@ -161,14 +163,14 @@

Default handler:

The default handler is called after the handlers added via g_signal_connect().

- - + + - + - + diff --git a/alsatimer/signal.UserInstance.handle-event.html b/alsatimer/signal.UserInstance.handle-tick-time-event.html similarity index 78% rename from alsatimer/signal.UserInstance.handle-event.html rename to alsatimer/signal.UserInstance.handle-tick-time-event.html index dafe79e..1cd9961 100644 --- a/alsatimer/signal.UserInstance.handle-event.html +++ b/alsatimer/signal.UserInstance.handle-tick-time-event.html @@ -13,7 +13,7 @@ - ALSATimer.UserInstance::handle-event + ALSATimer.UserInstance::handle-tick-time-event @@ -24,10 +24,10 @@ - - - - + + + + @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -86,7 +86,9 @@
Signals
handle-disconnection - handle-event + handle-real-time-event + + handle-tick-time-event @@ -99,7 +101,7 @@
Signals

Signal

-

ALSATimerUserInstance::handle-event

+

ALSATimerUserInstance::handle-tick-time-event

@@ -111,9 +113,9 @@

void
-handle_event (
+handle_tick_time_event (
   ALSATimerUserInstance* self,
-  ALSATimerEvent* event,
+  const ALSATimerTickTimeEvent* event,
   gpointer user_data
 )
 
@@ -126,12 +128,12 @@

Description - [src] + [src]

-

Emitted when event occurs.

+

Emitted when event occurs to notify tick time.

@@ -162,11 +164,11 @@

- + - + diff --git a/alsatimer/struct.DeviceId.html b/alsatimer/struct.DeviceId.html index 0210c7a..b6c3ee5 100644 --- a/alsatimer/struct.DeviceId.html +++ b/alsatimer/struct.DeviceId.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -141,8 +141,8 @@

-

A boxed object to represent the identifier of timer device. -A ALSATimerDeviceId is a boxed object to represent the identifier of timer device. The +

A boxed object to express the identifier of timer device. +A ALSATimerDeviceId is a boxed object to express the identifier of timer device. The identifier mainly consists of the class of timer device. The other members; the numeric ID of card, device, and subdevice are optional according to the class of timer device.

The object wraps struct snd_timer_id in UAPI of Linux sound subsystem.

diff --git a/alsatimer/struct.EventDataTstamp.html b/alsatimer/struct.RealTimeEvent.html similarity index 72% rename from alsatimer/struct.EventDataTstamp.html rename to alsatimer/struct.RealTimeEvent.html index 9e1cff5..1b1dceb 100644 --- a/alsatimer/struct.EventDataTstamp.html +++ b/alsatimer/struct.RealTimeEvent.html @@ -13,7 +13,7 @@ - ALSATimer.EventDataTstamp + ALSATimer.RealTimeEvent @@ -24,10 +24,10 @@ - - - - + + + + @@ -70,14 +70,14 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -90,11 +90,11 @@

Type
Instance methods
@@ -109,7 +109,7 @@
Instance methods

Struct

-

ALSATimerEventDataTstamp

+

ALSATimerRealTimeEvent

@@ -119,19 +119,19 @@

Description - [src] + [src]

-
struct ALSATimerEventDataTstamp {
+        
struct ALSATimerRealTimeEvent {
   /* No available fields */
 }
 
-

A boxed object to represent event of timer with tstamp. -A ALSATimerEventDataTstamp is a boxed object to represent event of timer with tstamp.

+

A boxed object to express event of timer with real time. +A ALSATimerRealTimeEvent includes real time at which the event is queued.

The object wraps struct snd_timer_tread in UAPI of Linux sound subsystem.

@@ -163,30 +163,30 @@

-
alsatimer_event_data_tstamp_get_event
+
alsatimer_real_time_event_get_event
-

Get the kind of event for the timestamp event.

+

Get the kind of event for the real time event.

-
alsatimer_event_data_tstamp_get_tstamp
+
alsatimer_real_time_event_get_time
-

Get the seconds and nanoseconds part for the timestamp event.

+

Get the seconds and nanoseconds part for the real time event.

-
alsatimer_event_data_tstamp_get_val
+
alsatimer_real_time_event_get_val
-

Get the value depending on the type of timestamp event.

+

Get the value depending on the type of real time event.

diff --git a/alsatimer/struct.EventDataTick.html b/alsatimer/struct.TickTimeEvent.html similarity index 79% rename from alsatimer/struct.EventDataTick.html rename to alsatimer/struct.TickTimeEvent.html index 2f1f45c..29c385a 100644 --- a/alsatimer/struct.EventDataTick.html +++ b/alsatimer/struct.TickTimeEvent.html @@ -13,7 +13,7 @@ - ALSATimer.EventDataTick + ALSATimer.TickTimeEvent @@ -24,10 +24,10 @@ - - - - + + + + @@ -70,14 +70,14 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -90,9 +90,9 @@
Type
Instance methods
@@ -107,7 +107,7 @@

Instance methods

Struct

-

ALSATimerEventDataTick

+

ALSATimerTickTimeEvent

@@ -117,19 +117,19 @@

Description - [src] + [src]

-
struct ALSATimerEventDataTick {
+        
struct ALSATimerTickTimeEvent {
   /* No available fields */
 }
 
-

A boxed object to represent event of timer with tick count. -A ALSATimerEventDataTick is a boxed object to represent event of timer with tick count.

+

A boxed object to express event of timer with tick count. +A ALSATimerTickTimeEvent includes tick count at which the event is queued.

The object wraps struct snd_timer_read in UAPI of Linux sound subsystem.

@@ -161,20 +161,20 @@

-
alsatimer_event_data_tick_get_resolution
+
alsatimer_tick_time_event_get_count
-

Get the resolution of tick event.

+

Get the tick count since the last event.

-
alsatimer_event_data_tick_get_ticks
+
alsatimer_tick_time_event_get_resolution
-

Get the tick count since the last event.

+

Get the resolution of tick event.

diff --git a/alsatimer/type_func.UserInstanceError.quark.html b/alsatimer/type_func.UserInstanceError.quark.html index 064cbe7..cbecfae 100644 --- a/alsatimer/type_func.UserInstanceError.quark.html +++ b/alsatimer/type_func.UserInstanceError.quark.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

diff --git a/alsatimer/union.Event.html b/alsatimer/union.Event.html deleted file mode 100644 index ea72dd4..0000000 --- a/alsatimer/union.Event.html +++ /dev/null @@ -1,277 +0,0 @@ - - - - - - - - ALSATimer.Event - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - -
-
-

Struct

-

ALSATimerEvent

-
- -
- -
-

- Description - - - [src] - -

- -
union ALSATimerEvent {
-  ALSATimerEventDataTick tick;
-  ALSATimerEventDataTstamp tstamp;
-}
-
-
- -
-

A boxed object to represent event of timer. -A ALSATimerEvent is a boxed object to represent event of timer. The instance of object uses -single storage for two types of event data; ALSATimerEventDataTick for and -ALSATimerEventDataTstamp. Applications can decide to use one of the two by passing one of -ALSATimerEventType to the call of alsatimer_user_instance_attach().

-
- - -
-
- Structure members - -
- -
-

tstampALSATimerEventDataTstampeventALSATimerRealTimeEvent
 

The instance of ALSATimerEventDataTstamp.

The instance of ALSATimerRealTimeEvent.

 The argument will be set by the function.
eventALSATimerEventALSATimerTickTimeEvent
 

The instance of ALSATimerEvent.

The instance of ALSATimerTickTimeEvent.

- - - - - - - - - - - -
tickNo description available.
tstampNo description available.
-
-
- - -
- - - - -
-
- - -
- - - -
-

- Constructors - -

- -
- -
-
alsatimer_event_new
- -
-

Allocate and return the instance of ALSATimerEvent.

-
- - -
- -
-
- - - - - -
-

- Instance methods - -

- -
- -
-
alsatimer_event_get_tick_data
- -
-

Refer to the instance of ALSATimerEventDataTick.

-
- - -
- -
-
alsatimer_event_get_tstamp_data
- -
-

Refer to the instance of ALSATimerEventDataTstamp.

-
- - -
- -
- -
- - -
-
- - - -
- -
- - - - -
- -
-
- - \ No newline at end of file diff --git a/alsatimer/vfunc.UserInstance.handle_disconnection.html b/alsatimer/vfunc.UserInstance.handle_disconnection.html index bb1a67f..c339fa3 100644 --- a/alsatimer/vfunc.UserInstance.handle_disconnection.html +++ b/alsatimer/vfunc.UserInstance.handle_disconnection.html @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -86,7 +86,9 @@
Virtual methods
handle_disconnection - handle_event + handle_real_time_event + + handle_tick_time_event
@@ -108,7 +110,7 @@

Declaration - [src] + [src]

@@ -127,7 +129,7 @@

Description - [src] + [src]

diff --git a/alsatimer/method.Event.get_tick_data.html b/alsatimer/vfunc.UserInstance.handle_real_time_event.html similarity index 63% rename from alsatimer/method.Event.get_tick_data.html rename to alsatimer/vfunc.UserInstance.handle_real_time_event.html index 7da0c2f..f444ce6 100644 --- a/alsatimer/method.Event.get_tick_data.html +++ b/alsatimer/vfunc.UserInstance.handle_real_time_event.html @@ -13,7 +13,7 @@ - ALSATimer.Event.get_tick_data + ALSATimer.UserInstance.handle_real_time_event @@ -24,10 +24,10 @@ - - - - + + + + @@ -70,23 +70,25 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

Type
@@ -98,25 +100,25 @@
Methods
-

Method

-

ALSATimerEventget_tick_data

+

Virtual Method

+

ALSATimerUserInstancehandle_real_time_event

-

+

Declaration - + - [src] + [src]

void
-alsatimer_event_get_tick_data (
-  ALSATimerEvent* self,
-  const ALSATimerEventDataTick** tick
+handle_real_time_event (
+  ALSATimerUserInstance* self,
+  const ALSATimerRealTimeEvent* event
 )
 
@@ -124,16 +126,16 @@

-

+

Description - + - [src] + [src]

-

Refer to the instance of ALSATimerEventDataTick.

+

Class closure for the ALSATimerUserInstance::handle-real-time-event signal.

@@ -141,9 +143,6 @@

- - -

@@ -161,14 +160,14 @@

- - + + - + - + diff --git a/alsatimer/vfunc.UserInstance.handle_event.html b/alsatimer/vfunc.UserInstance.handle_tick_time_event.html similarity index 80% rename from alsatimer/vfunc.UserInstance.handle_event.html rename to alsatimer/vfunc.UserInstance.handle_tick_time_event.html index 7f2601c..e50a8b6 100644 --- a/alsatimer/vfunc.UserInstance.handle_event.html +++ b/alsatimer/vfunc.UserInstance.handle_tick_time_event.html @@ -13,7 +13,7 @@ - ALSATimer.UserInstance.handle_event + ALSATimer.UserInstance.handle_tick_time_event @@ -24,10 +24,10 @@ - - - - + + + + @@ -70,7 +70,7 @@

ALSATimer

API Version: 0.0

-

Library Version: 0.2.2

+

Library Version: 0.3.0

@@ -86,7 +86,9 @@
Virtual methods
handle_disconnection - handle_event + handle_real_time_event + + handle_tick_time_event @@ -99,7 +101,7 @@
Virtual methods

Virtual Method

-

ALSATimerUserInstancehandle_event

+

ALSATimerUserInstancehandle_tick_time_event

@@ -114,9 +116,9 @@

void
-handle_event (
+handle_tick_time_event (
   ALSATimerUserInstance* self,
-  const ALSATimerEvent* event
+  const ALSATimerTickTimeEvent* event
 )
 
@@ -133,7 +135,7 @@

-

Class closure for the ALSATimerUserInstance::handle-event signal.

+

Class closure for the ALSATimerUserInstance::handle-tick-time-event signal.

@@ -159,11 +161,11 @@

- + - +
tickALSATimerEventDataTickeventALSATimerRealTimeEvent
 

The instance of ALSATimerEventDataTick.

An object derived from ALSATimerRealTimeEvent.

 The argument will be set by the function.
eventALSATimerEventALSATimerTickTimeEvent
 

An object derived from ALSATimerEvent.

An object derived from ALSATimerTickTimeEvent.