U
    ·ÜŸjÕ  ã                   @  s~   d dl mZ d dlmZmZ d dlmZ ddlmZ ddl	m
Z
mZ erPd dlZed	d
d�ZG dd„ dee ƒZeszeƒ ZdS )é    )Úannotations)ÚTYPE_CHECKINGÚAny)Úoverrideé   )Ú	LazyProxyé   )ÚMissingDependencyErrorÚformat_instructionsNÚsounddeviceZvoice_helpers)ÚlibraryÚextrac                   @  s   e Zd Zeddœdd„ƒZdS )ÚSounddeviceProxyr   )Úreturnc              
   C  s>   zdd l }W n, tk
r8 } zttƒ|‚W 5 d }~X Y nX |S )Nr   )r   ÚImportErrorr	   ÚSOUNDDEVICE_INSTRUCTIONS)Úselfr   Úerr© r   úD/tmp/pip-unpacked-wheel-2qj3ofc_/openai/_extras/sounddevice_proxy.pyÚ__load__   s
    zSounddeviceProxy.__load__N)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   r      s   r   )Ú
__future__r   Útypingr   r   Útyping_extensionsr   Ú_utilsr   Z_commonr	   r
   r   r   r   r   r   r   r   Ú<module>   s   