adrielcafe / AndroidAudioRecorder

A fancy audio recorder lib for Android. Supports WAV format at 48kHz.
1.63k stars 380 forks source link

java.lang.NoClassDefFoundError for AudioSource in Util.java #50

Open umutgur opened 6 years ago

umutgur commented 6 years ago

In cafe.adriel.androidaudiorecorder.Util.java file, AudioSource could not found

public static omrecorder.AudioSource getMic(AudioSource source,
                                                AudioChannel channel,
                                                AudioSampleRate sampleRate) {
        return new omrecorder.AudioSource.Smart(
                source.getSource(),
                AudioFormat.ENCODING_PCM_16BIT,
                channel.getChannel(),
                sampleRate.getSampleRate());
    }

Here is the screenshot from error,

ekran resmi 2018-05-09 03 00 29

Thanks