+
    k'Ïj±  ã                   ó‚   € ^ RI Ht ^ RIt^ RIHt ^ RIHt ]P                  ]P                   ! R R4      4       4       t	R# )é    )ÚEAGAINN)ÚGraph)ÚFFmpegErrorc                   ó^   a € ] tR t^	t o RtRR lt]P                  V 3R lR l4       tRt	V t
R# )ÚAudioResampleraŽ  AudioResampler(format=None, layout=None, rate=None, frame_size=None, options=None)

:param AudioFormat format: The target format, or string that parses to one
    (e.g. ``"s16"``).
:param AudioLayout layout: The target layout, or an int/string that parses
    to one (e.g. ``"stereo"``).
:param int rate: The target sample rate.
:param int frame_size: The number of samples per output frame.
:param dict options: ``libswresample`` options passed to the underlying
    ``aresample`` filter (e.g. ``{"resampler": "soxr", "precision": "28"}``).
    See the `FFmpeg resampler documentation
    <https://ffmpeg.org/ffmpeg-resampler.html>`_ for the full list.
Nc                ó”  € Ve)   \        V\        4      '       d   TM
\        V4      V n        Ve   \        V4      V n        V'       d   \        V4      M^ V n        V'       d   \        V4      M^ V n        V'       d8   VP                  4        UUu/ uF  w  rg\        V4      \        V4      bK  	  uppM/ V n
        R V n        R # u uppi )N)Ú
isinstanceÚAudioFormatÚformatÚAudioLayoutÚlayoutÚintÚrateÚ
frame_sizeÚitemsÚstrÚoptionsÚgraph)Úselfr   r   r   r   r   ÚkÚvs   &&&&&&  ÚL/opt/data/cache/scratch/pip-target-lhm_ju4v/lib/python/av/audio/resampler.pyÚ	__cinit__ÚAudioResampler.__cinit__   s•   € ð Òä$ V¬[×9Ò9‘¼{È6Ó?Rð ŒKð ÒÜ% fÓ-ˆDŒKç!%”C˜”I¨1ˆŒ	ß-7œ#˜jœ/¸QˆŒßGN°7·=±=´?ÔC±?©4¨1œ˜A›¤ A£š±?ÓCÐTVˆŒØˆŽ
ùó Ds   Â Cc                óD   <€ V ^8„  d   QhRS[ R,          RS[S[ ,          /# )é   ÚframeNÚreturn)Ú
AudioFrameÚlist)r   Ú__classdict__s   "€r   Ú__annotate__ÚAudioResampler.__annotate__+   s)   ø€ ÷ añ a™j¨4Õ/ð a±D¹Õ4Dñ aó    c           	     ó*  € V P                   '       g   Vf   . # V P                  '       d   V.# V P                   '       Eg½   Wn        V P                  ;'       g    VP                  V n        V P                  ;'       g    VP                  V n        V P
                  ;'       g    VP                  V n        VP                  P                  V P                  P                  8X  dR   VP                  V P                  8X  d7   VP                  V P
                  8X  d   V P                  ^ 8X  d   RV n        V.# \        4       V n         / pVP                  e   VP                   VR&   V P                   P                  ! RRVP                   R\        VP                  4      P                  RVP                  P                  /VB pV P                   P                  RV P
                   V P                  P                  V P                  P                  R7      pV P                   P                  R	4      pV P                  '       dJ   V P                   P                  ! R/ V P                  B pVP                  V4       VP                  V4       MVP                  V4       VP                  V4       V P                   P!                  4        V P                  ^ 8”  d&   V P                   P#                  V P                  4       Ve�   VP                  P                  V P                  P                  P                  8w  gK   VP                  V P                  P                  8w  g&   VP                  V P                  P
                  8w  d   \%        R
4      hV P                   P'                  V4       . p  VP)                  V P                   P+                  4       4       K-    \,         d     T# \.         d"   pTP0                  \2        8w  d   h  Rp?T# Rp?ii ; i)a?  resample(frame)

Convert the ``sample_rate``, ``channel_layout`` and/or ``format`` of
a :class:`~.AudioFrame`.

:param AudioFrame frame: The frame to convert or `None` to flush.
:returns: A list of :class:`AudioFrame` in new parameters. If the nothing is to be done return the same frame
    as a single element list.

NTÚ	time_baseÚsample_rateÚ
sample_fmtÚchannel_layoutÚaformat)Úsample_ratesÚsample_fmtsÚchannel_layoutsÚabuffersinkz*Frame does not match AudioResampler setup.)Úabuffer)Ú	aresample)r   Úis_passthroughÚtemplater   r   r   r'   r(   r   r   r&   Úaddr
   Únamer   Úlink_toÚ	configureÚset_audio_frame_sizeÚ
ValueErrorÚpushÚappendÚpullÚEOFErrorr   Úerrnor   )	r   r   Ú
extra_argsr/   r*   r.   r0   ÚoutputÚes	   &&       r   ÚresampleÚAudioResampler.resample*   s  € ð �z�zˆz˜ešmØˆIð ××ÐØ�7ˆNð �z�z‰zØ!ŒMð Ÿ+™+×5Ð5¨¯©ˆDŒKØŸ+™+×5Ð5¨¯©ˆDŒKØŸ	™	×6Ð6 U×%6Ñ%6ˆDŒIð —‘×'Ñ'¨4¯;©;×+AÑ+AÔAØ—L‘L D§K¡KÔ/Ø×%Ñ%¨¯©Ô2Ø—O‘O qÔ(à&*�Ô#Ø�w�ô ›ˆDŒJØˆJØ�‰Ò*Ø-2¯_©_Ð,=�
˜;Ñ'à—j‘j—n’nñ à$×0Ñ0Ð1ðô ' u§|¡|Ó4×9Ñ9ðð  %Ÿ|™|×0Ñ0ð	ð
 ñˆGð —j‘j—n‘nØØ $§	¡	˜{Ø ŸK™K×,Ñ,Ø $§¡× 0Ñ 0ð	 %ó ˆGð Ÿ*™*Ÿ.™.¨Ó7ˆKð
 �|�|ˆ|Ø ŸJ™JŸNšNÑG¸$¿,¹,ÑG�	Ø—‘ 	Ô*Ø×!Ñ! 'Õ*à—‘ Ô(à�O‰O˜KÔ(Ø�J‰J× Ñ Ô"à�‰ Ô"Ø—
‘
×/Ñ/°·±Ô@àÒà—‘×'Ñ'¨4¯=©=×+?Ñ+?×+JÑ+JÔJØ—<‘< 4§=¡=×#7Ñ#7Ô7Ø×$Ñ$¨¯©×(:Ñ(:Ô:ä Ð!MÓNÐNà�
‰
�‰˜Ôà#%ˆØðØ—‘˜dŸj™jŸo™oÓ/Ö0øÜô Øð ˆô ô Ø—7‘7œfÔ$ØÛàˆûðús$   Î.)O ÏPÏ'PÏ0PÏ1PÐP)r   r   r   r1   r   r   r   r2   )NNNNN)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   ÚcythonÚccallrA   Ú__static_attributes__Ú__classdictcell__)r!   s   @r   r   r   	   s)   ø‡ € ñôð  ‡\�\÷aó öar$   r   )
r=   r   rH   Úcython.cimports.av.filter.graphr   Úav.errorr   ÚfinalÚcclassr   © r$   r   Ú<module>rQ      s=   ðÝ ã Ý 1å  ð ‡�Ø‡�÷Að Aó ó òAr$   