Update fork information

This commit is contained in:
NGnius (Graham) 2022-03-27 12:04:28 -04:00
parent 2c76cf0328
commit 4db79db51f
3 changed files with 7 additions and 13 deletions

View file

@ -1,12 +1,12 @@
[package] [package]
name = "bliss-audio-symphonia" name = "bliss-audio-symphonia"
version = "0.6.5" version = "0.6.5"
authors = ["Polochon-street <polochonstreet@gmx.fr>"] authors = ["Polochon-street <polochonstreet@gmx.fr>", "NGnius (Graham) <ngniusness@gmail.com>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-only" license = "GPL-3.0-only"
description = "A song analysis library for making playlists" description = "A song analysis library for making playlists"
homepage = "https://lelele.io/bliss.html" homepage = "https://lelele.io/bliss.html"
repository = "https://github.com/Polochon-street/bliss-rs" repository = "https://github.com/NGnius/bliss-rs"
keywords = ["audio", "analysis", "MIR", "playlist", "similarity"] keywords = ["audio", "analysis", "MIR", "playlist", "similarity"]
readme = "README.md" readme = "README.md"

View file

@ -1,3 +1,5 @@
A modified version of the bliss-audio to remove ffmpeg and replace it with Rust's symphonia library.
[![crate](https://img.shields.io/crates/v/bliss-audio.svg)](https://crates.io/crates/bliss-audio) [![crate](https://img.shields.io/crates/v/bliss-audio.svg)](https://crates.io/crates/bliss-audio)
[![build](https://github.com/Polochon-street/bliss-rs/workflows/Rust/badge.svg)](https://github.com/Polochon-street/bliss-rs/actions) [![build](https://github.com/Polochon-street/bliss-rs/workflows/Rust/badge.svg)](https://github.com/Polochon-street/bliss-rs/actions)
[![doc](https://docs.rs/bliss-audio/badge.svg)](https://docs.rs/bliss-audio/) [![doc](https://docs.rs/bliss-audio/badge.svg)](https://docs.rs/bliss-audio/)
@ -103,10 +105,9 @@ To cross-compile bliss-rs from linux to x86_64 windows, install the
Make sure you have `x86_64-w64-mingw32-gcc` installed on your computer. Make sure you have `x86_64-w64-mingw32-gcc` installed on your computer.
Then after downloading and extracting [ffmpeg's prebuilt binaries](https://www.gyan.dev/ffmpeg/builds/), Then run:
running:
FFMPEG_DIR=/path/to/prebuilt/ffmpeg cargo build --target x86_64-pc-windows-gnu --release cargo build --target x86_64-pc-windows-gnu --release
Will produce a `.rlib` library file. If you want to generate a shared `.dll` Will produce a `.rlib` library file. If you want to generate a shared `.dll`
library, add: library, add:
@ -122,13 +123,7 @@ library, add:
You can of course test the examples yourself by compiling them as .exe: You can of course test the examples yourself by compiling them as .exe:
FFMPEG_DIR=/path/to/prebuilt/ffmpeg cargo build --target x86_64-pc-windows-gnu --release --examples cargo build --target x86_64-pc-windows-gnu --release --examples
WARNING: Doing all of the above and making it work on windows requires to have
ffmpeg's dll on your Windows `%PATH%` (`avcodec-59.dll`, etc).
Usually installing ffmpeg on the target windows is enough, but you can also just
extract them from `/path/to/prebuilt/ffmpeg/bin` and put them next to the thing
you generated from cargo (either bliss' dll or executable).
## Acknowledgements ## Acknowledgements

View file

@ -497,7 +497,6 @@ impl Song {
song.read_tags(revision); song.read_tags(revision);
} }
} }
let (tx, rx) = mpsc::channel(); let (tx, rx) = mpsc::channel();
let child = std_thread::spawn(move || { let child = std_thread::spawn(move || {
resample_buffer( resample_buffer(