blob: 8fea1d2120d7fb704dff6dc3cdb6753639c08f0c (
plain)
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
|
#!/usr/bin/env python3
import pacmd, pa, inter
# def low_query(func):
# res = func()
# print("Infos:")
# for info in res.infos:
# print(info)
# print("Sections:")
# for sect in res.sections:
# pacmd.dump_section(sect)
# def high_query(func):
# res = func()
# for x in res:
# print(x)
# low_query(pacmd.list_sinks)
# high_query(pa.list_sinks)
# print()
# high_query(pa.list_sink_inputs)
inter.start()
inter.mainloop()
inter.end()
|