-
Notifications
You must be signed in to change notification settings - Fork 1
/
ALSATimer-0.0.gir
2065 lines (2036 loc) · 95.3 KB
/
ALSATimer-0.0.gir
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<include name="GLib" version="2.0"/>
<include name="GObject" version="2.0"/>
<package name="alsatimer"/>
<c:include name="alsatimer.h"/>
<namespace name="ALSATimer"
version="0.0"
shared-library="libalsatimer.so.0"
c:identifier-prefixes="ALSATimer"
c:symbol-prefixes="alsatimer_">
<enumeration name="Class"
glib:type-name="ALSATimerClass"
glib:get-type="alsatimer_class_get_type"
c:type="ALSATimerClass">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="7">A set of enumerations for the class of timer device.</doc>
<member name="none"
value="-1"
c:identifier="ALSATIMER_CLASS_NONE"
glib:nick="none"
glib:name="ALSATIMER_CLASS_NONE">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="9">Invalid.</doc>
</member>
<member name="global"
value="1"
c:identifier="ALSATIMER_CLASS_GLOBAL"
glib:nick="global"
glib:name="ALSATIMER_CLASS_GLOBAL">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="10">The timer device is relevant to system.</doc>
</member>
<member name="card"
value="2"
c:identifier="ALSATIMER_CLASS_CARD"
glib:nick="card"
glib:name="ALSATIMER_CLASS_CARD">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="11">The timer device is relevant to sound card.</doc>
</member>
<member name="pcm"
value="3"
c:identifier="ALSATIMER_CLASS_PCM"
glib:nick="pcm"
glib:name="ALSATIMER_CLASS_PCM">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="12">The timer device is relevant to PCM device.</doc>
</member>
</enumeration>
<record name="DeviceId"
c:type="ALSATimerDeviceId"
glib:type-name="ALSATimerDeviceId"
glib:get-type="alsatimer_device_id_get_type"
c:symbol-prefix="device_id">
<doc xml:space="preserve"
filename="../src/timer/device-id.c"
line="4">A boxed object to express the identifier of timer device.
A [struct@DeviceId] 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.</doc>
<source-position filename="../src/timer/device-id.h" line="11"/>
<constructor name="new" c:identifier="alsatimer_device_id_new">
<doc xml:space="preserve"
filename="../src/timer/device-id.c"
line="29">Allocate and return an instance of [struct@DeviceId].</doc>
<source-position filename="../src/timer/device-id.h" line="15"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/timer/device-id.c"
line="38">A [struct@DeviceId].</doc>
<type name="DeviceId" c:type="ALSATimerDeviceId*"/>
</return-value>
<parameters>
<parameter name="class" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/device-id.c"
line="31">The class of device, one of [enum@Class].</doc>
<type name="Class" c:type="ALSATimerClass"/>
</parameter>
<parameter name="card_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/device-id.c"
line="32">The numeric ID of relevant sound card.</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="device_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/device-id.c"
line="33">The numeric ID of relevant device.</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="subdevice_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/device-id.c"
line="34">The numeric ID of relevant subdevice.</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</constructor>
<method name="get_card_id"
c:identifier="alsatimer_device_id_get_card_id">
<doc xml:space="preserve"
filename="../src/timer/device-id.c"
line="67">Get the numeric ID of sound card to which the device belongs.</doc>
<source-position filename="../src/timer/device-id.h" line="22"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/device-id.c"
line="69">A [struct@DeviceId].</doc>
<type name="DeviceId" c:type="const ALSATimerDeviceId*"/>
</instance-parameter>
<parameter name="card_id"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/timer/device-id.c"
line="70">The numeric ID of sound card to which the timer belongs.</doc>
<type name="gint" c:type="gint*"/>
</parameter>
</parameters>
</method>
<method name="get_class" c:identifier="alsatimer_device_id_get_class">
<doc xml:space="preserve"
filename="../src/timer/device-id.c"
line="54">Get the class of timer.</doc>
<source-position filename="../src/timer/device-id.h" line="19"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/device-id.c"
line="56">A [struct@DeviceId].</doc>
<type name="DeviceId" c:type="const ALSATimerDeviceId*"/>
</instance-parameter>
<parameter name="class"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/timer/device-id.c"
line="57">The class of timer, one of [enum@Class].</doc>
<type name="Class" c:type="ALSATimerClass*"/>
</parameter>
</parameters>
</method>
<method name="get_device_id"
c:identifier="alsatimer_device_id_get_device_id">
<doc xml:space="preserve"
filename="../src/timer/device-id.c"
line="80">Get the numeric ID of device to which the timer belongs.</doc>
<source-position filename="../src/timer/device-id.h" line="25"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/device-id.c"
line="82">A [struct@DeviceId].</doc>
<type name="DeviceId" c:type="const ALSATimerDeviceId*"/>
</instance-parameter>
<parameter name="device_id"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/timer/device-id.c"
line="83">The numeric ID of device to which the timer belongs.</doc>
<type name="gint" c:type="gint*"/>
</parameter>
</parameters>
</method>
<method name="get_subdevice_id"
c:identifier="alsatimer_device_id_get_subdevice_id">
<doc xml:space="preserve"
filename="../src/timer/device-id.c"
line="93">Get the numeric ID of subdevice to which the timer belongs.</doc>
<source-position filename="../src/timer/device-id.h" line="28"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/device-id.c"
line="95">A [struct@DeviceId].</doc>
<type name="DeviceId" c:type="const ALSATimerDeviceId*"/>
</instance-parameter>
<parameter name="subdevice_id"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/timer/device-id.c"
line="96">The numeric ID of subdevice to which the timer belongs.</doc>
<type name="gint" c:type="gint*"/>
</parameter>
</parameters>
</method>
</record>
<class name="DeviceInfo"
c:symbol-prefix="device_info"
c:type="ALSATimerDeviceInfo"
parent="GObject.Object"
glib:type-name="ALSATimerDeviceInfo"
glib:get-type="alsatimer_device_info_get_type"
glib:type-struct="DeviceInfoClass">
<doc xml:space="preserve"
filename="../src/timer/device-info.c"
line="4">A GObject-derived object to express information of timer device.
A [class@DeviceInfo] 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.</doc>
<source-position filename="../src/timer/device-info.h" line="16"/>
<property name="card-id" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/device-info.c"
line="88">The numeric ID of sound card.</doc>
<type name="gint" c:type="gint"/>
</property>
<property name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/device-info.c"
line="76">The flags of timer, one of [flags@DeviceInfoFlag].</doc>
<type name="DeviceInfoFlag"/>
</property>
<property name="id" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/device-info.c"
line="100">The string ID of timer.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="instance-count" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/device-info.c"
line="158">The number of instances for the timer.</doc>
<type name="guint" c:type="guint"/>
</property>
<property name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/device-info.c"
line="111">The name of timer.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="resolution" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/device-info.c"
line="122">The resolution in nano seconds.</doc>
<type name="guint64" c:type="guint64"/>
</property>
<property name="resolution-max" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/device-info.c"
line="146">The maximum resolution in nano seconds.</doc>
<type name="guint64" c:type="guint64"/>
</property>
<property name="resolution-min" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/device-info.c"
line="134">The minimum resolution in nano seconds.</doc>
<type name="guint64" c:type="guint64"/>
</property>
<field name="parent_instance">
<type name="GObject.Object" c:type="GObject"/>
</field>
</class>
<record name="DeviceInfoClass"
c:type="ALSATimerDeviceInfoClass"
glib:is-gtype-struct-for="DeviceInfo">
<source-position filename="../src/timer/device-info.h" line="16"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<bitfield name="DeviceInfoFlag"
glib:type-name="ALSATimerDeviceInfoFlag"
glib:get-type="alsatimer_device_info_flag_get_type"
c:type="ALSATimerDeviceInfoFlag">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="49">A set of flags for the information of timer device.</doc>
<member name="slave"
value="1"
c:identifier="ALSATIMER_DEVICE_INFO_FLAG_SLAVE"
glib:nick="slave"
glib:name="ALSATIMER_DEVICE_INFO_FLAG_SLAVE">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="51">The timer device is slave to any timer device.</doc>
</member>
</bitfield>
<class name="DeviceParams"
c:symbol-prefix="device_params"
c:type="ALSATimerDeviceParams"
parent="GObject.Object"
glib:type-name="ALSATimerDeviceParams"
glib:get-type="alsatimer_device_params_get_type"
glib:type-struct="DeviceParamsClass">
<doc xml:space="preserve"
filename="../src/timer/device-params.c"
line="4">A GObject-derived object to express parameter of timer device.
A [class@DeviceParams] 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.</doc>
<source-position filename="../src/timer/device-params.h" line="16"/>
<constructor name="new" c:identifier="alsatimer_device_params_new">
<doc xml:space="preserve"
filename="../src/timer/device-params.c"
line="105">Instantiate [class@DeviceParams] object and return the instance.</doc>
<source-position filename="../src/timer/device-params.h" line="18"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/timer/device-params.c"
line="110">an instance of [class@DeviceParams].</doc>
<type name="DeviceParams" c:type="ALSATimerDeviceParams*"/>
</return-value>
</constructor>
<property name="period-denominator"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/device-params.c"
line="84">The denominator of period for timer.</doc>
<type name="guint64" c:type="guint64"/>
</property>
<property name="period-numerator" writable="1" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/device-params.c"
line="72">The numerator of period for timer.</doc>
<type name="guint64" c:type="guint64"/>
</property>
<field name="parent_instance">
<type name="GObject.Object" c:type="GObject"/>
</field>
</class>
<record name="DeviceParamsClass"
c:type="ALSATimerDeviceParamsClass"
glib:is-gtype-struct-for="DeviceParams">
<source-position filename="../src/timer/device-params.h" line="16"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<class name="DeviceStatus"
c:symbol-prefix="device_status"
c:type="ALSATimerDeviceStatus"
parent="GObject.Object"
glib:type-name="ALSATimerDeviceStatus"
glib:get-type="alsatimer_device_status_get_type"
glib:type-struct="DeviceStatusClass">
<doc xml:space="preserve"
filename="../src/timer/device-status.c"
line="4">A GObject-derived object to express status of timer device.
A [class@DeviceStatus] is a GObject-derived object to express status of timer device. The
call of [func@get_device_status] returns the instance of object.
The object wraps 'struct snd_timer_gstatus' in UAPI of Linux sound subsystem.</doc>
<source-position filename="../src/timer/device-status.h" line="16"/>
<constructor name="new" c:identifier="alsatimer_device_status_new">
<doc xml:space="preserve"
filename="../src/timer/device-status.c"
line="102">Allocate and return an instance of [class@DeviceStatus].</doc>
<source-position filename="../src/timer/device-status.h" line="18"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/timer/device-status.c"
line="107">An instance of [class@DeviceStatus].</doc>
<type name="DeviceStatus" c:type="ALSATimerDeviceStatus*"/>
</return-value>
</constructor>
<property name="resolution" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/device-status.c"
line="56">The current resolution in nano seconds.</doc>
<type name="guint64" c:type="guint64"/>
</property>
<property name="resolution-denominator" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/device-status.c"
line="80">The denominator of current resolution in seconds.</doc>
<type name="guint64" c:type="guint64"/>
</property>
<property name="resolution-numerator" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/device-status.c"
line="68">The numerator of current resolution in seconds.</doc>
<type name="guint64" c:type="guint64"/>
</property>
<field name="parent_instance">
<type name="GObject.Object" c:type="GObject"/>
</field>
</class>
<record name="DeviceStatusClass"
c:type="ALSATimerDeviceStatusClass"
glib:is-gtype-struct-for="DeviceStatus">
<source-position filename="../src/timer/device-status.h" line="16"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<enumeration name="EventType"
glib:type-name="ALSATimerEventType"
glib:get-type="alsatimer_event_type_get_type"
c:type="ALSATimerEventType">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="114">A set of enumerations for the type of event.</doc>
<member name="tick_time"
value="0"
c:identifier="ALSATIMER_EVENT_TYPE_TICK_TIME"
glib:nick="tick-time"
glib:name="ALSATIMER_EVENT_TYPE_TICK_TIME">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="116">Event for tick time.</doc>
</member>
<member name="real_time"
value="1"
c:identifier="ALSATIMER_EVENT_TYPE_REAL_TIME"
glib:nick="real-time"
glib:name="ALSATIMER_EVENT_TYPE_REAL_TIME">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="117">Event for real time.</doc>
</member>
</enumeration>
<class name="InstanceInfo"
c:symbol-prefix="instance_info"
c:type="ALSATimerInstanceInfo"
parent="GObject.Object"
glib:type-name="ALSATimerInstanceInfo"
glib:get-type="alsatimer_instance_info_get_type"
glib:type-struct="InstanceInfoClass">
<doc xml:space="preserve"
filename="../src/timer/instance-info.c"
line="4">A GObject-derived object to express information of user instance.
A [class@InstanceInfo] 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
[[email protected]_info] returns the instance of object.
The object wraps `struct snd_timer_info` in UAPI of Linux sound subsystem.</doc>
<source-position filename="../src/timer/instance-info.h" line="16"/>
<property name="card-id" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/instance-info.c"
line="76">The numeric ID of sound card for attached timer.</doc>
<type name="gint" c:type="gint"/>
</property>
<property name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/instance-info.c"
line="64">The flags for attached timer.</doc>
<type name="DeviceInfoFlag"/>
</property>
<property name="id" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/instance-info.c"
line="88">The string ID of attached timer.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/instance-info.c"
line="99">The name of attached timer.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="resolution" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/instance-info.c"
line="110">The resolution of attached timer in nano seconds.</doc>
<type name="guint64" c:type="guint64"/>
</property>
<field name="parent_instance">
<type name="GObject.Object" c:type="GObject"/>
</field>
</class>
<record name="InstanceInfoClass"
c:type="ALSATimerInstanceInfoClass"
glib:is-gtype-struct-for="InstanceInfo">
<source-position filename="../src/timer/instance-info.h" line="16"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<bitfield name="InstanceParamFlag"
glib:type-name="ALSATimerInstanceParamFlag"
glib:get-type="alsatimer_instance_param_flag_get_type"
c:type="ALSATimerInstanceParamFlag">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="60">A set of flags for the parameters of user client.</doc>
<member name="auto"
value="1"
c:identifier="ALSATIMER_INSTANCE_PARAM_FLAG_AUTO"
glib:nick="auto"
glib:name="ALSATIMER_INSTANCE_PARAM_FLAG_AUTO">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="62">The instance receives any events after configured.</doc>
</member>
<member name="exclusive"
value="2"
c:identifier="ALSATIMER_INSTANCE_PARAM_FLAG_EXCLUSIVE"
glib:nick="exclusive"
glib:name="ALSATIMER_INSTANCE_PARAM_FLAG_EXCLUSIVE">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="63">The instance occupies the attached timer device.</doc>
</member>
<member name="early_event"
value="4"
c:identifier="ALSATIMER_INSTANCE_PARAM_FLAG_EARLY_EVENT"
glib:nick="early-event"
glib:name="ALSATIMER_INSTANCE_PARAM_FLAG_EARLY_EVENT">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="64">The instance receives early event after configured even if not started.</doc>
</member>
</bitfield>
<class name="InstanceParams"
c:symbol-prefix="instance_params"
c:type="ALSATimerInstanceParams"
parent="GObject.Object"
glib:type-name="ALSATimerInstanceParams"
glib:get-type="alsatimer_instance_params_get_type"
glib:type-struct="InstanceParamsClass">
<doc xml:space="preserve"
filename="../src/timer/instance-params.c"
line="6">A GObject-derived object to express parameters of user instance.
A [class@InstanceParams] 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
[[email protected]_params] requires the instance of object.
The object wraps `struct snd_timer_params` in UAPI of Linux sound subsystem.</doc>
<source-position filename="../src/timer/instance-params.h" line="16"/>
<constructor name="new" c:identifier="alsatimer_instance_params_new">
<doc xml:space="preserve"
filename="../src/timer/instance-params.c"
line="128">Allocate and return an instance of [class@InstanceParams].</doc>
<source-position filename="../src/timer/instance-params.h" line="18"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/timer/instance-params.c"
line="133">An instance of [class@InstanceParams].</doc>
<type name="InstanceParams" c:type="ALSATimerInstanceParams*"/>
</return-value>
</constructor>
<method name="get_event_filter"
c:identifier="alsatimer_instance_params_get_event_filter"
throws="1">
<doc xml:space="preserve"
filename="../src/timer/instance-params.c"
line="189">Get the list of [enum@RealTimeEventType] to filter events. This parameter is effective only for
target instance with [enum@EventType].REAL_TIME.</doc>
<source-position filename="../src/timer/instance-params.h" line="24"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/instance-params.c"
line="200">%TRUE when the overall operation finishes successfully, else %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/instance-params.c"
line="191">A [class@InstanceParams].</doc>
<type name="InstanceParams" c:type="ALSATimerInstanceParams*"/>
</instance-parameter>
<parameter name="entries"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/timer/instance-params.c"
line="192">The array with elements for entries of
[enum@RealTimeEventType].</doc>
<array length="1"
zero-terminated="0"
c:type="ALSATimerRealTimeEventType**">
<type name="RealTimeEventType"
c:type="ALSATimerRealTimeEventType*"/>
</array>
</parameter>
<parameter name="entry_count"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/timer/instance-params.c"
line="194">The number of elements in the above array.</doc>
<type name="gsize" c:type="gsize*"/>
</parameter>
</parameters>
</method>
<method name="set_event_filter"
c:identifier="alsatimer_instance_params_set_event_filter"
throws="1">
<doc xml:space="preserve"
filename="../src/timer/instance-params.c"
line="140">Set the list of [enum@RealTimeEventType] to filter events. This parameter is effective only for
target instance with [enum@EventType].TIMESTAMP.</doc>
<source-position filename="../src/timer/instance-params.h" line="20"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/instance-params.c"
line="151">%TRUE when the overall operation finishes successfully, else %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/instance-params.c"
line="142">A [class@InstanceParams].</doc>
<type name="InstanceParams" c:type="ALSATimerInstanceParams*"/>
</instance-parameter>
<parameter name="entries" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/instance-params.c"
line="143">The array with elements for entries of
[enum@RealTimeEventType].</doc>
<array length="1"
zero-terminated="0"
c:type="const ALSATimerRealTimeEventType*">
<type name="RealTimeEventType"
c:type="ALSATimerRealTimeEventType"/>
</array>
</parameter>
<parameter name="entry_count" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/instance-params.c"
line="145">The number of elements in the above array.</doc>
<type name="gsize" c:type="gsize"/>
</parameter>
</parameters>
</method>
<property name="flags" writable="1" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/instance-params.c"
line="82">The flags for user instance, as a set of [flags@InstanceParamFlag].</doc>
<type name="InstanceParamFlag"/>
</property>
<property name="interval" writable="1" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/instance-params.c"
line="94">The interval to generate event in tick count.</doc>
<type name="guint" c:type="guint"/>
</property>
<property name="queue-size" writable="1" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/instance-params.c"
line="106">The size of queue.</doc>
<type name="guint" c:type="guint"/>
</property>
<field name="parent_instance">
<type name="GObject.Object" c:type="GObject"/>
</field>
</class>
<record name="InstanceParamsClass"
c:type="ALSATimerInstanceParamsClass"
glib:is-gtype-struct-for="InstanceParams">
<source-position filename="../src/timer/instance-params.h" line="16"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<class name="InstanceStatus"
c:symbol-prefix="instance_status"
c:type="ALSATimerInstanceStatus"
parent="GObject.Object"
glib:type-name="ALSATimerInstanceStatus"
glib:get-type="alsatimer_instance_status_get_type"
glib:type-struct="InstanceStatusClass">
<doc xml:space="preserve"
filename="../src/timer/instance-status.c"
line="4">A GObject-derived object to express status of user instance.
A [class@InstanceStatus] 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 [[email protected]_status]
returns the instance of object.
The object wraps `struct snd_timer_status` in UAPI of Linux sound subsystem.</doc>
<source-position filename="../src/timer/instance-status.h" line="16"/>
<constructor name="new" c:identifier="alsatimer_instance_status_new">
<doc xml:space="preserve"
filename="../src/timer/instance-status.c"
line="143">Allocate and return an instance of [class@InstanceStatus].</doc>
<source-position filename="../src/timer/instance-status.h" line="18"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/timer/instance-status.c"
line="148">A [class@InstanceStatus].</doc>
<type name="InstanceStatus" c:type="ALSATimerInstanceStatus*"/>
</return-value>
</constructor>
<method name="get_time"
c:identifier="alsatimer_instance_status_get_time">
<doc xml:space="preserve"
filename="../src/timer/instance-status.c"
line="119">Get real time at which the timer starts, stops, pauses, and continues.</doc>
<source-position filename="../src/timer/instance-status.h" line="20"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/instance-status.c"
line="121">A [class@InstanceStatus].</doc>
<type name="InstanceStatus" c:type="ALSATimerInstanceStatus*"/>
</instance-parameter>
<parameter name="real_time"
direction="out"
caller-allocates="0"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/instance-status.c"
line="122">The array with two elements for the
seconds and nanoseconds parts of timestamp when the instance queues the latest
event.</doc>
<array zero-terminated="0" c:type="const gint64**" fixed-size="2">
<type name="gint64" c:type="gint64"/>
</array>
</parameter>
</parameters>
</method>
<property name="interval" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/instance-status.c"
line="61">The current interval in nano second.</doc>
<type name="guint" c:type="guint"/>
</property>
<property name="lost" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/instance-status.c"
line="73">The count of losts master ticks.</doc>
<type name="guint" c:type="guint"/>
</property>
<property name="overrun" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/instance-status.c"
line="85">The count of overrun in read queue.</doc>
<type name="guint" c:type="guint"/>
</property>
<property name="queue-size" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/instance-status.c"
line="97">The current size of queue.</doc>
<type name="guint" c:type="guint"/>
</property>
<field name="parent_instance">
<type name="GObject.Object" c:type="GObject"/>
</field>
</class>
<record name="InstanceStatusClass"
c:type="ALSATimerInstanceStatusClass"
glib:is-gtype-struct-for="InstanceStatus">
<source-position filename="../src/timer/instance-status.h" line="16"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<record name="RealTimeEvent"
c:type="ALSATimerRealTimeEvent"
glib:type-name="ALSATimerRealTimeEvent"
glib:get-type="alsatimer_real_time_event_get_type"
c:symbol-prefix="real_time_event">
<doc xml:space="preserve"
filename="../src/timer/real-time-event.c"
line="4">A boxed object to express event of timer with real time.
A [struct@RealTimeEvent] includes real time at which the event is queued.
The object wraps `struct snd_timer_tread` in UAPI of Linux sound subsystem.</doc>
<source-position filename="../src/timer/real-time-event.h" line="11"/>
<method name="get_event"
c:identifier="alsatimer_real_time_event_get_event">
<doc xml:space="preserve"
filename="../src/timer/real-time-event.c"
line="27">Get the kind of event for the real time event.</doc>
<source-position filename="../src/timer/real-time-event.h" line="15"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/real-time-event.c"
line="29">A [struct@RealTimeEvent].</doc>
<type name="RealTimeEvent" c:type="const ALSATimerRealTimeEvent*"/>
</instance-parameter>
<parameter name="event"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/timer/real-time-event.c"
line="30">The type of real time event, one of [enum@RealTimeEventType].</doc>
<type name="RealTimeEventType"
c:type="ALSATimerRealTimeEventType*"/>
</parameter>
</parameters>
</method>
<method name="get_time"
c:identifier="alsatimer_real_time_event_get_time">
<doc xml:space="preserve"
filename="../src/timer/real-time-event.c"
line="40">Get the seconds and nanoseconds part for the real time event.</doc>
<source-position filename="../src/timer/real-time-event.h" line="18"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/real-time-event.c"
line="42">A [struct@RealTimeEvent].</doc>
<type name="RealTimeEvent" c:type="const ALSATimerRealTimeEvent*"/>
</instance-parameter>
<parameter name="real_time"
direction="inout"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/timer/real-time-event.c"
line="43">The array with two elements for the seconds and
nanoseconds part of timestamp when the real time event occurs.</doc>
<array zero-terminated="0" c:type="gint64* const*" fixed-size="2">
<type name="gint64" c:type="gint64"/>
</array>
</parameter>
</parameters>
</method>
<method name="get_val" c:identifier="alsatimer_real_time_event_get_val">
<doc xml:space="preserve"
filename="../src/timer/real-time-event.c"
line="55">Get the value depending on the type of real time event.</doc>
<source-position filename="../src/timer/real-time-event.h" line="21"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/timer/real-time-event.c"
line="57">A [struct@RealTimeEvent].</doc>
<type name="RealTimeEvent" c:type="const ALSATimerRealTimeEvent*"/>
</instance-parameter>
<parameter name="val"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/timer/real-time-event.c"
line="58">The value depending on the type of timestamp event.</doc>
<type name="guint" c:type="guint*"/>
</parameter>
</parameters>
</method>
</record>
<enumeration name="RealTimeEventType"
glib:type-name="ALSATimerRealTimeEventType"
glib:get-type="alsatimer_real_time_event_type_get_type"
c:type="ALSATimerRealTimeEventType">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="75">A set of enumerations for the type of real time event.</doc>
<member name="resolution"
value="0"
c:identifier="ALSATIMER_REAL_TIME_EVENT_TYPE_RESOLUTION"
glib:nick="resolution"
glib:name="ALSATIMER_REAL_TIME_EVENT_TYPE_RESOLUTION">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="77">The event for timer resolution.</doc>
</member>
<member name="tick"
value="1"
c:identifier="ALSATIMER_REAL_TIME_EVENT_TYPE_TICK"
glib:nick="tick"
glib:name="ALSATIMER_REAL_TIME_EVENT_TYPE_TICK">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="78">The event for timer tick.</doc>
</member>
<member name="start"
value="2"
c:identifier="ALSATIMER_REAL_TIME_EVENT_TYPE_START"
glib:nick="start"
glib:name="ALSATIMER_REAL_TIME_EVENT_TYPE_START">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="79">The event for timer start.</doc>
</member>
<member name="stop"
value="3"
c:identifier="ALSATIMER_REAL_TIME_EVENT_TYPE_STOP"
glib:nick="stop"
glib:name="ALSATIMER_REAL_TIME_EVENT_TYPE_STOP">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="80">The event for timer stop.</doc>
</member>
<member name="continue"
value="4"
c:identifier="ALSATIMER_REAL_TIME_EVENT_TYPE_CONTINUE"
glib:nick="continue"
glib:name="ALSATIMER_REAL_TIME_EVENT_TYPE_CONTINUE">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="81">The event for timer continue.</doc>
</member>
<member name="pause"
value="5"
c:identifier="ALSATIMER_REAL_TIME_EVENT_TYPE_PAUSE"
glib:nick="pause"
glib:name="ALSATIMER_REAL_TIME_EVENT_TYPE_PAUSE">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="82">The event for timer pause.</doc>
</member>
<member name="early"
value="6"
c:identifier="ALSATIMER_REAL_TIME_EVENT_TYPE_EARLY"
glib:nick="early"
glib:name="ALSATIMER_REAL_TIME_EVENT_TYPE_EARLY">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="83">The event before timer start.</doc>
</member>
<member name="suspend"
value="7"
c:identifier="ALSATIMER_REAL_TIME_EVENT_TYPE_SUSPEND"
glib:nick="suspend"
glib:name="ALSATIMER_REAL_TIME_EVENT_TYPE_SUSPEND">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="84">The event for timer suspend.</doc>
</member>
<member name="resume"
value="8"
c:identifier="ALSATIMER_REAL_TIME_EVENT_TYPE_RESUME"
glib:nick="resume"
glib:name="ALSATIMER_REAL_TIME_EVENT_TYPE_RESUME">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="85">The event for timer resume.</doc>
</member>
<member name="mstart"
value="12"
c:identifier="ALSATIMER_REAL_TIME_EVENT_TYPE_MSTART"
glib:nick="mstart"
glib:name="ALSATIMER_REAL_TIME_EVENT_TYPE_MSTART">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="86">The event for master timer start.</doc>
</member>
<member name="mstop"
value="13"
c:identifier="ALSATIMER_REAL_TIME_EVENT_TYPE_MSTOP"
glib:nick="mstop"
glib:name="ALSATIMER_REAL_TIME_EVENT_TYPE_MSTOP">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="87">The event for master timer stop.</doc>
</member>
<member name="mcontinue"
value="14"
c:identifier="ALSATIMER_REAL_TIME_EVENT_TYPE_MCONTINUE"
glib:nick="mcontinue"
glib:name="ALSATIMER_REAL_TIME_EVENT_TYPE_MCONTINUE">
<doc xml:space="preserve"
filename="../src/timer/alsatimer-enum-types.h"
line="88">The event for master timer continue.</doc>
</member>
<member name="mpause"
value="15"
c:identifier="ALSATIMER_REAL_TIME_EVENT_TYPE_MPAUSE"
glib:nick="mpause"