"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "07a0c1cb3fe2d12ba1a97e9455df96984b1bab78"
Commit 8ef6de9f authored by hwangjeff's avatar hwangjeff Committed by Facebook GitHub Bot
Browse files

Update sox info docstring to account for mp3 frame count handling (#2742)

Summary:
Updates sox info docstring to account for mp3 frame count handling fix introduced in https://github.com/pytorch/audio/issues/2740.

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

Reviewed By: nateanl

Differential Revision: D40189846

Pulled By: nateanl

fbshipit-source-id: d6371418d7d4867dd0b97ee72ebf846d5c93dc30
parent 7729723b
...@@ -69,7 +69,7 @@ def info( ...@@ -69,7 +69,7 @@ def info(
* When the input type is file-like object, this function cannot * When the input type is file-like object, this function cannot
get the correct length (``num_samples``) for certain formats, get the correct length (``num_samples``) for certain formats,
such as ``mp3`` and ``vorbis``. such as ``vorbis``.
In this case, the value of ``num_samples`` is ``0``. In this case, the value of ``num_samples`` is ``0``.
* This argument is intentionally annotated as ``str`` only due to * This argument is intentionally annotated as ``str`` only due to
TorchScript compiler compatibility. TorchScript compiler compatibility.
......
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