Coder Social home page Coder Social logo

gatzsche / flutter-audio-unit-extension-experiments Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 3.04 MB

I'm trying to make Flutter based Audio Unit Extensions possible.

License: MIT License

Swift 34.72% Objective-C 30.41% C++ 16.17% Objective-C++ 13.35% Kotlin 0.07% Dart 2.70% Python 0.67% HTML 1.92%

flutter-audio-unit-extension-experiments's Introduction

FlutterViewController Not Visible in Audio Unit Extensions

Goal

Make it possible to develop Audio Unit Extensions with Flutter.

Problem

Until now we were not able to show a Flutter view controller within an Audio Unit Extensions

Solution

We need support from the Flutter team, to help us to make FlutterViewController work as part of an Audio Unit Extension. Here are the steps to reproduce the issue:

1. Check out and prepare the repository

git clone [email protected]:gatzsche/flutter-audio-unit-extension-experiments.git
cd flutter-audio-unit-extension-experiments/
cd flutter_auv3_unit/
flutter pub get

2. Build and run the plugin container app

  • Open flutter_auv3_unit/ios/Runner.xcworkspace/ with Xcode.

  • Select target Runner

    INL010485.png

  • Run Runner on a chosen simulator

    INL010486.png

3. Build and run the plugin host app

  • Open AUV3Host/AUv3Host/AUv3Host.xcodeproj/ with Xcode

  • Select iOSAUv3Host as target

    INL010487.png

  • Run iOSAUv3Host on the same simulator the plugin container app was executed.

    INL010488.png

4. Debug the audio unit using the plugin host app

  • Switch back to flutter_auv3_unit/ios/Runner.xcworkspace/ Xcode project

  • Select audio unit target FlutterAUV3

    INL010489.png

  • Run the plugin on the same simulator as before

    INL010490.png

  • Select AUv3Host as the app to run

    INL010491.png

  • Within AUv3Host: select the Instruments tab

    INL010492.png

  • Select Flutter Example Audio Unit

    INL010493.png

  • Wait three seconds

  • Click on View

    INL010494.png

5. Here is the bug

  • Normally the Flutter default app should be shown
  • But you see only the red background of the FlutterViewController

6. Hints

  • The commandline output shows that flutter is executed and also the widget tree is built. Probably the rendering does not work properly.

    INL010497.png

flutter-audio-unit-extension-experiments's People

Contributors

gatzsche avatar

Watchers

 avatar  avatar

Forkers

alexsheiko

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.