
    y9>iG                     (    d Z ddlmZ d Zd Zd ZdS )z&Archive commands for the flac program.   )fileutilc                 >    t          j        || d          }|d| d|gS )z(Decompress a FLAC archive to a WAV file.z.wav)	extensionz--decode--output-name)r   get_single_outfile)archivecompressioncmd	verbosityinteractiveoutdiroutfiles          V/var/www/html/auto_sub_bot/venv/lib/python3.11/site-packages/patoolib/programs/flac.pyextract_flacr      s*    )&'VLLLGWow??    c                     ||d         dd| gS )z&Compress a WAV file to a FLAC archive.    z--bestr    )r   r	   r
   r   r   	filenamess         r   create_flacr      s    1x'BBr   c                     |d| gS )zTest a FLAC file.z--testr   )r   r	   r
   r   r   s        r   	test_flacr      s    7##r   N)__doc__ r   r   r   r   r   r   r   <module>r      s\    - ,      @ @ @C C C
$ $ $ $ $r   