Closed rohanoid5 closed 8 years ago
Did you try implementing runtime permission and ask for record audio permission? See here for more details - http://developer.android.com/training/permissions/requesting.html
If you are testing then go to app details via settings and toggle the voice switch in permission section.
@rohanoid5 As @codekidX mentioned you need to request permissions first. You can check sample app for example. Also you can use a trick and set tragetSdkVersion to 22 or below :)
I have included the Manifest.permission.RECORD_AUDIO and Manifest.permission.MODIFY_AUDIO_SETTINGS but still I'm getting "Cannot initialize Visualizer engine, error: -3" on Marshmallow Devices.