From a6438c772eab04ddaaa1b7d7dc2e9db5b46cb695 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Gonz=C3=A1lez?= Date: Tue, 19 Dec 2023 18:28:13 +0100 Subject: [PATCH] chore: unify import style --- crates/build/src/pipelines/audio/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/build/src/pipelines/audio/mod.rs b/crates/build/src/pipelines/audio/mod.rs index 1a81589474..af0b58f2cb 100644 --- a/crates/build/src/pipelines/audio/mod.rs +++ b/crates/build/src/pipelines/audio/mod.rs @@ -5,7 +5,6 @@ use anyhow::Context; use optivorbis::Remuxer; use std::io::Cursor; use tracing::{info_span, Instrument}; -use vorbis_rs::VorbisEncoderBuilder; use super::{ context::PipelineCtx, @@ -114,7 +113,7 @@ async fn symphonia_convert(ext: &str, input: Vec) -> anyhow::Result> probe::Hint, }; - use vorbis_rs::{VorbisBitrateManagementStrategy, VorbisEncoder}; + use vorbis_rs::{VorbisBitrateManagementStrategy, VorbisEncoderBuilder}; // this symphonia decoding code is largely based on symphonia's examples: // https://github.com/pdeljanov/Symphonia/blob/master/symphonia/examples