BR: Android Oboe: Missing device type in deviceTypeToString

Pixel 6, Android 13, deviceTypeToString asserts with int type=28. I can’t find this index in AudioDeviceInfo  |  Android Developers so it must be newer than the webpage (par for the course with Android docs!).

1 Like

It looks like the range of 25 to 30 are “hidden” possibilities: media/java/android/media/AudioDeviceInfo.java - platform/frameworks/base - Git at Google

JUCE presently only hides case 25. Can someone please extend this to reach 30 here (or probably something more clever, like just not asserting?): JUCE/juce_android_Oboe.cpp at master · juce-framework/JUCE · GitHub ?

@attila @reuk Can you have a look at this one? We’re consistently having to modify JUCE to work around this assertion which is rather annoying.

Thanks for reporting. A fix has been released on develop

1 Like