Search Unity

Using Android speakerphone's microphone

Discussion in 'Editor & General Support' started by pfialho, Jun 27, 2012.

  1. pfialho

    pfialho

    Joined:
    Oct 24, 2011
    Posts:
    13
    Hi all,

    In my Unity Android app, the user is looking at the phone (as if gaming) while talking. However, the recorded sound (using Microphone.Start) is too low.

    Therefore, I want to use the microphone boost of the Android's "speakerphone" option (shown while in a call). Is this possible right from Unity? or do I have to build an Eclipse project (as described here) to invoke setSpeakerphoneOn(true) (which I suppose will boost both the phone's mic and the loudspeaker, although the latter isn't needed/desirable), before invoking my Unity app?

    Best regards,
    Peter

    EDIT: sorry for misplacing this thread. How can I move it to the android development forum?
     
    Last edited: Jun 27, 2012