Replies: 46 comments
-
Some progress reported here: https://sourceforge.net/p/llcon/discussion/533517/thread/cfd165e0/#452b/6e3b |
Beta Was this translation helpful? Give feedback.
-
See here: https://www.facebook.com/groups/507047599870191/permalink/521878088387142/ |
Beta Was this translation helpful? Give feedback.
-
Is there any instructions on how to build this? or any specific branch/forked repository I could refer to? From the previous links there seems to be some implementation working to some extent. I might be able to give a hand, at least testing |
Beta Was this translation helpful? Give feedback.
-
The code on master is from Simon. But it does not work correctly. Recently, I have started a branch where I do some testing. But also, nothing working yet. |
Beta Was this translation helpful? Give feedback.
-
Ok, thanks. I got it to compile and started testing. There's an mistake on android/sound.cpp: on pSound->vecsTmpAudioSndCrdStereo[frmNum * oboeStream->getChannelCount() + channelNum] =
(short) floatData[frmNum * oboeStream->getChannelCount() + channelNum] * _MAXSHORT; should be pSound->vecsTmpAudioSndCrdStereo[frmNum * oboeStream->getChannelCount() + channelNum] =
(int16_t)(floatData[frmNum * oboeStream->getChannelCount() + channelNum] * _MAXSHORT); otherwise the precedence of the casting operator will make the input always 0. Changing that if I write to a file the content To continue progressing I might need to understand better how the whole things work (I'm not at all familiar with neither your code or even the oboe library). A few doubts:
In this last case, I'd go probably for a temporary circular buffer where the |
Beta Was this translation helpful? Give feedback.
-
I'll merge from a branch soon, where the int 16 type is replaced by float.
Yes, the input/output audio vector for the audio interfaces is assumed to be always stereo. If you have only a mono stream available, just write the same audio data in both stereo channels. On my branch https://github.com/corrados/jamulus/tree/android_testing I tried to use the full duplex oboe example class. But it is not yet finished. There is function onBothStreamsReady which should have the same size for input and output (which is what Jamulus expects). |
Beta Was this translation helpful? Give feedback.
-
I've got some working code at j-santander@a3558aa In my tests I can hear other clients and they can hear me. Not sure of the overall quality of sound. Key modification was to setup the callback only on the input stream and do explicit write to the output stream after processing the incoming data. I'll try to have a look at the code in the android_testing branch and incorporate it. Let me know what you think or how should I proceed. Cheers |
Beta Was this translation helpful? Give feedback.
-
My code on the android_testing branch is not working. I was just experimenting a bit. You do not need to use any of that code. If you have something working, then you could create a pull request. I can then test it on my Android phone. But be aware that some minutes ago I applied a big change to the code on master. |
Beta Was this translation helpful? Give feedback.
-
Created PR #661. Thanks |
Beta Was this translation helpful? Give feedback.
-
How’s the quality? I assume it would be best to try it with a LAN adapter |
Beta Was this translation helpful? Give feedback.
-
I might be able to test with more people today. |
Beta Was this translation helpful? Give feedback.
-
i'm interested to test the android code but i do not have experience to compile qt5 project for andoid can you help me? |
Beta Was this translation helpful? Give feedback.
-
@j-santander I tested your code and it crashed with "AudioStreamRecord: maybeConvertDeviceData() conversion size 256 too large for buffer 128". I had the same error message on my Android testing branch. This is a known bug in the Oboe library. We have to use a newer version. Just to let you know: I'll now update the Oboe Git submodule to the newest Oboe code now to avoid this issue. |
Beta Was this translation helpful? Give feedback.
-
I just updated the Oboe library version but unfortunately, it still crashes, now with a different error message: " InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed." |
Beta Was this translation helpful? Give feedback.
-
Oh, I'll test it more on my side. I didn't experience neither of the errors. I'm on Android 11, not sure if it has anything to do. |
Beta Was this translation helpful? Give feedback.
-
The UI on Android looks the same as on the PC. No need for QML. |
Beta Was this translation helpful? Give feedback.
-
Ok. I hope, my problem can be fixed in some way without having to rewrite the UI for iOS |
Beta Was this translation helpful? Give feedback.
-
Qt should give you the same GUI on all platforms. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I got the code compiled and the GUI running, but not Audio transmission. Will try a different device as next step... |
Beta Was this translation helpful? Give feedback.
-
I have the audio part well working on my tablet (X10605). Some UI issues are still open (mainly using the "back" button) I am thinking about a source for "nightly" APKs, for those eager to have at least anything. |
Beta Was this translation helpful? Give feedback.
-
GH actions should be able to build it automatically. Once #828 is merged and tested, it should be quite easy to add an action which automatically builds apk files. |
Beta Was this translation helpful? Give feedback.
-
That would be creat. Since the Action searches for a "r*" tag, I could easily create beta versions by simply tagging the Git repo with something like r3.6.2beta1. |
Beta Was this translation helpful? Give feedback.
-
Yes, that’s possible but will also move the latest tag. I tried to setup an Android build environment on a clean Debian 10 VM but didn’t succeed unfortunately. |
Beta Was this translation helpful? Give feedback.
-
I tried with an Ubuntu, but also no success yet. |
Beta Was this translation helpful? Give feedback.
-
Until an official build is available, the APK of my pull request can be found here: |
Beta Was this translation helpful? Give feedback.
-
I've now created a project board on this topic, since I think it's a larger one. It would be great if we could close this issue and document needed changes in separate issues and in https://github.com/jamulussoftware/jamulus/projects/6 |
Beta Was this translation helpful? Give feedback.
-
Just a quick reminder here: Thanks to nefarius we have working .apk android builds here: https://github.com/jamulussoftware/jamulus/releases/tag/r3_7_0beta3 Once 3.7.0 is out, GitHub actions will automatically build apk files for every new release. |
Beta Was this translation helpful? Give feedback.
-
I'm wondering if we want to bless them as "official" already or rather mark them as experimental for now? I gave them a quick try and while the UI worked, I did not manage to get usable sound out of it on a Moto G4 Play (distortion in short frequency, not the typical Wifi-related unreliability). If this is supposed to work, I should probably open a bug report about it. Until now I assumed that this was some kind of proof of concept...? :) |
Beta Was this translation helpful? Give feedback.
-
Yes. You're right. I just edited my post. Some people have reported "usable" results: #1142 |
Beta Was this translation helpful? Give feedback.
-
Moving this to discussion in the interests of keeping issues to actionable work items. |
Beta Was this translation helpful? Give feedback.
-
This issue has been migrated from Sourceforge. Created: 2015-12-13
Creator: Volker Fischer
Add support for the Android operating system. The software can already be compiled for Android but the audio interface does not work right now. So the first step is to finish the audio interface implementation. As a second step, all GUI functionality must be checked that it is possible to use it with a touch screen only.
Beta Was this translation helpful? Give feedback.
All reactions