set_audio_backend: Set the backend for I/O operation

View source: R/backend-common.R

set_audio_backendR Documentation

Set the backend for I/O operation

Description

Set the backend for I/O operation

Usage

set_audio_backend(backend)

Arguments

backend

(str): one of 'av_loader', 'audiofile_loader' or 'tuneR_loader'.

Value

invisible(NULL).

It will set torchaudio.loader and torchaudio.loader.name options:“ options( torchaudio.loader = rlang::as_function(backend), torchaudio.loader.name = backend )


curso-r/torchaudio documentation built on Aug. 6, 2022, 2:28 a.m.