-1

I'm trying to use the android's AudioRecord in LibGdx, but when I press on "Add library 'android-android-25' to classpath" nothing happens. I cannot use LibGdx's AudioRecorder, because I want to get the amplitude of the microphone (like .getMaxAmplitude).

Thanks

Abhishek Aryan
  • 19,936
  • 8
  • 46
  • 65

1 Answers1

0

You can't use AudioRecord class of Android platform because LibGDX is cross platform development library.

but you can use it only for Android platform using interface and core module of LibGDX

Abhishek Aryan
  • 19,936
  • 8
  • 46
  • 65