Search Unity

Tizen Microphone support

Discussion in 'Tizen' started by skaljac, Aug 22, 2016.

  1. skaljac

    skaljac

    Joined:
    Apr 9, 2015
    Posts:
    33
    Hi,

    I have check Unity Tizen list of unsupported features here http://docs.unity3d.com/es/current/Manual/tizen-unsupported.html and Microphone manual page, and there is no info about Microphone on Tizen.
    So I guess that Microphone class is available on Tizne platform.
    But for some reason I get this error when I try to compile my code on Tizen:

    "The name `Microphone' does not exist in the current context"

    What should I do to make it work?
     
  2. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    362
    Unfortunately microphones are not supported or implemented on Tizen at this time.
     
  3. cuttlefish-creations

    cuttlefish-creations

    Joined:
    Jun 28, 2015
    Posts:
    21
    Do you have any idea on when or if we might be able to use it? I'm very close to creating a voice to text application for smartwatchet which allows my native language
     
  4. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    362
    It's hard to say. Very very few people have ever asked for microphone support on Tizen. In addition, we do not officially support Tizen smartwatches.
     
  5. cuttlefish-creations

    cuttlefish-creations

    Joined:
    Jun 28, 2015
    Posts:
    21
    Alright, I suppose it's to be understood that Tizen features are not on the main roadmap. It a shame that it's so underdeveloped. I'll be trying to make it native in Tizen Studio, but coming from unity it's an utter chaos.
     
  6. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    362
    What do you mean by underdeveloped and utter chaos? Are there any other features that you would like to see for Tizen in Unity? Or specific issues that you have.
     
  7. cuttlefish-creations

    cuttlefish-creations

    Joined:
    Jun 28, 2015
    Posts:
    21
    I don't mean the unity part. Just tizen's own support forum is limited and very badly organised.
     
    Last edited: Mar 23, 2017
  8. zugsoft

    zugsoft

    Joined:
    Apr 23, 2014
    Posts:
    443
    Hello,

    I created a plugin to use Microphone, you can do the same.
    Or you can wait some weeks, I will sell my plugin on the AssetStore
     
  9. zugsoft

    zugsoft

    Joined:
    Apr 23, 2014
    Posts:
    443
    My Microphone plugin works fine with Unity.
    I created a VOIP app with Unity for Samsung Z1,Z2,Z3,Z4, I hope the app will be approved today or tomorrow.

    I am testing my plugin on my Gear S3.
     
  10. Firemaw

    Firemaw

    Joined:
    Aug 24, 2015
    Posts:
    35
    Hi @zugsoft, do you have a link to the Asset Store for your plugin?
     
    zugsoft likes this.
  11. zugsoft

    zugsoft

    Joined:
    Apr 23, 2014
    Posts:
    443
    Hello,
    My plugin is not available on the Asset Store.
    For the moment I only include Microphone function in my plugin, is it enough for you ?
     
  12. wloczykij

    wloczykij

    Joined:
    Sep 4, 2014
    Posts:
    2
    Hello,
    I also need the microphone support in my Tizen application. @zugsoft, is there any way to get your plugin?
     
    zugsoft likes this.
  13. pl_ayground

    pl_ayground

    Joined:
    Dec 17, 2015
    Posts:
    58
    I would also like to use microphone on Tizen. Is the asset store package ready by now?

    Any news @zugsoft?
     
    zugsoft likes this.
  14. zugsoft

    zugsoft

    Joined:
    Apr 23, 2014
    Posts:
    443
    You can use the my MicroPhone plugin for free
    http://www.zugsoft.com/unity/Plugins.zip

    You have to declare some extern variable in your class.

    #if UNITY_TIZEN
    [DllImport("micro")] private static extern int Init(float h);
    [DllImport("micro")] private static extern int Call();
    [DllImport("micro")] private static extern void StopCall();
    [DllImport("micro")] private static extern int Sequence();
    [DllImport("micro")] private static extern System.IntPtr RetrieveData();
    [DllImport("micro")] private static extern int GetBattery();
    [DllImport("micro")] private static extern void SleepMode();
    [DllImport("micro")] private static extern void NormalMode();
    #endif