Files
smallwhisper/pyaudioop.py
T

9 lines
333 B
Python

"""Shim module to satisfy pydub's optional import of `pyaudioop`.
It simply re-exports the standard library `audioop` functions.
"""
import audioop as _audioop
# Export everything that does not start with an underscore
for _name in dir(_audioop):
if not _name.startswith('_'):
globals()[_name] = getattr(_audioop, _name)