The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
1.9KB

  1. //==============================================================================
  2. public class BluetoothManager
  3. {
  4. BluetoothManager()
  5. {
  6. }
  7. public String[] getMidiBluetoothAddresses()
  8. {
  9. String[] bluetoothAddresses = new String[0];
  10. return bluetoothAddresses;
  11. }
  12. public String getHumanReadableStringForBluetoothAddress (String address)
  13. {
  14. return address;
  15. }
  16. public int getBluetoothDeviceStatus (String address)
  17. {
  18. return 0;
  19. }
  20. public void startStopScan (boolean shouldStart)
  21. {
  22. }
  23. public boolean pairBluetoothMidiDevice(String address)
  24. {
  25. return false;
  26. }
  27. public void unpairBluetoothMidiDevice (String address)
  28. {
  29. }
  30. }
  31. //==============================================================================
  32. public class MidiDeviceManager
  33. {
  34. public MidiDeviceManager()
  35. {
  36. }
  37. public String[] getJuceAndroidMidiInputDevices()
  38. {
  39. return new String[0];
  40. }
  41. public String[] getJuceAndroidMidiOutputDevices()
  42. {
  43. return new String[0];
  44. }
  45. public JuceMidiPort openMidiInputPortWithJuceIndex (int index, long host)
  46. {
  47. return null;
  48. }
  49. public JuceMidiPort openMidiOutputPortWithJuceIndex (int index)
  50. {
  51. return null;
  52. }
  53. public String getInputPortNameForJuceIndex (int index)
  54. {
  55. return "";
  56. }
  57. public String getOutputPortNameForJuceIndex (int index)
  58. {
  59. return "";
  60. }
  61. }
  62. public MidiDeviceManager getAndroidMidiDeviceManager()
  63. {
  64. return null;
  65. }
  66. public BluetoothManager getAndroidBluetoothManager()
  67. {
  68. return null;
  69. }