GithubHelp home page GithubHelp logo

aa_standalone's People

Contributors

bgaster avatar l0calh05t avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

aa_standalone's Issues

Working natively on Windows 10

Currently the standalone application builds on windows, but when loaded the UI for instruments do not load.

The issue turns out to be that on Windows 10, Edge is used, if the feature is enabled, which is necessary to use any modern JS. It seems that unlike web-kit on Mac OS and Gtk-webkit2 on Linux, Edge has some funny behavior with respect to dynamically loading iframes. Many of the current UIs call directly into loaded JS for communicating with the hosting process, using a function called evoke, without indexing via the parent.

In Edge this does not seem to work!

It is unclear to me if this should always work or is just an extended feature of Web-kit. Anyhow the fix for this issue is to use the parent, the main index page that dynamically loads an instruments UI, to communicate with the underlying host. In truth this seems like a more robust abstraction anyway and so moving all UIs to this model seems a valid approach.

I've prototyped this approach with Nuke synth to use this approach and it is now working as expected.

Build issue on Ubuntu

First off, thank you for a great project! I have been meaning to try something similar too. However, I have run into several issues with the build process on Ubuntu (WSL, actually):

Building aa_standalone fails with

   Compiling midir v0.6.2 (https://github.com/bgaster/midir#0bc86b9a)
error[E0308]: mismatched types
   --> /home/xxxxxxxx/.cargo/git/checkouts/midir-eba5c0209c46141b/0bc86b9/src/backend/alsa/mod.rs:654:45
    |
654 |             Err(ref e) if e.errno() == Some(self::nix::errno::Errno::ENOSPC) => {
    |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `nix::errno::consts::Errno`, found enum `backend::alsa::nix::errno::Errno`
    |
    = note: perhaps two different versions of crate `nix` are being used?

error[E0308]: mismatched types
   --> /home/xxxxxxxx/.cargo/git/checkouts/midir-eba5c0209c46141b/0bc86b9/src/backend/alsa/mod.rs:658:45
    |
658 |             Err(ref e) if e.errno() == Some(self::nix::errno::Errno::EAGAIN) => {
    |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `nix::errno::consts::Errno`, found enum `backend::alsa::nix::errno::Errno`
    |
    = note: perhaps two different versions of crate `nix` are being used?

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0308`.
error: could not compile `midir`.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

Since midir (and all other git-dependencies for that matter) are included without a commit and aa_wasmtime is referenced by relative path instead of a repository, these dependencies may have gotten out of sync. As a solution, I would suggest adding a specific revision like so:

[dependencies]
rand = { git = "https://github.com/rust-lang-nursery/rand.git", rev = "9f35b8e" }

As you probably have a combination that works, it would be great if you could tag the specific revisions that work for you, thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.