pytorch / audio

Data manipulation and transformation for audio signal processing, powered by PyTorch
https://pytorch.org/audio
BSD 2-Clause "Simplified" License
2.43k stars 635 forks source link

Do not use channel_layout in StreamReader #3771

Open mthrok opened 2 months ago

mthrok commented 2 months ago

We only care about the number of channels, so no need to create channel_layout.

One can directly pass the number of channels to filter.

Also int64 channel_layout is a deprecated attributes.

PLEASE NOTE THAT THE TORCHAUDIO REPOSITORY IS NO LONGER ACTIVELY MONITORED. You may not get a response. For open discussions, visit https://discuss.pytorch.org/.

pytorch-bot[bot] commented 2 months ago

:link: Helpful Links

:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/audio/3771

Note: Links to docs will display an error until the docs builds have been completed.

:x: 8 New Failures

As of commit 58571d21922543efd226141751532f39b6e13151 with merge base 1980f8af5bcd0bb2ce51965cf79d8d4c25dad8a0 (image):

NEW FAILURES - The following jobs have failed:

* [Build documentation / build / Build doc](https://hud.pytorch.org/pr/pytorch/audio/3771#25239040668) ([gh](https://github.com/pytorch/audio/actions/runs/9178653840/job/25239040668)) `##[error]The operation was canceled.` * [Integration Test / build (3.8)](https://hud.pytorch.org/pr/pytorch/audio/3771#25239040324) ([gh](https://github.com/pytorch/audio/actions/runs/9178653766/job/25239040324)) `Process completed with exit code 1.` * [Unit-tests on Linux CPU / tests (3.10) / linux-job](https://hud.pytorch.org/pr/pytorch/audio/3771#25239041052) ([gh](https://github.com/pytorch/audio/actions/runs/9178653834/job/25239041052)) `##[error]The operation was canceled.` * [Unit-tests on Linux CPU / tests (3.8) / linux-job](https://hud.pytorch.org/pr/pytorch/audio/3771#25239041570) ([gh](https://github.com/pytorch/audio/actions/runs/9178653834/job/25239041570)) `##[error]The operation was canceled.` * [Unit-tests on Linux CPU / tests (3.9) / linux-job](https://hud.pytorch.org/pr/pytorch/audio/3771#25239041910) ([gh](https://github.com/pytorch/audio/actions/runs/9178653834/job/25239041910)) `##[error]The operation was canceled.` * [Unit-tests on Macos CPU / tests / macos-job](https://hud.pytorch.org/pr/pytorch/audio/3771#25239041515) ([gh](https://github.com/pytorch/audio/actions/runs/9178653873/job/25239041515)) `##[error]The operation was canceled.` * [Unittests on Windows CPU / unittests-windows-cpu / windows-job](https://hud.pytorch.org/pr/pytorch/audio/3771#25239040658) ([gh](https://github.com/pytorch/audio/actions/runs/9178653799/job/25239040658)) `torchaudio_unittest\io\stream_writer_test.py::StreamWriterCorrectnessTest::test_filter_graph_audio` * [Unittests on Windows GPU / unittests-windows-gpu / windows-job](https://hud.pytorch.org/pr/pytorch/audio/3771#25239040575) ([gh](https://github.com/pytorch/audio/actions/runs/9178653809/job/25239040575)) `torchaudio_unittest\io\stream_writer_test.py::StreamWriterCorrectnessTest::test_filter_graph_audio`

This comment was automatically generated by Dr. CI and updates every 15 minutes.