Init Neon for generating N-API bindings
This commit is contained in:
parent
6d93ed3a70
commit
b4d5019d83
|
@ -13,7 +13,7 @@ readme = "README.md"
|
|||
exclude = ["index.node"]
|
||||
|
||||
[lib]
|
||||
crate-type = ["cdylib"]
|
||||
crate-type = ["rlib", "cdylib"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
features = ["bliss-audio-aubio-rs/rustdoc", "library"]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use bliss_audio::Song;
|
||||
use bliss_rs::bliss_lib::Song;
|
||||
use std::env;
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use bliss_audio::Song;
|
||||
use bliss_rs::bliss_lib::Song;
|
||||
use std::env;
|
||||
|
||||
/**
|
||||
|
|
|
@ -365,7 +365,7 @@ fn chroma_stft(
|
|||
mod test {
|
||||
use super::*;
|
||||
use crate::utils::stft;
|
||||
use crate::{Song, SAMPLE_RATE};
|
||||
use crate::bliss_lib::{Song, SAMPLE_RATE};
|
||||
use ndarray::{arr1, arr2, Array2};
|
||||
use ndarray_npy::ReadNpyExt;
|
||||
use std::fs::File;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
mod bliss_lib;
|
||||
pub mod bliss_lib;
|
||||
mod chroma;
|
||||
pub mod cue;
|
||||
#[cfg(feature = "library")]
|
||||
|
|
|
@ -63,7 +63,7 @@ impl Normalize for LoudnessDesc {
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::Song;
|
||||
use crate::bliss_lib::Song;
|
||||
use std::path::Path;
|
||||
|
||||
#[test]
|
||||
|
|
|
@ -432,7 +432,7 @@ where
|
|||
#[cfg(test)]
|
||||
mod test {
|
||||
use super::*;
|
||||
use crate::Analysis;
|
||||
use crate::bliss_lib::Analysis;
|
||||
use ndarray::arr1;
|
||||
use std::path::Path;
|
||||
|
||||
|
|
|
@ -94,7 +94,7 @@ impl Normalize for BPMDesc {
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::{Song, SAMPLE_RATE};
|
||||
use crate::bliss_lib::{Song, SAMPLE_RATE};
|
||||
use std::path::Path;
|
||||
|
||||
#[test]
|
||||
|
|
|
@ -258,7 +258,7 @@ impl Normalize for ZeroCrossingRateDesc {
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::Song;
|
||||
use crate::bliss_lib::Song;
|
||||
use std::path::Path;
|
||||
|
||||
#[test]
|
||||
|
|
|
@ -165,7 +165,7 @@ pub(crate) fn convolve(input: &Array1<f64>, kernel: &Array1<f64>) -> Array1<f64>
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::Song;
|
||||
use crate::bliss_lib::Song;
|
||||
use ndarray::Array2;
|
||||
use ndarray::{arr1, Array};
|
||||
use ndarray_npy::ReadNpyExt;
|
||||
|
|
Loading…
Reference in New Issue
Block a user