-
Notifications
You must be signed in to change notification settings - Fork 238
iOS sound support #1512
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
iOS sound support #1512
Conversation
…"Objective C++" option when compiling for iOS.
move mRecordingStream to public for DEBUGING (find devid)
|
Ok. This PR might be ready for the next release (not 3.8.0). Thank you for all your great work! I‘ll leave this PR alone for now (= I’ll unsubscribe) and would be happy if someone else took over. Will need to focus on the website. What should be checked:
|
|
Been trying to fix the Connect button crash without success. Turns out it has to do with iOS sockets handling when device goes into idle mode. Crash solution: https://developer.apple.com/library/archive/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/CommonPitfalls/CommonPitfalls.html
Update: no more crash after idle. Solution: ignore SIGPIPE, check return value of sendto, if < 0, reinit the socket and resend. |
Yes - I can help out here. I'll be working in the iOS build once I have the macOS build signed and figured out. |
|
Hmm. Something seems to be wrong with this PR (the diff looks totally wrong). You should maybe apply your code on a clean branch again (and generate separate commits) afterwards open a new PR or git push --force it to your master branch. Have a look at the translation file: https://github.com/jamulussoftware/jamulus/blob/master/TRANSLATING.md which might help you getting the commit history right. |
|
Ok I'll try that. |
|
I've saved your changes now here: https://github.com/ann0see/jamulus/tree/ngSave |
|
Thanks! I'm thinking about creating a brand new branch from jamulus/master, then merge from a blob from my branch before today's commits, without those language files. Do you think it's possible? |
|
No. You should not merge your changes manually. I assume this will make it worse. The cleanest (and easiest way) would probably be to get your code and apply it manually on a new branch. It's probably possible to fix it somehow, but I'm not that confident with git to tell you exactly how to fix this problem. I know @hoffie is quite good at sorting git out. Maybe he can help you? The best way is not a merge, but a rebase if you want to update your branch. It's more complicated sure. Since I also don't often use git rebase, I would probably get me a new branch, cherry pick the commits I want and then force push this branch. However I doubt this is a good solution here. |
That's kind of like what I meant. Will try it first. |
|
I think something like git rebase -i might work (search the net for interactive rebase). |
|
This still seems like a completely invalid commit, given what it's meant to be doing. That should show your current status on your current branch. When you're ready, you should have all your work committed to your branch locally, so there should be no changed files locally. Ideally then do a Once you're happy with what you have on your branch... This brings your local repository up to date with ...gets you back to your branch. The reason for the The rebase can also, quite legitimately, show conflicts. However, I'd be surprised here, as this should be fairly isolated code, right? And once you've resolved any problems, push the changes with It's well worth repeating the rebase process every time any commits have happened to |
|
I’ve got a new clean working branch here https://github.com/ngocdh/jamulus/tree/ngocdhmaster2. Should I just create a new pull request and ditch this one? Simpler, cleaner? |
|
Closing and replacing with #1865 |
iOS now has stereo sound!
Note that for the UI to work nicely (able to quit the settings window for example), #1450 is required.
TODO: Bluetooth headset not working correctly (maybe because of different sample rate). -> or is it, because Android Bluetooth is working fine?
Update: I also added a feature for mobile devices (iOS and Android) in this PR: possibility to switch to built-in mic instead of the external device chosen automatically by the OS, and back. It's helpful when I'm jamming on mobile without external soundcard and want to talk when I'm not playing. More info here: #1512 (comment)_