Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.118.140.120
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
alsa-lib-devel-1.1.8 /
doxygen /
html /
Delete
Unzip
Name
Size
Permission
Date
Action
search
[ DIR ]
drwxr-xr-x
2021-11-09 08:48
_2test_2latency_8c-example.html
72.63
KB
-rw-r--r--
2019-08-08 12:00
_2test_2pcm_8c-example.html
96.91
KB
-rw-r--r--
2019-08-08 12:00
_2test_2pcm_min_8c-example.html
10.46
KB
-rw-r--r--
2019-08-08 12:00
_2test_2rawmidi_8c-example.html
24.4
KB
-rw-r--r--
2019-08-08 12:00
_2test_2timer_8c-example.html
28.51
KB
-rw-r--r--
2019-08-08 12:00
annotated.html
21.21
KB
-rw-r--r--
2019-08-08 12:00
asoundef_8h.html
110.32
KB
-rw-r--r--
2019-08-08 12:00
asoundef_8h_source.html
71.83
KB
-rw-r--r--
2019-08-08 12:00
asoundlib_8h.html
7.28
KB
-rw-r--r--
2019-08-08 12:00
asoundlib_8h_source.html
13.58
KB
-rw-r--r--
2019-08-08 12:00
async_8c.html
10.67
KB
-rw-r--r--
2019-08-08 12:00
bc_s.png
676
B
-rw-r--r--
2019-08-08 12:00
bdwn.png
147
B
-rw-r--r--
2019-08-08 12:00
bug.html
5.27
KB
-rw-r--r--
2019-08-08 12:00
cards_8c.html
9.36
KB
-rw-r--r--
2019-08-08 12:00
classes.html
12.61
KB
-rw-r--r--
2019-08-08 12:00
closed.png
132
B
-rw-r--r--
2019-08-08 12:00
conf.html
14.12
KB
-rw-r--r--
2019-08-08 12:00
conf_8c.html
93.94
KB
-rw-r--r--
2019-08-08 12:00
conf_8h.html
61.32
KB
-rw-r--r--
2019-08-08 12:00
conf_8h_source.html
74.11
KB
-rw-r--r--
2019-08-08 12:00
confarg.html
7.88
KB
-rw-r--r--
2019-08-08 12:00
conffunc.html
9.26
KB
-rw-r--r--
2019-08-08 12:00
confhooks.html
6.58
KB
-rw-r--r--
2019-08-08 12:00
confmisc_8c.html
53.07
KB
-rw-r--r--
2019-08-08 12:00
control.html
7.52
KB
-rw-r--r--
2019-08-08 12:00
control_8c.html
167.94
KB
-rw-r--r--
2019-08-08 12:00
control_8h.html
231.48
KB
-rw-r--r--
2019-08-08 12:00
control_8h_source.html
278.44
KB
-rw-r--r--
2019-08-08 12:00
control__ext_8c.html
7.89
KB
-rw-r--r--
2019-08-08 12:00
control__external_8h.html
15.86
KB
-rw-r--r--
2019-08-08 12:00
control__external_8h_source.html
54.72
KB
-rw-r--r--
2019-08-08 12:00
ctl_external_plugins.html
19.15
KB
-rw-r--r--
2019-08-08 12:00
deprecated.html
6.81
KB
-rw-r--r--
2019-08-08 12:00
dir_381a0a05232d68d0a2ebe5cd502f4d69.html
7.59
KB
-rw-r--r--
2019-08-08 12:00
dir_5f851d935025f1be023c2c62bd843fe2.html
6.55
KB
-rw-r--r--
2019-08-08 12:00
dir_68267d1309a1af8e8297ef4c3efbcdba.html
12.01
KB
-rw-r--r--
2019-08-08 12:00
dir_8c35c1873c2690b478a9950d0638d637.html
7.11
KB
-rw-r--r--
2019-08-08 12:00
dir_b73df3c68338d0823ff9d736eb268d89.html
7.77
KB
-rw-r--r--
2019-08-08 12:00
dir_b81b067251166617f9d0a8c0cfc3a4a9.html
9.51
KB
-rw-r--r--
2019-08-08 12:00
dir_d0e40b335958b6212fb6f781133eecbc.html
6.11
KB
-rw-r--r--
2019-08-08 12:00
dir_d1b0f45016cd06bf2eb252bd3f501161.html
7.6
KB
-rw-r--r--
2019-08-08 12:00
dir_d3519ec5023707b37568b471096da878.html
6.3
KB
-rw-r--r--
2019-08-08 12:00
dir_d44c64559bbebec7f509842c48db8b23.html
16.06
KB
-rw-r--r--
2019-08-08 12:00
dir_e8b3d2be6db305a5d41d291dd9fd6e9c.html
18.74
KB
-rw-r--r--
2019-08-08 12:00
dlmisc_8c.html
8.68
KB
-rw-r--r--
2019-08-08 12:00
doxygen.css
23.29
KB
-rw-r--r--
2019-08-08 12:00
doxygen.png
3.69
KB
-rw-r--r--
2019-08-08 12:00
dynsections.js
2.91
KB
-rw-r--r--
2019-08-08 12:00
error_8c.html
11.62
KB
-rw-r--r--
2019-08-08 12:00
error_8h.html
15.14
KB
-rw-r--r--
2019-08-08 12:00
error_8h_source.html
17.35
KB
-rw-r--r--
2019-08-08 12:00
examples.html
5.44
KB
-rw-r--r--
2019-08-08 12:00
files.html
41.53
KB
-rw-r--r--
2019-08-08 12:00
ftv2blank.png
86
B
-rw-r--r--
2019-08-08 12:00
ftv2cl.png
453
B
-rw-r--r--
2019-08-08 12:00
ftv2doc.png
746
B
-rw-r--r--
2019-08-08 12:00
ftv2folderclosed.png
616
B
-rw-r--r--
2019-08-08 12:00
ftv2folderopen.png
597
B
-rw-r--r--
2019-08-08 12:00
ftv2lastnode.png
86
B
-rw-r--r--
2019-08-08 12:00
ftv2link.png
746
B
-rw-r--r--
2019-08-08 12:00
ftv2mlastnode.png
246
B
-rw-r--r--
2019-08-08 12:00
ftv2mnode.png
246
B
-rw-r--r--
2019-08-08 12:00
ftv2mo.png
403
B
-rw-r--r--
2019-08-08 12:00
ftv2node.png
86
B
-rw-r--r--
2019-08-08 12:00
ftv2ns.png
388
B
-rw-r--r--
2019-08-08 12:00
ftv2plastnode.png
229
B
-rw-r--r--
2019-08-08 12:00
ftv2pnode.png
229
B
-rw-r--r--
2019-08-08 12:00
ftv2splitbar.png
314
B
-rw-r--r--
2019-08-08 12:00
ftv2vertline.png
86
B
-rw-r--r--
2019-08-08 12:00
functions.html
7.92
KB
-rw-r--r--
2019-08-08 12:00
functions_0x62.html
8.16
KB
-rw-r--r--
2019-08-08 12:00
functions_0x63.html
10.88
KB
-rw-r--r--
2019-08-08 12:00
functions_0x64.html
9.97
KB
-rw-r--r--
2019-08-08 12:00
functions_0x65.html
8.63
KB
-rw-r--r--
2019-08-08 12:00
functions_0x66.html
8.8
KB
-rw-r--r--
2019-08-08 12:00
functions_0x67.html
8.44
KB
-rw-r--r--
2019-08-08 12:00
functions_0x68.html
8.59
KB
-rw-r--r--
2019-08-08 12:00
functions_0x69.html
8.96
KB
-rw-r--r--
2019-08-08 12:00
functions_0x6c.html
7.69
KB
-rw-r--r--
2019-08-08 12:00
functions_0x6d.html
8.97
KB
-rw-r--r--
2019-08-08 12:00
functions_0x6e.html
9.46
KB
-rw-r--r--
2019-08-08 12:00
functions_0x6f.html
7.45
KB
-rw-r--r--
2019-08-08 12:00
functions_0x70.html
12.97
KB
-rw-r--r--
2019-08-08 12:00
functions_0x71.html
7.81
KB
-rw-r--r--
2019-08-08 12:00
functions_0x72.html
9.93
KB
-rw-r--r--
2019-08-08 12:00
functions_0x73.html
11.55
KB
-rw-r--r--
2019-08-08 12:00
functions_0x74.html
9.51
KB
-rw-r--r--
2019-08-08 12:00
functions_0x75.html
7.57
KB
-rw-r--r--
2019-08-08 12:00
functions_0x76.html
8.66
KB
-rw-r--r--
2019-08-08 12:00
functions_0x77.html
8.02
KB
-rw-r--r--
2019-08-08 12:00
functions_vars.html
7.9
KB
-rw-r--r--
2019-08-08 12:00
functions_vars_0x62.html
8.14
KB
-rw-r--r--
2019-08-08 12:00
functions_vars_0x63.html
10.86
KB
-rw-r--r--
2019-08-08 12:00
functions_vars_0x64.html
9.95
KB
-rw-r--r--
2019-08-08 12:00
functions_vars_0x65.html
8.61
KB
-rw-r--r--
2019-08-08 12:00
functions_vars_0x66.html
8.77
KB
-rw-r--r--
2019-08-08 12:00
functions_vars_0x67.html
8.42
KB
-rw-r--r--
2019-08-08 12:00
functions_vars_0x68.html
8.57
KB
-rw-r--r--
2019-08-08 12:00
functions_vars_0x69.html
8.94
KB
-rw-r--r--
2019-08-08 12:00
functions_vars_0x6c.html
7.67
KB
-rw-r--r--
2019-08-08 12:00
functions_vars_0x6d.html
8.95
KB
-rw-r--r--
2019-08-08 12:00
functions_vars_0x6e.html
9.44
KB
-rw-r--r--
2019-08-08 12:00
functions_vars_0x6f.html
7.42
KB
-rw-r--r--
2019-08-08 12:00
functions_vars_0x70.html
12.94
KB
-rw-r--r--
2019-08-08 12:00
functions_vars_0x71.html
7.78
KB
-rw-r--r--
2019-08-08 12:00
functions_vars_0x72.html
9.91
KB
-rw-r--r--
2019-08-08 12:00
functions_vars_0x73.html
11.53
KB
-rw-r--r--
2019-08-08 12:00
functions_vars_0x74.html
9.49
KB
-rw-r--r--
2019-08-08 12:00
functions_vars_0x75.html
7.55
KB
-rw-r--r--
2019-08-08 12:00
functions_vars_0x76.html
8.64
KB
-rw-r--r--
2019-08-08 12:00
functions_vars_0x77.html
8
KB
-rw-r--r--
2019-08-08 12:00
global_8h.html
21.49
KB
-rw-r--r--
2019-08-08 12:00
global_8h_source.html
31.54
KB
-rw-r--r--
2019-08-08 12:00
globals.html
10.13
KB
-rw-r--r--
2019-08-08 12:00
globals_0x61.html
6.53
KB
-rw-r--r--
2019-08-08 12:00
globals_0x69.html
27.15
KB
-rw-r--r--
2019-08-08 12:00
globals_0x6c.html
6.52
KB
-rw-r--r--
2019-08-08 12:00
globals_0x6d.html
19.28
KB
-rw-r--r--
2019-08-08 12:00
globals_0x70.html
6.52
KB
-rw-r--r--
2019-08-08 12:00
globals_0x73.html
399.6
KB
-rw-r--r--
2019-08-08 12:00
globals_defs.html
6.74
KB
-rw-r--r--
2019-08-08 12:00
globals_defs_0x61.html
6.28
KB
-rw-r--r--
2019-08-08 12:00
globals_defs_0x69.html
26.9
KB
-rw-r--r--
2019-08-08 12:00
globals_defs_0x6d.html
19.03
KB
-rw-r--r--
2019-08-08 12:00
globals_defs_0x73.html
41.41
KB
-rw-r--r--
2019-08-08 12:00
globals_enum.html
10.91
KB
-rw-r--r--
2019-08-08 12:00
globals_eval.html
56.84
KB
-rw-r--r--
2019-08-08 12:00
globals_func.html
8.99
KB
-rw-r--r--
2019-08-08 12:00
globals_func_0x73.html
296.89
KB
-rw-r--r--
2019-08-08 12:00
globals_type.html
16.29
KB
-rw-r--r--
2019-08-08 12:00
globals_vars.html
6.58
KB
-rw-r--r--
2019-08-08 12:00
group___config.html
167.8
KB
-rw-r--r--
2019-08-08 12:00
group___control.html
451.85
KB
-rw-r--r--
2019-08-08 12:00
group___ctl_plugin___s_d_k.html
27.25
KB
-rw-r--r--
2019-08-08 12:00
group___digital___audio___interface.html
121.36
KB
-rw-r--r--
2019-08-08 12:00
group___error.html
17.96
KB
-rw-r--r--
2019-08-08 12:00
group___global.html
35.46
KB
-rw-r--r--
2019-08-08 12:00
group___h_control.html
87.82
KB
-rw-r--r--
2019-08-08 12:00
group___hw_dep.html
103.83
KB
-rw-r--r--
2019-08-08 12:00
group___input.html
25.86
KB
-rw-r--r--
2019-08-08 12:00
group___m_i_d_i___commands.html
19.43
KB
-rw-r--r--
2019-08-08 12:00
group___m_i_d_i___controllers.html
59.49
KB
-rw-r--r--
2019-08-08 12:00
group___m_i_d_i___event.html
40.27
KB
-rw-r--r--
2019-08-08 12:00
group___m_i_d_i___interface.html
7.65
KB
-rw-r--r--
2019-08-08 12:00
group___mixer.html
111.34
KB
-rw-r--r--
2019-08-08 12:00
group___output.html
29.64
KB
-rw-r--r--
2019-08-08 12:00
group___p_c_m.html
239.96
KB
-rw-r--r--
2019-08-08 12:00
group___p_c_m___access.html
25.68
KB
-rw-r--r--
2019-08-08 12:00
group___p_c_m___deprecated.html
57.51
KB
-rw-r--r--
2019-08-08 12:00
group___p_c_m___description.html
21.1
KB
-rw-r--r--
2019-08-08 12:00
group___p_c_m___direct.html
30.64
KB
-rw-r--r--
2019-08-08 12:00
group___p_c_m___dump.html
19.83
KB
-rw-r--r--
2019-08-08 12:00
group___p_c_m___ext_plug.html
35.42
KB
-rw-r--r--
2019-08-08 12:00
group___p_c_m___format.html
25.63
KB
-rw-r--r--
2019-08-08 12:00
group___p_c_m___h_w___params.html
334.6
KB
-rw-r--r--
2019-08-08 12:00
group___p_c_m___helpers.html
59.92
KB
-rw-r--r--
2019-08-08 12:00
group___p_c_m___hook.html
19.18
KB
-rw-r--r--
2019-08-08 12:00
group___p_c_m___i_o_plug.html
42.67
KB
-rw-r--r--
2019-08-08 12:00
group___p_c_m___info.html
39.45
KB
-rw-r--r--
2019-08-08 12:00
group___p_c_m___s_w___params.html
57.45
KB
-rw-r--r--
2019-08-08 12:00
group___p_c_m___scope.html
36.51
KB
-rw-r--r--
2019-08-08 12:00
group___p_c_m___simple.html
24.78
KB
-rw-r--r--
2019-08-08 12:00
group___p_c_m___status.html
41.88
KB
-rw-r--r--
2019-08-08 12:00
group___p_c_m___sub_format.html
25.91
KB
-rw-r--r--
2019-08-08 12:00
group___plugin___s_d_k.html
16.2
KB
-rw-r--r--
2019-08-08 12:00
group___raw_midi.html
116.92
KB
-rw-r--r--
2019-08-08 12:00
group___s_control.html
13.25
KB
-rw-r--r--
2019-08-08 12:00
group___seq_client.html
103.44
KB
-rw-r--r--
2019-08-08 12:00
group___seq_ev_type.html
42.98
KB
-rw-r--r--
2019-08-08 12:00
group___seq_event.html
83.54
KB
-rw-r--r--
2019-08-08 12:00
group___seq_events.html
50.17
KB
-rw-r--r--
2019-08-08 12:00
group___seq_middle.html
138.03
KB
-rw-r--r--
2019-08-08 12:00
group___seq_misc.html
7.79
KB
-rw-r--r--
2019-08-08 12:00
group___seq_port.html
112.46
KB
-rw-r--r--
2019-08-08 12:00
group___seq_queue.html
136.55
KB
-rw-r--r--
2019-08-08 12:00
group___seq_subscribe.html
96.64
KB
-rw-r--r--
2019-08-08 12:00
group___sequencer.html
76.55
KB
-rw-r--r--
2019-08-08 12:00
group___simple_mixer.html
149.55
KB
-rw-r--r--
2019-08-08 12:00
group___timer.html
190.4
KB
-rw-r--r--
2019-08-08 12:00
group__topology.html
61.51
KB
-rw-r--r--
2019-08-08 12:00
group__ucm.html
57.08
KB
-rw-r--r--
2019-08-08 12:00
hcontrol.html
5.36
KB
-rw-r--r--
2019-08-08 12:00
hcontrol_8c.html
41.06
KB
-rw-r--r--
2019-08-08 12:00
hwdep_8c.html
44.41
KB
-rw-r--r--
2019-08-08 12:00
hwdep_8h.html
49.87
KB
-rw-r--r--
2019-08-08 12:00
hwdep_8h_source.html
70.6
KB
-rw-r--r--
2019-08-08 12:00
index.html
9.13
KB
-rw-r--r--
2019-08-08 12:00
input_8c.html
12.28
KB
-rw-r--r--
2019-08-08 12:00
input_8h.html
14.5
KB
-rw-r--r--
2019-08-08 12:00
input_8h_source.html
19.59
KB
-rw-r--r--
2019-08-08 12:00
jquery.js
102.24
KB
-rw-r--r--
2019-08-08 12:00
mixer.html
5.22
KB
-rw-r--r--
2019-08-08 12:00
mixer_8c.html
46.29
KB
-rw-r--r--
2019-08-08 12:00
mixer_8h.html
111.48
KB
-rw-r--r--
2019-08-08 12:00
mixer_8h_source.html
137.52
KB
-rw-r--r--
2019-08-08 12:00
mixer__simple_8h_source.html
14.49
KB
-rw-r--r--
2019-08-08 12:00
modules.html
18.17
KB
-rw-r--r--
2019-08-08 12:00
namehint_8c.html
8.18
KB
-rw-r--r--
2019-08-08 12:00
names_8c.html
7.6
KB
-rw-r--r--
2019-08-08 12:00
nav_f.png
153
B
-rw-r--r--
2019-08-08 12:00
nav_g.png
108
B
-rw-r--r--
2019-08-08 12:00
nav_h.png
98
B
-rw-r--r--
2019-08-08 12:00
open.png
123
B
-rw-r--r--
2019-08-08 12:00
output_8c.html
13.92
KB
-rw-r--r--
2019-08-08 12:00
output_8h.html
16.15
KB
-rw-r--r--
2019-08-08 12:00
output_8h_source.html
21.34
KB
-rw-r--r--
2019-08-08 12:00
pages.html
8.4
KB
-rw-r--r--
2019-08-08 12:00
pcm.html
47.73
KB
-rw-r--r--
2019-08-08 12:00
pcm_2pcm_8c.html
286.51
KB
-rw-r--r--
2019-08-08 12:00
pcm_8h.html
373.82
KB
-rw-r--r--
2019-08-08 12:00
pcm_8h_source.html
535.79
KB
-rw-r--r--
2019-08-08 12:00
pcm__adpcm_8c.html
13.99
KB
-rw-r--r--
2019-08-08 12:00
pcm__alaw_8c.html
13.46
KB
-rw-r--r--
2019-08-08 12:00
pcm__asym_8c.html
10.01
KB
-rw-r--r--
2019-08-08 12:00
pcm__copy_8c.html
12.94
KB
-rw-r--r--
2019-08-08 12:00
pcm__dmix_8c.html
15.19
KB
-rw-r--r--
2019-08-08 12:00
pcm__dshare_8c.html
14.16
KB
-rw-r--r--
2019-08-08 12:00
pcm__dsnoop_8c.html
14.17
KB
-rw-r--r--
2019-08-08 12:00
pcm__empty_8c.html
10
KB
-rw-r--r--
2019-08-08 12:00
pcm__external_8h.html
8.9
KB
-rw-r--r--
2019-08-08 12:00
pcm__external_8h_source.html
14.69
KB
-rw-r--r--
2019-08-08 12:00
pcm__extplug_8c.html
13.04
KB
-rw-r--r--
2019-08-08 12:00
pcm__extplug_8h.html
17.62
KB
-rw-r--r--
2019-08-08 12:00
pcm__extplug_8h_source.html
48.01
KB
-rw-r--r--
2019-08-08 12:00
pcm__file_8c.html
15.48
KB
-rw-r--r--
2019-08-08 12:00
pcm__hooks_8c.html
19.42
KB
-rw-r--r--
2019-08-08 12:00
pcm__hw_8c.html
18.07
KB
-rw-r--r--
2019-08-08 12:00
pcm__iec958_8c.html
14.06
KB
-rw-r--r--
2019-08-08 12:00
pcm__ioplug_8c.html
15.3
KB
-rw-r--r--
2019-08-08 12:00
pcm__ioplug_8h.html
21.94
KB
-rw-r--r--
2019-08-08 12:00
pcm__ioplug_8h_source.html
66.92
KB
-rw-r--r--
2019-08-08 12:00
pcm__ladspa_8c.html
14.79
KB
-rw-r--r--
2019-08-08 12:00
pcm__lfloat_8c.html
13.42
KB
-rw-r--r--
2019-08-08 12:00
pcm__linear_8c.html
13.49
KB
-rw-r--r--
2019-08-08 12:00
pcm__meter_8c.html
22.2
KB
-rw-r--r--
2019-08-08 12:00
pcm__mmap__emul_8c.html
9.84
KB
-rw-r--r--
2019-08-08 12:00
pcm__mulaw_8c.html
13.48
KB
-rw-r--r--
2019-08-08 12:00
pcm__multi_8c.html
14.84
KB
-rw-r--r--
2019-08-08 12:00
pcm__null_8c.html
12.88
KB
-rw-r--r--
2019-08-08 12:00
pcm__plugin_8c.html
6.44
KB
-rw-r--r--
2019-08-08 12:00
pcm__rate_8c.html
16.13
KB
-rw-r--r--
2019-08-08 12:00
pcm__route_8c.html
21.28
KB
-rw-r--r--
2019-08-08 12:00
pcm__share_8c.html
15.31
KB
-rw-r--r--
2019-08-08 12:00
pcm__shm_8c.html
13.27
KB
-rw-r--r--
2019-08-08 12:00
pcm__simple_8c.html
10.12
KB
-rw-r--r--
2019-08-08 12:00
pcm__softvol_8c.html
16.08
KB
-rw-r--r--
2019-08-08 12:00
pcm_external_plugins.html
24.32
KB
-rw-r--r--
2019-08-08 12:00
pcm_plugins.html
66.5
KB
-rw-r--r--
2019-08-08 12:00
rawmidi.html
11.77
KB
-rw-r--r--
2019-08-08 12:00
rawmidi_8c.html
46.77
KB
-rw-r--r--
2019-08-08 12:00
rawmidi_8h.html
54.98
KB
-rw-r--r--
2019-08-08 12:00
rawmidi_8h_source.html
65.34
KB
-rw-r--r--
2019-08-08 12:00
seq.html
57.26
KB
-rw-r--r--
2019-08-08 12:00
seq_8c.html
197.23
KB
-rw-r--r--
2019-08-08 12:00
seq_8h.html
251.24
KB
-rw-r--r--
2019-08-08 12:00
seq_8h_source.html
272.74
KB
-rw-r--r--
2019-08-08 12:00
seq__event_8c.html
6.64
KB
-rw-r--r--
2019-08-08 12:00
seq__event_8h.html
29.19
KB
-rw-r--r--
2019-08-08 12:00
seq__event_8h_source.html
96.96
KB
-rw-r--r--
2019-08-08 12:00
seq__midi__event_8c.html
14.24
KB
-rw-r--r--
2019-08-08 12:00
seq__midi__event_8h.html
15.24
KB
-rw-r--r--
2019-08-08 12:00
seq__midi__event_8h_source.html
19.92
KB
-rw-r--r--
2019-08-08 12:00
seqmid_8h.html
42.31
KB
-rw-r--r--
2019-08-08 12:00
seqmid_8h_source.html
53.43
KB
-rw-r--r--
2019-08-08 12:00
setup_8c.html
9.85
KB
-rw-r--r--
2019-08-08 12:00
simple_8c.html
60.74
KB
-rw-r--r--
2019-08-08 12:00
simple__abst_8c.html
16.27
KB
-rw-r--r--
2019-08-08 12:00
simple__none_8c.html
9.28
KB
-rw-r--r--
2019-08-08 12:00
structctl__access__elem.html
6.41
KB
-rw-r--r--
2019-08-08 12:00
structsnd__aes__iec958__t.html
8.83
KB
-rw-r--r--
2019-08-08 12:00
structsnd__ctl__ext.html
18.52
KB
-rw-r--r--
2019-08-08 12:00
structsnd__ctl__ext__callback.html
35.7
KB
-rw-r--r--
2019-08-08 12:00
structsnd__devname.html
8.06
KB
-rw-r--r--
2019-08-08 12:00
structsnd__mixer__selem__regopt.html
10.25
KB
-rw-r--r--
2019-08-08 12:00
structsnd__pcm__audio__tstamp__config__t.html
6.58
KB
-rw-r--r--
2019-08-08 12:00
structsnd__pcm__audio__tstamp__report__t.html
7.29
KB
-rw-r--r--
2019-08-08 12:00
structsnd__pcm__channel__area__t.html
8.58
KB
-rw-r--r--
2019-08-08 12:00
structsnd__pcm__chmap__query__t.html
7.82
KB
-rw-r--r--
2019-08-08 12:00
structsnd__pcm__chmap__t.html
7.39
KB
-rw-r--r--
2019-08-08 12:00
structsnd__pcm__extplug.html
17.41
KB
-rw-r--r--
2019-08-08 12:00
structsnd__pcm__extplug__callback.html
16.62
KB
-rw-r--r--
2019-08-08 12:00
structsnd__pcm__ioplug.html
22.55
KB
-rw-r--r--
2019-08-08 12:00
structsnd__pcm__ioplug__callback.html
27.5
KB
-rw-r--r--
2019-08-08 12:00
structsnd__pcm__scope__ops__t.html
14.9
KB
-rw-r--r--
2019-08-08 12:00
structsnd__seq__addr__t.html
7.39
KB
-rw-r--r--
2019-08-08 12:00
structsnd__seq__connect__t.html
7.66
KB
-rw-r--r--
2019-08-08 12:00
structsnd__seq__ev__ctrl__t.html
8.8
KB
-rw-r--r--
2019-08-08 12:00
structsnd__seq__ev__ext.html
7.41
KB
-rw-r--r--
2019-08-08 12:00
structsnd__seq__ev__note__t.html
9.79
KB
-rw-r--r--
2019-08-08 12:00
structsnd__seq__ev__queue__control__t.html
12.5
KB
-rw-r--r--
2019-08-08 12:00
structsnd__seq__ev__raw32__t.html
6.74
KB
-rw-r--r--
2019-08-08 12:00
structsnd__seq__ev__raw8__t.html
6.74
KB
-rw-r--r--
2019-08-08 12:00
structsnd__seq__event__t.html
19.44
KB
-rw-r--r--
2019-08-08 12:00
structsnd__seq__queue__skew__t.html
7.42
KB
-rw-r--r--
2019-08-08 12:00
structsnd__seq__real__time__t.html
7.43
KB
-rw-r--r--
2019-08-08 12:00
structsnd__seq__result__t.html
7.37
KB
-rw-r--r--
2019-08-08 12:00
structsnd__timer__read__t.html
7.76
KB
-rw-r--r--
2019-08-08 12:00
structsnd__timer__tread__t.html
8.42
KB
-rw-r--r--
2019-08-08 12:00
structsnd__tplg__bytes__template.html
11.35
KB
-rw-r--r--
2019-08-08 12:00
structsnd__tplg__channel__elem.html
8.65
KB
-rw-r--r--
2019-08-08 12:00
structsnd__tplg__channel__map__template.html
7.96
KB
-rw-r--r--
2019-08-08 12:00
structsnd__tplg__channel__template.html
5.92
KB
-rw-r--r--
2019-08-08 12:00
structsnd__tplg__ctl__template.html
9.91
KB
-rw-r--r--
2019-08-08 12:00
structsnd__tplg__dai__template.html
12.13
KB
-rw-r--r--
2019-08-08 12:00
structsnd__tplg__enum__template.html
11.45
KB
-rw-r--r--
2019-08-08 12:00
structsnd__tplg__graph__elem.html
8.26
KB
-rw-r--r--
2019-08-08 12:00
structsnd__tplg__graph__template.html
7.73
KB
-rw-r--r--
2019-08-08 12:00
structsnd__tplg__hw__config__template.html
13.47
KB
-rw-r--r--
2019-08-08 12:00
structsnd__tplg__io__ops__template.html
8.23
KB
-rw-r--r--
2019-08-08 12:00
structsnd__tplg__link__template.html
12.93
KB
-rw-r--r--
2019-08-08 12:00
structsnd__tplg__mixer__template.html
11.44
KB
-rw-r--r--
2019-08-08 12:00
structsnd__tplg__obj__template.html
5.87
KB
-rw-r--r--
2019-08-08 12:00
structsnd__tplg__obj__template__t.html
15.83
KB
-rw-r--r--
2019-08-08 12:00
structsnd__tplg__pcm__template.html
15.76
KB
-rw-r--r--
2019-08-08 12:00
structsnd__tplg__pdata__template.html
7.56
KB
-rw-r--r--
2019-08-08 12:00
structsnd__tplg__stream__caps__template.html
16.33
KB
-rw-r--r--
2019-08-08 12:00
structsnd__tplg__stream__template.html
10.33
KB
-rw-r--r--
2019-08-08 12:00
structsnd__tplg__tlv__dbscale__template.html
9.14
KB
-rw-r--r--
2019-08-08 12:00
structsnd__tplg__tlv__template.html
6.84
KB
-rw-r--r--
2019-08-08 12:00
structsnd__tplg__widget__template.html
16.21
KB
-rw-r--r--
2019-08-08 12:00
sync_off.png
853
B
-rw-r--r--
2019-08-08 12:00
sync_on.png
845
B
-rw-r--r--
2019-08-08 12:00
tab_a.png
142
B
-rw-r--r--
2019-08-08 12:00
tab_b.png
169
B
-rw-r--r--
2019-08-08 12:00
tab_h.png
177
B
-rw-r--r--
2019-08-08 12:00
tab_s.png
184
B
-rw-r--r--
2019-08-08 12:00
tabs.css
1.14
KB
-rw-r--r--
2019-08-08 12:00
timer.html
6.57
KB
-rw-r--r--
2019-08-08 12:00
timer_8c.html
48.32
KB
-rw-r--r--
2019-08-08 12:00
timer_8h.html
85.53
KB
-rw-r--r--
2019-08-08 12:00
timer_8h_source.html
108.65
KB
-rw-r--r--
2019-08-08 12:00
timer__local_8h_source.html
27.74
KB
-rw-r--r--
2019-08-08 12:00
timer__query_8c.html
31.83
KB
-rw-r--r--
2019-08-08 12:00
tlv_8c.html
11.68
KB
-rw-r--r--
2019-08-08 12:00
topology_8h_source.html
138.52
KB
-rw-r--r--
2019-08-08 12:00
unionsnd__pcm__sync__id__t.html
8.07
KB
-rw-r--r--
2019-08-08 12:00
unionsnd__seq__timestamp__t.html
7.61
KB
-rw-r--r--
2019-08-08 12:00
use-case_8h.html
26.77
KB
-rw-r--r--
2019-08-08 12:00
use-case_8h_source.html
36.97
KB
-rw-r--r--
2019-08-08 12:00
version_8h_source.html
7.33
KB
-rw-r--r--
2019-08-08 12:00
wave1.gif
1.67
KB
-rw-r--r--
2019-08-08 12:00
wave2.gif
1020
B
-rw-r--r--
2019-08-08 12:00
Save
Rename
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.5"/> <title>ALSA project - the C library reference: /test/timer.c</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { searchBox.OnSelectItem(0); }); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">ALSA project - the C library reference </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.5 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> </div><!-- top --> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Pages</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="header"> <div class="headertitle"> <div class="title">/test/timer.c</div> </div> </div><!--header--> <div class="contents"> <p><a class="anchor" id="example_test_timer"></a> </p> <div class="fragment"><div class="line"><span class="preprocessor">#include <stdio.h></span></div> <div class="line"><span class="preprocessor">#include <stdlib.h></span></div> <div class="line"><span class="preprocessor">#include <string.h></span></div> <div class="line"><span class="preprocessor">#include <sys/time.h></span></div> <div class="line"><span class="preprocessor">#include "../include/asoundlib.h"</span></div> <div class="line"></div> <div class="line"><span class="keywordtype">void</span> show_status(<span class="keywordtype">void</span> *handle)</div> <div class="line">{</div> <div class="line"> <span class="keywordtype">int</span> err;</div> <div class="line"> <a class="code" href="group___timer.html#ga6fe20f2c0d1535e3a200944b1244f855">snd_timer_status_t</a> *status;</div> <div class="line"> </div> <div class="line"> <a name="a0"></a><a class="code" href="group___timer.html#ga6597b8f73b30a3f2bf2aa9f3590b92f2">snd_timer_status_alloca</a>(&status);</div> <div class="line"> <span class="keywordflow">if</span> ((err = <a name="a1"></a><a class="code" href="group___timer.html#gaa78c7089909252ee0ca69f7552fa2804">snd_timer_status</a>(handle, status)) < 0) {</div> <div class="line"> fprintf(stderr, <span class="stringliteral">"timer status %i (%s)\n"</span>, err, <a name="a2"></a><a class="code" href="group___error.html#ga182bbadf2349e11602bc531e8cf22f7e">snd_strerror</a>(err));</div> <div class="line"> <span class="keywordflow">return</span>;</div> <div class="line"> }</div> <div class="line"> printf(<span class="stringliteral">"STATUS:\n"</span>);</div> <div class="line"> printf(<span class="stringliteral">" resolution = %li\n"</span>, <a name="a3"></a><a class="code" href="group___timer.html#gaaab668cc548b6c4a24236504d63da0a0">snd_timer_status_get_resolution</a>(status));</div> <div class="line"> printf(<span class="stringliteral">" lost = %li\n"</span>, <a name="a4"></a><a class="code" href="group___timer.html#gaa7ad78e8af9855e71d4951147869693b">snd_timer_status_get_lost</a>(status));</div> <div class="line"> printf(<span class="stringliteral">" overrun = %li\n"</span>, <a name="a5"></a><a class="code" href="group___timer.html#gaf3a83c122c2e19059297599d3486c04d">snd_timer_status_get_overrun</a>(status));</div> <div class="line"> printf(<span class="stringliteral">" queue = %li\n"</span>, <a name="a6"></a><a class="code" href="group___timer.html#ga6edb10e32b6b485ecccef73d862ca648">snd_timer_status_get_queue</a>(status));</div> <div class="line">}</div> <div class="line"></div> <div class="line"><span class="keywordtype">void</span> read_loop(<span class="keywordtype">void</span> *handle, <span class="keywordtype">int</span> master_ticks, <span class="keywordtype">int</span> timeout)</div> <div class="line">{</div> <div class="line"> <span class="keywordtype">int</span> count, err;</div> <div class="line"> <span class="keyword">struct </span>pollfd *fds;</div> <div class="line"> <a name="_a7"></a><a class="code" href="structsnd__timer__read__t.html">snd_timer_read_t</a> tr;</div> <div class="line"> </div> <div class="line"> count = <a name="a8"></a><a class="code" href="group___timer.html#gaf035c37343afed7f13c60e950e461cdf">snd_timer_poll_descriptors_count</a>(handle);</div> <div class="line"> fds = calloc(count, <span class="keyword">sizeof</span>(<span class="keyword">struct</span> pollfd));</div> <div class="line"> <span class="keywordflow">if</span> (fds == NULL) {</div> <div class="line"> fprintf(stderr, <span class="stringliteral">"malloc error\n"</span>);</div> <div class="line"> exit(EXIT_FAILURE);</div> <div class="line"> }</div> <div class="line"> <span class="keywordflow">while</span> (master_ticks-- > 0) {</div> <div class="line"> <span class="keywordflow">if</span> ((err = <a name="a9"></a><a class="code" href="group___timer.html#ga89ec000a41fa7dd1269e332324663f61">snd_timer_poll_descriptors</a>(handle, fds, count)) < 0) {</div> <div class="line"> fprintf(stderr, <span class="stringliteral">"snd_timer_poll_descriptors error: %s\n"</span>, <a class="code" href="group___error.html#ga182bbadf2349e11602bc531e8cf22f7e">snd_strerror</a>(err));</div> <div class="line"> exit(EXIT_FAILURE);</div> <div class="line"> }</div> <div class="line"> <span class="keywordflow">if</span> ((err = poll(fds, count, timeout)) < 0) {</div> <div class="line"> fprintf(stderr, <span class="stringliteral">"poll error %i (%s)\n"</span>, err, strerror(err));</div> <div class="line"> exit(EXIT_FAILURE);</div> <div class="line"> }</div> <div class="line"> <span class="keywordflow">if</span> (err == 0) {</div> <div class="line"> fprintf(stderr, <span class="stringliteral">"timer time out!!\n"</span>);</div> <div class="line"> exit(EXIT_FAILURE);</div> <div class="line"> }</div> <div class="line"> <span class="keywordflow">while</span> (<a name="a10"></a><a class="code" href="group___timer.html#ga724ada94d0bc3564ad77973c0a084682">snd_timer_read</a>(handle, &tr, <span class="keyword">sizeof</span>(tr)) == <span class="keyword">sizeof</span>(tr)) {</div> <div class="line"> printf(<span class="stringliteral">"TIMER: resolution = %uns, ticks = %u\n"</span>,</div> <div class="line"> tr.<a name="a11"></a><a class="code" href="structsnd__timer__read__t.html#a74c2d329a2a2c9c3bc53d5678b0fafe9">resolution</a>, tr.<a name="a12"></a><a class="code" href="structsnd__timer__read__t.html#a6f1deb447c21188ac4590e872358edd9">ticks</a>);</div> <div class="line"> }</div> <div class="line"> }</div> <div class="line"> free(fds);</div> <div class="line">}</div> <div class="line"></div> <div class="line"><span class="keyword">static</span> <span class="keywordtype">void</span> async_callback(<a class="code" href="group___global.html#ga8cd9a1d441e9219ca5f2ff04094c7c6d">snd_async_handler_t</a> *ahandler)</div> <div class="line">{</div> <div class="line"> <a class="code" href="group___timer.html#ga7f514d85bfd93e1e5853a5fded89b668">snd_timer_t</a> *handle = <a name="a13"></a><a class="code" href="group___timer.html#gaa497b2873abd234df7e932ecdefad5e0">snd_async_handler_get_timer</a>(ahandler);</div> <div class="line"> <span class="keywordtype">int</span> *acount = <a name="a14"></a><a class="code" href="group___global.html#gad9c76588a87918901c6273e6bc98a1bc">snd_async_handler_get_callback_private</a>(ahandler);</div> <div class="line"> <a class="code" href="structsnd__timer__read__t.html">snd_timer_read_t</a> tr;</div> <div class="line"> </div> <div class="line"> <span class="keywordflow">while</span> (<a class="code" href="group___timer.html#ga724ada94d0bc3564ad77973c0a084682">snd_timer_read</a>(handle, &tr, <span class="keyword">sizeof</span>(tr)) == <span class="keyword">sizeof</span>(tr)) {</div> <div class="line"> printf(<span class="stringliteral">"TIMER: resolution = %uns, ticks = %u\n"</span>,</div> <div class="line"> tr.<a class="code" href="structsnd__timer__read__t.html#a74c2d329a2a2c9c3bc53d5678b0fafe9">resolution</a>, tr.<a class="code" href="structsnd__timer__read__t.html#a6f1deb447c21188ac4590e872358edd9">ticks</a>);</div> <div class="line"> }</div> <div class="line"> (*acount)++;</div> <div class="line">}</div> <div class="line"></div> <div class="line"><span class="keywordtype">int</span> main(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> *argv[])</div> <div class="line">{</div> <div class="line"> <span class="keywordtype">int</span> idx, err;</div> <div class="line"> <span class="keywordtype">int</span> <span class="keyword">class </span>= <a name="a15"></a><a class="code" href="group___timer.html#ggafcf09894847cdee6925ab6e405c358d9ae7a63ed172c4c38199e4d6b3ed9fd728">SND_TIMER_CLASS_GLOBAL</a>;</div> <div class="line"> <span class="keywordtype">int</span> sclass = <a name="a16"></a><a class="code" href="group___timer.html#ggafcf09894847cdee6925ab6e405c358d9a678ee4a7108ad3653fc49a6fe07ae45f">SND_TIMER_CLASS_NONE</a>;</div> <div class="line"> <span class="keywordtype">int</span> card = 0;</div> <div class="line"> <span class="keywordtype">int</span> device = <a name="a17"></a><a class="code" href="group___timer.html#ga1cda350fb4de9a2f7a137c5649e3793c">SND_TIMER_GLOBAL_SYSTEM</a>;</div> <div class="line"> <span class="keywordtype">int</span> subdevice = 0;</div> <div class="line"> <span class="keywordtype">int</span> list = 0;</div> <div class="line"> <span class="keywordtype">int</span> async = 0;</div> <div class="line"> <span class="keywordtype">int</span> acount = 0;</div> <div class="line"> <a class="code" href="group___timer.html#ga7f514d85bfd93e1e5853a5fded89b668">snd_timer_t</a> *handle;</div> <div class="line"> <a class="code" href="group___timer.html#ga87c7e9656e171a76dada7e7e2da37136">snd_timer_id_t</a> *id;</div> <div class="line"> <a class="code" href="group___timer.html#ga8d2a9e26d1f38ce65160d3cd71a2bce3">snd_timer_info_t</a> *info;</div> <div class="line"> <a class="code" href="group___timer.html#ga3450759fce8e0863ebce3221e82bafca">snd_timer_params_t</a> *params;</div> <div class="line"> <span class="keywordtype">char</span> timername[64];</div> <div class="line"> <a class="code" href="group___global.html#ga8cd9a1d441e9219ca5f2ff04094c7c6d">snd_async_handler_t</a> *ahandler;</div> <div class="line"></div> <div class="line"> <a name="a18"></a><a class="code" href="group___timer.html#gaef1895685cb2f65d1a40cc46fa5a7eb2">snd_timer_id_alloca</a>(&<span class="keywordtype">id</span>);</div> <div class="line"> <a name="a19"></a><a class="code" href="group___timer.html#gafad2100b7f0478b8c3c59f0f4aced23e">snd_timer_info_alloca</a>(&info);</div> <div class="line"> <a name="a20"></a><a class="code" href="group___timer.html#ga2e76b7b6f7fe340b4a06935f080fbbbd">snd_timer_params_alloca</a>(&params);</div> <div class="line"></div> <div class="line"> idx = 1;</div> <div class="line"> <span class="keywordflow">while</span> (idx < argc) {</div> <div class="line"> <span class="keywordflow">if</span> (!strncmp(argv[idx], <span class="stringliteral">"class="</span>, 5)) {</div> <div class="line"> <span class="keyword">class </span>= atoi(argv[idx]+6);</div> <div class="line"> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!strncmp(argv[idx], <span class="stringliteral">"sclass="</span>, 6)) {</div> <div class="line"> sclass = atoi(argv[idx]+7);</div> <div class="line"> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!strncmp(argv[idx], <span class="stringliteral">"card="</span>, 5)) {</div> <div class="line"> card = atoi(argv[idx]+5);</div> <div class="line"> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!strncmp(argv[idx], <span class="stringliteral">"device="</span>, 7)) {</div> <div class="line"> device = atoi(argv[idx]+7);</div> <div class="line"> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!strncmp(argv[idx], <span class="stringliteral">"subdevice="</span>, 10)) {</div> <div class="line"> subdevice = atoi(argv[idx]+10);</div> <div class="line"> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!strcmp(argv[idx], <span class="stringliteral">"list"</span>)) {</div> <div class="line"> list = 1;</div> <div class="line"> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!strcmp(argv[idx], <span class="stringliteral">"async"</span>)) {</div> <div class="line"> async = 1;</div> <div class="line"> }</div> <div class="line"> idx++;</div> <div class="line"> }</div> <div class="line"> <span class="keywordflow">if</span> (<span class="keyword">class</span> == <a name="a21"></a><a class="code" href="group___timer.html#ggafcf09894847cdee6925ab6e405c358d9a532f7292aafb8e4eaa8fce3bb42b7ea1">SND_TIMER_CLASS_SLAVE</a> && sclass == <a name="a22"></a><a class="code" href="group___timer.html#ggad834b328331c3a4a4fb42041e2e61298a93c410a46bba52d680058f0718a32879">SND_TIMER_SCLASS_NONE</a>) {</div> <div class="line"> fprintf(stderr, <span class="stringliteral">"slave class is not set\n"</span>);</div> <div class="line"> exit(EXIT_FAILURE);</div> <div class="line"> }</div> <div class="line"> <span class="keywordflow">if</span> (list) {</div> <div class="line"> <a class="code" href="group___timer.html#ga279f189051eba2c5e072c30198deb81a">snd_timer_query_t</a> *qhandle;</div> <div class="line"> <span class="keywordflow">if</span> ((err = <a name="a23"></a><a class="code" href="group___timer.html#ga54f6d3838ff4680fcda97952a60376ff">snd_timer_query_open</a>(&qhandle, <span class="stringliteral">"hw"</span>, 0)) < 0) {</div> <div class="line"> fprintf(stderr, <span class="stringliteral">"snd_timer_query_open error: %s\n"</span>, <a class="code" href="group___error.html#ga182bbadf2349e11602bc531e8cf22f7e">snd_strerror</a>(err));</div> <div class="line"> exit(EXIT_FAILURE);</div> <div class="line"> }</div> <div class="line"> <a name="a24"></a><a class="code" href="group___timer.html#ga93bce2afe5e3f40f9f7adc17339273c4">snd_timer_id_set_class</a>(<span class="keywordtype">id</span>, <a class="code" href="group___timer.html#ggafcf09894847cdee6925ab6e405c358d9a678ee4a7108ad3653fc49a6fe07ae45f">SND_TIMER_CLASS_NONE</a>);</div> <div class="line"> <span class="keywordflow">while</span> (1) {</div> <div class="line"> <span class="keywordflow">if</span> ((err = <a name="a25"></a><a class="code" href="group___timer.html#ga5c10a9b8dc5f4442908fa3d15ab79169">snd_timer_query_next_device</a>(qhandle, <span class="keywordtype">id</span>)) < 0) {</div> <div class="line"> fprintf(stderr, <span class="stringliteral">"timer next device error: %s\n"</span>, <a class="code" href="group___error.html#ga182bbadf2349e11602bc531e8cf22f7e">snd_strerror</a>(err));</div> <div class="line"> <span class="keywordflow">break</span>;</div> <div class="line"> }</div> <div class="line"> <span class="keywordflow">if</span> (<a name="a26"></a><a class="code" href="group___timer.html#ga42ea98dbaf720519453c0110bd06fb8b">snd_timer_id_get_class</a>(<span class="keywordtype">id</span>) < 0)</div> <div class="line"> <span class="keywordflow">break</span>;</div> <div class="line"> printf(<span class="stringliteral">"Timer device: class %i, sclass %i, card %i, device %i, subdevice %i\n"</span>,</div> <div class="line"> <a class="code" href="group___timer.html#ga42ea98dbaf720519453c0110bd06fb8b">snd_timer_id_get_class</a>(<span class="keywordtype">id</span>),</div> <div class="line"> <a name="a27"></a><a class="code" href="group___timer.html#ga82e2754532fa2b5b28733820eab4d600">snd_timer_id_get_sclass</a>(<span class="keywordtype">id</span>),</div> <div class="line"> <a name="a28"></a><a class="code" href="group___timer.html#ga305324f73fc12e7e42891598613a2d29">snd_timer_id_get_card</a>(<span class="keywordtype">id</span>),</div> <div class="line"> <a name="a29"></a><a class="code" href="group___timer.html#gaa864bb9270989329f8acc86c5aec2093">snd_timer_id_get_device</a>(<span class="keywordtype">id</span>),</div> <div class="line"> <a name="a30"></a><a class="code" href="group___timer.html#ga7f52f12140cd97f267143cbcd0832d02">snd_timer_id_get_subdevice</a>(<span class="keywordtype">id</span>));</div> <div class="line"> }</div> <div class="line"> <a name="a31"></a><a class="code" href="group___timer.html#ga13063464032aae91ab4e72dfdb57cb10">snd_timer_query_close</a>(qhandle);</div> <div class="line"> exit(EXIT_SUCCESS);</div> <div class="line"> }</div> <div class="line"> sprintf(timername, <span class="stringliteral">"hw:CLASS=%i,SCLASS=%i,CARD=%i,DEV=%i,SUBDEV=%i"</span>, <span class="keyword">class</span>, sclass, card, device, subdevice);</div> <div class="line"> <span class="keywordflow">if</span> ((err = <a name="a32"></a><a class="code" href="group___timer.html#ga9fa22f49745d1e383f0d6e5d9e795e2e">snd_timer_open</a>(&handle, timername, <a name="a33"></a><a class="code" href="group___timer.html#gac2c50bf6045560bc13aab81f25b2b740">SND_TIMER_OPEN_NONBLOCK</a>))<0) {</div> <div class="line"> fprintf(stderr, <span class="stringliteral">"timer open %i (%s)\n"</span>, err, <a class="code" href="group___error.html#ga182bbadf2349e11602bc531e8cf22f7e">snd_strerror</a>(err));</div> <div class="line"> exit(EXIT_FAILURE);</div> <div class="line"> }</div> <div class="line"> printf(<span class="stringliteral">"Using timer class %i, slave class %i, card %i, device %i, subdevice %i\n"</span>, <span class="keyword">class</span>, sclass, card, device, subdevice);</div> <div class="line"> <span class="keywordflow">if</span> ((err = <a name="a34"></a><a class="code" href="group___timer.html#ga608cb266bf1cfd8f3796e6e55a2d5fe8">snd_timer_info</a>(handle, info)) < 0) {</div> <div class="line"> fprintf(stderr, <span class="stringliteral">"timer info %i (%s)\n"</span>, err, <a class="code" href="group___error.html#ga182bbadf2349e11602bc531e8cf22f7e">snd_strerror</a>(err));</div> <div class="line"> exit(0);</div> <div class="line"> }</div> <div class="line"> printf(<span class="stringliteral">"Timer info:\n"</span>);</div> <div class="line"> printf(<span class="stringliteral">" slave = %s\n"</span>, <a name="a35"></a><a class="code" href="group___timer.html#gaccf0a207b91965e7200355a0daaac6ce">snd_timer_info_is_slave</a>(info) ? <span class="stringliteral">"yes"</span> : <span class="stringliteral">"no"</span>);</div> <div class="line"> printf(<span class="stringliteral">" card = %i\n"</span>, <a name="a36"></a><a class="code" href="group___timer.html#gaddb757aa65e9532ced42ff7e9146ff34">snd_timer_info_get_card</a>(info));</div> <div class="line"> printf(<span class="stringliteral">" id = '%s'\n"</span>, <a name="a37"></a><a class="code" href="group___timer.html#gaf46477b4ca62a7c2bd87926a45ecbd50">snd_timer_info_get_id</a>(info));</div> <div class="line"> printf(<span class="stringliteral">" name = '%s'\n"</span>, <a name="a38"></a><a class="code" href="group___timer.html#ga9360acea37a3351ab9d2c17b7a264395">snd_timer_info_get_name</a>(info));</div> <div class="line"> printf(<span class="stringliteral">" average resolution = %li\n"</span>, <a name="a39"></a><a class="code" href="group___timer.html#ga3b33c3f0af5c93461e9493b0d4a3b81c">snd_timer_info_get_resolution</a>(info));</div> <div class="line"> <a name="a40"></a><a class="code" href="group___timer.html#gac39b36fdcc72cbb05adb909673df04f0">snd_timer_params_set_auto_start</a>(params, 1);</div> <div class="line"> <span class="keywordflow">if</span> (!<a class="code" href="group___timer.html#gaccf0a207b91965e7200355a0daaac6ce">snd_timer_info_is_slave</a>(info)) {</div> <div class="line"> <a name="a41"></a><a class="code" href="group___timer.html#gaa7101edb9ec33fdbbb94e04256388caa">snd_timer_params_set_ticks</a>(params, (1000000000 / <a class="code" href="group___timer.html#ga3b33c3f0af5c93461e9493b0d4a3b81c">snd_timer_info_get_resolution</a>(info)) / 50); <span class="comment">/* 50Hz */</span></div> <div class="line"> <span class="keywordflow">if</span> (<a name="a42"></a><a class="code" href="group___timer.html#ga298418a42230f305c3c4efdf14da3403">snd_timer_params_get_ticks</a>(params) < 1)</div> <div class="line"> <a class="code" href="group___timer.html#gaa7101edb9ec33fdbbb94e04256388caa">snd_timer_params_set_ticks</a>(params, 1);</div> <div class="line"> printf(<span class="stringliteral">"Using %li tick(s)\n"</span>, <a class="code" href="group___timer.html#ga298418a42230f305c3c4efdf14da3403">snd_timer_params_get_ticks</a>(params));</div> <div class="line"> } <span class="keywordflow">else</span> {</div> <div class="line"> <a class="code" href="group___timer.html#gaa7101edb9ec33fdbbb94e04256388caa">snd_timer_params_set_ticks</a>(params, 1);</div> <div class="line"> }</div> <div class="line"> <span class="keywordflow">if</span> ((err = <a name="a43"></a><a class="code" href="group___timer.html#ga3fd358a410688c3aba3e2d69acf027a8">snd_timer_params</a>(handle, params)) < 0) {</div> <div class="line"> fprintf(stderr, <span class="stringliteral">"timer params %i (%s)\n"</span>, err, <a class="code" href="group___error.html#ga182bbadf2349e11602bc531e8cf22f7e">snd_strerror</a>(err));</div> <div class="line"> exit(0);</div> <div class="line"> }</div> <div class="line"> show_status(handle);</div> <div class="line"> <span class="keywordflow">if</span> (async) {</div> <div class="line"> err = <a name="a44"></a><a class="code" href="group___timer.html#ga076a6bbae3bfdb956b0a1a6ea9daa0a2">snd_async_add_timer_handler</a>(&ahandler, handle, async_callback, &acount);</div> <div class="line"> <span class="keywordflow">if</span> (err < 0) {</div> <div class="line"> fprintf(stderr, <span class="stringliteral">"unable to add async handler %i (%s)\n"</span>, err, <a class="code" href="group___error.html#ga182bbadf2349e11602bc531e8cf22f7e">snd_strerror</a>(err));</div> <div class="line"> exit(EXIT_FAILURE);</div> <div class="line"> }</div> <div class="line"> }</div> <div class="line"> <span class="keywordflow">if</span> ((err = <a name="a45"></a><a class="code" href="group___timer.html#gafc990117a12e19a729ff10ef217fe2f9">snd_timer_start</a>(handle)) < 0) {</div> <div class="line"> fprintf(stderr, <span class="stringliteral">"timer start %i (%s)\n"</span>, err, <a class="code" href="group___error.html#ga182bbadf2349e11602bc531e8cf22f7e">snd_strerror</a>(err));</div> <div class="line"> exit(EXIT_FAILURE);</div> <div class="line"> }</div> <div class="line"> <span class="keywordflow">if</span> (async) {</div> <div class="line"> <span class="comment">/* because all other work is done in the signal handler,</span></div> <div class="line"><span class="comment"> suspend the process */</span></div> <div class="line"> <span class="keywordflow">while</span> (acount < 25)</div> <div class="line"> sleep(1);</div> <div class="line"> <a name="a46"></a><a class="code" href="group___timer.html#ga6f8147c0679c820a77f98b1dd5b664a5">snd_timer_stop</a>(handle);</div> <div class="line"> } <span class="keywordflow">else</span> {</div> <div class="line"> read_loop(handle, 25, <a class="code" href="group___timer.html#gaccf0a207b91965e7200355a0daaac6ce">snd_timer_info_is_slave</a>(info) ? 10000 : 25);</div> <div class="line"> }</div> <div class="line"> show_status(handle);</div> <div class="line"> <a name="a47"></a><a class="code" href="group___timer.html#ga155e0b5c831a3140f49c04932da9404f">snd_timer_close</a>(handle);</div> <div class="line"> printf(<span class="stringliteral">"Done\n"</span>);</div> <div class="line"> <span class="keywordflow">return</span> EXIT_SUCCESS;</div> <div class="line">}</div> </div><!-- fragment --> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.5 </small></address> </body> </html>