Commit aa760caf authored by moto's avatar moto Committed by Facebook GitHub Bot
Browse files

Deprecate sox initialization/shutdown public API functions (#3010)

Summary:
These functions are called part of sox initialization, thus it is no longer needed.

Pull Request resolved: https://github.com/pytorch/audio/pull/3010

Reviewed By: hwangjeff

Differential Revision: D42744478

Pulled By: mthrok

fbshipit-source-id: 17d715b328392397ec47d81a533a307aac22862d
parent 41b88314
......@@ -26,6 +26,4 @@ Utilities
:toctree: generated
:nosignatures:
init_sox_effects
shutdown_sox_effects
effect_names
......@@ -3,9 +3,11 @@ from typing import List, Optional, Tuple
import torch
import torchaudio
from torchaudio._internal.module_utils import deprecated
from torchaudio.utils.sox_utils import list_effects
@deprecated("Please remove the call. This function is called automatically.")
def init_sox_effects():
"""Initialize resources required to use sox effects.
......@@ -20,6 +22,7 @@ def init_sox_effects():
pass
@deprecated("Please remove the call. This function is called automatically.")
def shutdown_sox_effects():
"""Clean up resources required to use sox effects.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment