fix
This commit is contained in:
parent
0863cd57e4
commit
32702da330
1 changed files with 1 additions and 2 deletions
|
|
@ -17,8 +17,7 @@ pub struct FaustHandle {
|
||||||
|
|
||||||
impl FaustHandle {
|
impl FaustHandle {
|
||||||
pub async fn spawn() -> Result<Self, std::io::Error> {
|
pub async fn spawn() -> Result<Self, std::io::Error> {
|
||||||
let bin_path = env::var("FAUST_DSP")
|
let bin_path = env::var("FAUST_DSP").unwrap_or_else(|_| "dsp/mixer".to_string());
|
||||||
.expect("Set FAUST_DSP env variable to path to mixer faust executable");
|
|
||||||
let bin_path = if !bin_path.starts_with("/") {
|
let bin_path = if !bin_path.starts_with("/") {
|
||||||
format!(
|
format!(
|
||||||
"{}/{}",
|
"{}/{}",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue