#!/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()