3 ܓi=@s&ddlmZmZGdddeeZdS))PluginIndependentPluginc@s0eZdZdZdZdZd Zd ZdZdZ d d Z d S) PulseAudiozThe PulseAudio plugin collects information about the system's inputs sources, output sinks, detected sound cards, and pulse audio's configuration z!The sound server audio middleware pulseaudiosystemdesktophardwarepulseaudio-utilsZpactlcsXddddddg}ddd g}jfd d |Djfd d |Djd dS)Nz list sinksz list sourcesz list cardsinfostatz --versionz --dump-confz--dump-modulesz--checkcsg|]}jd|qS) ) pactl_cmd).0subcmd)self /usr/lib/python3.6/pulseaudio.py /sz$PulseAudio.setup..csg|]}jd|qS)r )pulseaudio_cmd)rr)rrrr2sz /etc/pulse/*)Zadd_cmd_outputZ add_copy_spec)rZ pactl_subcmdsZpulseaudio_subcmdsr)rrsetupszPulseAudio.setupN)rrr)r r) __name__ __module__ __qualname____doc__Z short_descZ plugin_nameZprofilesZpackagesr rrrrrrrsrN)Zsos.report.pluginsrrrrrrr s