Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Dynamic AudioConnections

Hybrid View

  1. #1
    Member
    Join Date
    Mar 2019
    Location
    Hoboken, New Jersey, USA
    Posts
    77

    Dynamic AudioConnections

    Would be nice to be able to change source and destination of AudioConnections at runtime.
    This way we can dynamically connect anything to anything instead of hard-wiring.

    The change should be minimal: add copies of connect() with the parameters in the constructors, just call disconnect() before applying the new sources and call connect() later.
    This would allow to arrange any number of effects in any sequence as the user wants.

    Thanks.

  2. #2
    You can do this already by dynamically creating/deleting audio connection objects though.

  3. #3
    Member
    Join Date
    Mar 2019
    Location
    Hoboken, New Jersey, USA
    Posts
    77
    Wow, I didn't know about that. I just saw it always being static.
    This is really all I need, then. I'll try it tonight.

    Thanks @JarkkoL

  4. #4
    Senior Member
    Join Date
    Nov 2017
    Location
    Belgium
    Posts
    165
    Quote Originally Posted by JarkkoL View Post
    You can do this already by dynamically creating/deleting audio connection objects though.
    Thanks for the tip. Works like a charm.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •