o
    O6ufQ  ã                   @   sR   d dl mZmZmZmZ G dd„ deƒZG dd„ deeƒZG dd„ deeeƒZdS )	é    )ÚPluginÚRedHatPluginÚDebianPluginÚUbuntuPluginc                   @   s    e Zd ZdZdZdZdd„ ZdS )Ú	SoundcardzSound devicesÚ	soundcard)ÚdesktopÚhardwarec                 C   s   |   d¡ |  g d¢¡ d S )Nz/proc/asound/*)zaplay -lzaplay -LÚamixer)Úadd_copy_specÚadd_cmd_output©Úself© r   ú>/usr/lib/python3/dist-packages/sos/report/plugins/soundcard.pyÚsetup   s   
zSoundcard.setupN)Ú__name__Ú
__module__Ú__qualname__Ú
short_descÚplugin_nameÚprofilesr   r   r   r   r   r      s
    r   c                       ó   e Zd Z‡ fdd„Z‡  ZS )ÚRedHatSoundcardc                    s   t ƒ  ¡  |  ddg¡ d S )Nz/etc/alsa/*z/etc/asound.*©Úsuperr   r   r   ©Ú	__class__r   r   r      s
   

þzRedHatSoundcard.setup©r   r   r   r   Ú__classcell__r   r   r   r   r      ó    r   c                       r   )ÚDebianSoundcardc                    s   t ƒ  ¡  |  d¡ d S )Nz/etc/pulse/*r   r   r   r   r   r   (   s   
zDebianSoundcard.setupr   r   r   r   r   r!   &   r    r!   N)Úsos.report.pluginsr   r   r   r   r   r   r!   r   r   r   r   Ú<module>   s   
