Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android support deprecated in v2.5? #213

Open
rohankhayech opened this issue Mar 23, 2023 · 1 comment
Open

Android support deprecated in v2.5? #213

rohankhayech opened this issue Mar 23, 2023 · 1 comment

Comments

@rohankhayech
Copy link

It seems as though support for microphone audio processing on Android has been removed in the v2.5 release.

The android package seems to have been removed, including the android specific AudioFactoryDispatcher class that does not rely on the javax.sound package. The jvm module cannot be used due to this dependency which is not available on Android.

(See this commit.)

Is there an alternative to using AudioFactoryDispatcher.fromDefaultMicrophone() as in v2.4 to process audio on Android or has this been officially deprecated?

@rohankhayech rohankhayech changed the title Android support deprecated in 2.5? Android support deprecated in v2.5? Mar 23, 2023
@JorenSix
Copy link
Owner

Hey,
The previous Android 'support' was a bit of a hack. Since I have not been developing for Android for a while I do not know how to do it well so I have removed it for now. I will look into it once I have an android dev setup installed.

A few pointers: the TarsosDSP core package does not depend on javax... so it is usable in its current form on Android. The previous Android AudioFactoryDispatcher.fromDefaultMicrophone() should still work as expected. It is simply the practical packaging stuff I am struggling with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants