Skip to content

Commit ec796fb

Browse files
committed
bench
1 parent 02f1fe4 commit ec796fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmarks/decoders/benchmark_audio_decoders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def get_duration(path: Path) -> str:
7171

7272

7373
def decode_with_torchcodec(path: Path) -> None:
74-
AudioDecoder(path).get_samples_played_in_range(start_seconds=0, stop_seconds=None)
74+
AudioDecoder(path).get_all_samples()
7575

7676

7777
def decode_with_torchaudio_StreamReader(path: Path) -> None:

0 commit comments

Comments
 (0)