My first time trying to use the Java Interop features and I’m hitting some issues using the Java Sound API
It’s just the beginning part of a little GUI I’m trying to make that will take audio input and display the waveform.
The problem code is a bit mixed up with the GUI code, but it’s here: https://github.com/geokon-gh/cameba/blob/master/src/cameba/audio.clj
basically the issue I’m having is I keep getting errors like:
No matching method getLine found taking 1 args for class com.sun.media.sound.PortMixer
but when i open up the matching java files there is a “public Line getLine(Line.Info info)”
I barely know Java, so maybe I’m missing something or my guess is I’m calling the interop wrong somehow. However at face value the error just looks incorrect to me b/c there clearly seems to be a method called
getLine and it’s taking one argument.
I’ve been stuck on this for a couple of days, maybe someone has some insight here
It’s probably something obvious I’m missing