Jun Bo Bi

Results 32 comments of Jun Bo Bi

Application: https://github.com/libpinyin/ibus-libpinyin The app is a Input Method for Chinese Distro: Gentoo The path to the icons are here: ``` /usr/share/ibus-libpinyin/icons /usr/share/ibus-libpinyin/icons/chinese.svg /usr/share/ibus-libpinyin/icons/english.svg /usr/share/ibus-libpinyin/icons/full-punct.svg /usr/share/ibus-libpinyin/icons/full.svg /usr/share/ibus-libpinyin/icons/half-punct.svg /usr/share/ibus-libpinyin/icons/half.svg /usr/share/ibus-libpinyin/icons/ibus-bopomofo.svg /usr/share/ibus-libpinyin/icons/ibus-pinyin.svg /usr/share/ibus-libpinyin/icons/simp-chinese.svg...

I have a similar issue where I can't marshal return values ```csharp [DllImport("user32.dll")] [return: MarshalAs(UnmanagedType.Bool)] public static extern bool EnumChildWindows(IntPtr hwndParent, EnumWindowsProc lpEnumFunc, IntPtr lParam); ```

Well, what there is a function where marshaling won't happen automatically? I remembered a while ago I neede a function with a UnmanagedType.LPArray return type. Forgot which function though.

well, using JNI is infamously slow and is more resource intensive. Also this is way cleaner compared to the JNI code and should be easier to maintain.

@sfan5 Another reason is the audiotrack doesn't support exclusive mode audio, which bypasses android's resampling improving audio quality.

opensles does support exlusive mode audio, but only supports 2 channes, while AAudio supports multichannels.

switching to push seems to fix the underrun issues, this is ready for review

well right now this PR not merged by the MPV developers yet. So if you want to use it you have to compile it yourself

and it's now push only, since there were a lot of underruns with pull which I don't know how to fix