Skip to content

Commit

Permalink
Resampler: format, layout accepts str int too
Browse files Browse the repository at this point in the history
  • Loading branch information
WyattBlue committed Jul 1, 2024
1 parent fb6c064 commit cd3f4c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions av/audio/resampler.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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: ...
Expand Down

0 comments on commit cd3f4c2

Please sign in to comment.