From cd3f4c263ac3d84c7633954ad6d3228be1e0b421 Mon Sep 17 00:00:00 2001 From: WyattBlue Date: Mon, 1 Jul 2024 04:11:53 -0400 Subject: [PATCH] Resampler: format, layout accepts `str` `int` too --- av/audio/resampler.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/av/audio/resampler.pyi b/av/audio/resampler.pyi index 32861258e..cbf2134aa 100644 --- a/av/audio/resampler.pyi +++ b/av/audio/resampler.pyi @@ -12,8 +12,8 @@ class AudioResampler: def __init__( self, - format: AudioFormat | None = None, - layout: AudioLayout | None = None, + format: str | int | AudioFormat | None = None, + layout: str | int | AudioLayout | None = None, rate: int | None = None, frame_size: int | None = None, ) -> None: ...