Traktor/myenv/Lib/site-packages/torchaudio/utils/ffmpeg_utils.py

12 lines
319 B
Python
Raw Normal View History

2024-05-26 05:12:46 +02:00
"""Module to change the configuration of FFmpeg libraries (such as libavformat).
It affects functionalities in :py:mod:`torchaudio.io` (and indirectly :py:func:`torchaudio.load`).
"""
# This file is just for BC.
def __getattr__(item):
from torio.utils import ffmpeg_utils
return getattr(ffmpeg_utils, item)