-
Notifications
You must be signed in to change notification settings - Fork 105
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
Suppress mis-detection as USB Audio. #33
Comments
Added USB Audio source cancelling feature.
Maybe this helps some of you guys. As a workaround, I’ve added this part to the FAQs of my website: No Sound when USB MIDI Controller/Keyboard connected This seems to be an Android OS or driver bug on several devices (e.g. Sony XPeria Z1/Z3 running on Android 4.4). Devices with that bug think the connected USB MIDI device is actually an USB Audio interface and therefore route the audio output to the USB MIDI interface rather than the speakers/headphones (which does of course not work). For now, the only workaround is to override the wrong audio routing in use of an app called SoundAbout, which can be downloaded from Google Play: https://play.google.com/store/apps/details?id=com.woodslink.android.wiredheadphoneroutingfix https://play.google.com/store/apps/details?id=com.woodslink.android.wiredheadphoneroutingfix Once installed, follow the steps below:
Et voilà, audio works again. Von: Kaoru Shoji [mailto:[email protected]] Some Android devices treat USB MIDI devices as USB Audio devices. — |
I've analysed the SoundAbout app, and wrote the code and document about this issue. |
Hi Kaoru Thanks a million, that’s great news. I’ll analyze the code as soon as possible and test it on the Z3. Greetings, Andreas Von: Kaoru Shoji [mailto:[email protected]] I've analysed the SoundAbout app, and wrote the code and document about this issue.
— |
Hi Kaoru Finally our movement is done and I got back to work, and so found time to test your solution. First of all, excellent work, the solution is simple and works out of the box. There are 2 things that could be problematic:
I’ve also tested it on the Z3 with the latest Android update (5.0.2) where the mis-detection does not happen anymore (even without the fix). I don’t know if this applies to all Android 5.0.2 builds, but I’d say no, since the manufacturers often work with their own drivers. However, thanks a ton, as is it already works around 95% of the problems. Greetings, Andreas Von: Kaoru Shoji [mailto:[email protected]] I've analysed the SoundAbout app, and wrote the code and document about this issue.
— |
Hi. I found this issue was the answer to my problems but I can't seem to make the workaround to work. I have registered the UsbAudioConnectionCanceller but I'm not having any intent being filtered. I'm currently using Android 5.1.1 on a Bq Aquaris M5. I'm trying with two distinct MIDI interfaces: Roland UM-ONE and Arturia Minilab. Has anyone here stumbled on this also? |
Some Android devices treat USB MIDI devices as USB Audio devices.
When such Android device attaches USB MIDI device, USB Audio will be selected as the audio output source.
As the result, sound playing will be stopped.
The text was updated successfully, but these errors were encountered: