Browse Source

Update to latest juce

tags/2018-04-16
falkTX 8 years ago
parent
commit
cdccf21705
100 changed files with 2609 additions and 135 deletions
  1. +2442
    -0
      libs/juce/source/doxygen/Doxyfile
  2. +10
    -0
      libs/juce/source/doxygen/README.txt
  3. +14
    -0
      libs/juce/source/doxygen/footer.html
  4. +2
    -2
      libs/juce/source/modules/juce_audio_basics/buffers/juce_AudioDataConverters.cpp
  5. +1
    -1
      libs/juce/source/modules/juce_audio_basics/buffers/juce_AudioDataConverters.h
  6. +1
    -1
      libs/juce/source/modules/juce_audio_basics/buffers/juce_AudioSampleBuffer.cpp
  7. +1
    -1
      libs/juce/source/modules/juce_audio_basics/buffers/juce_AudioSampleBuffer.h
  8. +2
    -2
      libs/juce/source/modules/juce_audio_basics/buffers/juce_FloatVectorOperations.cpp
  9. +1
    -1
      libs/juce/source/modules/juce_audio_basics/buffers/juce_FloatVectorOperations.h
  10. +1
    -1
      libs/juce/source/modules/juce_audio_basics/effects/juce_Decibels.h
  11. +1
    -1
      libs/juce/source/modules/juce_audio_basics/effects/juce_FFT.cpp
  12. +1
    -1
      libs/juce/source/modules/juce_audio_basics/effects/juce_FFT.h
  13. +1
    -1
      libs/juce/source/modules/juce_audio_basics/effects/juce_IIRFilter.cpp
  14. +1
    -1
      libs/juce/source/modules/juce_audio_basics/effects/juce_IIRFilter.h
  15. +1
    -1
      libs/juce/source/modules/juce_audio_basics/effects/juce_LagrangeInterpolator.cpp
  16. +1
    -1
      libs/juce/source/modules/juce_audio_basics/effects/juce_LagrangeInterpolator.h
  17. +1
    -1
      libs/juce/source/modules/juce_audio_basics/effects/juce_Reverb.h
  18. +5
    -1
      libs/juce/source/modules/juce_audio_basics/juce_audio_basics.cpp
  19. +1
    -1
      libs/juce/source/modules/juce_audio_basics/juce_audio_basics.h
  20. +1
    -1
      libs/juce/source/modules/juce_audio_basics/juce_audio_basics.mm
  21. +1
    -1
      libs/juce/source/modules/juce_audio_basics/juce_module_info
  22. +1
    -1
      libs/juce/source/modules/juce_audio_basics/midi/juce_MidiBuffer.cpp
  23. +1
    -1
      libs/juce/source/modules/juce_audio_basics/midi/juce_MidiBuffer.h
  24. +1
    -1
      libs/juce/source/modules/juce_audio_basics/midi/juce_MidiFile.cpp
  25. +1
    -1
      libs/juce/source/modules/juce_audio_basics/midi/juce_MidiFile.h
  26. +1
    -1
      libs/juce/source/modules/juce_audio_basics/midi/juce_MidiKeyboardState.cpp
  27. +1
    -1
      libs/juce/source/modules/juce_audio_basics/midi/juce_MidiKeyboardState.h
  28. +1
    -1
      libs/juce/source/modules/juce_audio_basics/midi/juce_MidiMessage.cpp
  29. +1
    -1
      libs/juce/source/modules/juce_audio_basics/midi/juce_MidiMessage.h
  30. +1
    -1
      libs/juce/source/modules/juce_audio_basics/midi/juce_MidiMessageSequence.cpp
  31. +1
    -1
      libs/juce/source/modules/juce_audio_basics/midi/juce_MidiMessageSequence.h
  32. +1
    -1
      libs/juce/source/modules/juce_audio_basics/sources/juce_AudioSource.h
  33. +1
    -1
      libs/juce/source/modules/juce_audio_basics/sources/juce_BufferingAudioSource.cpp
  34. +1
    -1
      libs/juce/source/modules/juce_audio_basics/sources/juce_BufferingAudioSource.h
  35. +1
    -1
      libs/juce/source/modules/juce_audio_basics/sources/juce_ChannelRemappingAudioSource.cpp
  36. +1
    -1
      libs/juce/source/modules/juce_audio_basics/sources/juce_ChannelRemappingAudioSource.h
  37. +1
    -1
      libs/juce/source/modules/juce_audio_basics/sources/juce_IIRFilterAudioSource.cpp
  38. +1
    -1
      libs/juce/source/modules/juce_audio_basics/sources/juce_IIRFilterAudioSource.h
  39. +1
    -1
      libs/juce/source/modules/juce_audio_basics/sources/juce_MixerAudioSource.cpp
  40. +1
    -1
      libs/juce/source/modules/juce_audio_basics/sources/juce_MixerAudioSource.h
  41. +1
    -1
      libs/juce/source/modules/juce_audio_basics/sources/juce_PositionableAudioSource.h
  42. +1
    -1
      libs/juce/source/modules/juce_audio_basics/sources/juce_ResamplingAudioSource.cpp
  43. +1
    -1
      libs/juce/source/modules/juce_audio_basics/sources/juce_ResamplingAudioSource.h
  44. +1
    -1
      libs/juce/source/modules/juce_audio_basics/sources/juce_ReverbAudioSource.cpp
  45. +1
    -1
      libs/juce/source/modules/juce_audio_basics/sources/juce_ReverbAudioSource.h
  46. +1
    -1
      libs/juce/source/modules/juce_audio_basics/sources/juce_ToneGeneratorAudioSource.cpp
  47. +1
    -1
      libs/juce/source/modules/juce_audio_basics/sources/juce_ToneGeneratorAudioSource.h
  48. +1
    -1
      libs/juce/source/modules/juce_audio_basics/synthesisers/juce_Synthesiser.cpp
  49. +8
    -4
      libs/juce/source/modules/juce_audio_basics/synthesisers/juce_Synthesiser.h
  50. +1
    -1
      libs/juce/source/modules/juce_audio_devices/audio_cd/juce_AudioCDBurner.h
  51. +1
    -1
      libs/juce/source/modules/juce_audio_devices/audio_cd/juce_AudioCDReader.cpp
  52. +1
    -1
      libs/juce/source/modules/juce_audio_devices/audio_cd/juce_AudioCDReader.h
  53. +1
    -1
      libs/juce/source/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.cpp
  54. +1
    -1
      libs/juce/source/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h
  55. +1
    -1
      libs/juce/source/modules/juce_audio_devices/audio_io/juce_AudioIODevice.cpp
  56. +1
    -1
      libs/juce/source/modules/juce_audio_devices/audio_io/juce_AudioIODevice.h
  57. +1
    -1
      libs/juce/source/modules/juce_audio_devices/audio_io/juce_AudioIODeviceType.cpp
  58. +1
    -1
      libs/juce/source/modules/juce_audio_devices/audio_io/juce_AudioIODeviceType.h
  59. +1
    -1
      libs/juce/source/modules/juce_audio_devices/audio_io/juce_SystemAudioVolume.h
  60. +1
    -1
      libs/juce/source/modules/juce_audio_devices/juce_audio_devices.cpp
  61. +1
    -1
      libs/juce/source/modules/juce_audio_devices/juce_audio_devices.h
  62. +1
    -1
      libs/juce/source/modules/juce_audio_devices/juce_audio_devices.mm
  63. +1
    -1
      libs/juce/source/modules/juce_audio_devices/juce_module_info
  64. +1
    -1
      libs/juce/source/modules/juce_audio_devices/midi_io/juce_MidiInput.h
  65. +1
    -1
      libs/juce/source/modules/juce_audio_devices/midi_io/juce_MidiMessageCollector.cpp
  66. +1
    -1
      libs/juce/source/modules/juce_audio_devices/midi_io/juce_MidiMessageCollector.h
  67. +1
    -1
      libs/juce/source/modules/juce_audio_devices/midi_io/juce_MidiOutput.cpp
  68. +1
    -1
      libs/juce/source/modules/juce_audio_devices/midi_io/juce_MidiOutput.h
  69. +1
    -1
      libs/juce/source/modules/juce_audio_devices/native/juce_MidiDataConcatenator.h
  70. +1
    -1
      libs/juce/source/modules/juce_audio_devices/native/juce_android_Audio.cpp
  71. +1
    -1
      libs/juce/source/modules/juce_audio_devices/native/juce_android_Midi.cpp
  72. +1
    -1
      libs/juce/source/modules/juce_audio_devices/native/juce_android_OpenSL.cpp
  73. +1
    -1
      libs/juce/source/modules/juce_audio_devices/native/juce_ios_Audio.cpp
  74. +1
    -1
      libs/juce/source/modules/juce_audio_devices/native/juce_linux_ALSA.cpp
  75. +1
    -1
      libs/juce/source/modules/juce_audio_devices/native/juce_linux_AudioCDReader.cpp
  76. +1
    -1
      libs/juce/source/modules/juce_audio_devices/native/juce_linux_JackAudio.cpp
  77. +1
    -1
      libs/juce/source/modules/juce_audio_devices/native/juce_linux_Midi.cpp
  78. +1
    -1
      libs/juce/source/modules/juce_audio_devices/native/juce_mac_AudioCDBurner.mm
  79. +1
    -1
      libs/juce/source/modules/juce_audio_devices/native/juce_mac_AudioCDReader.mm
  80. +1
    -1
      libs/juce/source/modules/juce_audio_devices/native/juce_mac_CoreAudio.cpp
  81. +1
    -1
      libs/juce/source/modules/juce_audio_devices/native/juce_mac_CoreMidi.cpp
  82. +1
    -1
      libs/juce/source/modules/juce_audio_devices/native/juce_win32_ASIO.cpp
  83. +1
    -1
      libs/juce/source/modules/juce_audio_devices/native/juce_win32_AudioCDBurner.cpp
  84. +1
    -1
      libs/juce/source/modules/juce_audio_devices/native/juce_win32_AudioCDReader.cpp
  85. +4
    -4
      libs/juce/source/modules/juce_audio_devices/native/juce_win32_DirectSound.cpp
  86. +9
    -9
      libs/juce/source/modules/juce_audio_devices/native/juce_win32_Midi.cpp
  87. +21
    -21
      libs/juce/source/modules/juce_audio_devices/native/juce_win32_WASAPI.cpp
  88. +1
    -1
      libs/juce/source/modules/juce_audio_devices/sources/juce_AudioSourcePlayer.cpp
  89. +1
    -1
      libs/juce/source/modules/juce_audio_devices/sources/juce_AudioSourcePlayer.h
  90. +1
    -1
      libs/juce/source/modules/juce_audio_devices/sources/juce_AudioTransportSource.cpp
  91. +1
    -1
      libs/juce/source/modules/juce_audio_devices/sources/juce_AudioTransportSource.h
  92. +1
    -1
      libs/juce/source/modules/juce_audio_formats/codecs/juce_AiffAudioFormat.cpp
  93. +1
    -1
      libs/juce/source/modules/juce_audio_formats/codecs/juce_AiffAudioFormat.h
  94. +1
    -1
      libs/juce/source/modules/juce_audio_formats/codecs/juce_CoreAudioFormat.cpp
  95. +1
    -1
      libs/juce/source/modules/juce_audio_formats/codecs/juce_CoreAudioFormat.h
  96. +1
    -1
      libs/juce/source/modules/juce_audio_formats/codecs/juce_FlacAudioFormat.cpp
  97. +1
    -1
      libs/juce/source/modules/juce_audio_formats/codecs/juce_FlacAudioFormat.h
  98. +1
    -1
      libs/juce/source/modules/juce_audio_formats/codecs/juce_LAMEEncoderAudioFormat.cpp
  99. +1
    -1
      libs/juce/source/modules/juce_audio_formats/codecs/juce_LAMEEncoderAudioFormat.h
  100. +3
    -3
      libs/juce/source/modules/juce_audio_formats/codecs/juce_MP3AudioFormat.cpp

+ 2442
- 0
libs/juce/source/doxygen/Doxyfile
File diff suppressed because it is too large
View File


+ 10
- 0
libs/juce/source/doxygen/README.txt View File

@@ -0,0 +1,10 @@
# The JUCE API Reference

From here, you can generate an offline HTML version of the JUCE API Reference.

How to:

1. install doxygen
2. cd into this directory on the command line
3. run doxygen (no additional arguments needed)
4. doxygen will create a new subfolder "doc". Open doc/index.html in your browser to access the generated HTML documentation.

+ 14
- 0
libs/juce/source/doxygen/footer.html View File

@@ -0,0 +1,14 @@
<hr class="footer"/>
<address class="footer"><small>All content &copy ROLI Ltd.</small></address><br/>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-19759318-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>

+ 2
- 2
libs/juce/source/modules/juce_audio_basics/buffers/juce_AudioDataConverters.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)
@@ -579,7 +579,7 @@ public:
}
};
void runTest()
void runTest() override
{
Random r = getRandom();
beginTest ("Round-trip conversion: Int8");


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/buffers/juce_AudioDataConverters.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/buffers/juce_AudioSampleBuffer.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/buffers/juce_AudioSampleBuffer.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 2
- 2
libs/juce/source/modules/juce_audio_basics/buffers/juce_FloatVectorOperations.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)
@@ -1146,7 +1146,7 @@ public:
}
};
void runTest()
void runTest() override
{
beginTest ("FloatVectorOperations");


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/buffers/juce_FloatVectorOperations.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/effects/juce_Decibels.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/effects/juce_FFT.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/effects/juce_FFT.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/effects/juce_IIRFilter.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/effects/juce_IIRFilter.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/effects/juce_LagrangeInterpolator.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/effects/juce_LagrangeInterpolator.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/effects/juce_Reverb.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 5
- 1
libs/juce/source/modules/juce_audio_basics/juce_audio_basics.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)
@@ -40,6 +40,10 @@
#define JUCE_USE_SSE_INTRINSICS 0
#endif
#if JUCE_MINGW
#define alloca __builtin_alloca
#endif
#ifndef JUCE_USE_SSE_INTRINSICS
#define JUCE_USE_SSE_INTRINSICS 1
#endif


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/juce_audio_basics.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/juce_audio_basics.mm View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/juce_module_info View File

@@ -1,7 +1,7 @@
{
"id": "juce_audio_basics",
"name": "JUCE audio and midi data classes",
"version": "3.1.1",
"version": "3.2.0",
"description": "Classes for audio buffer manipulation, midi message handling, synthesis, etc",
"website": "http://www.juce.com/juce",
"license": "GPL/Commercial",


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/midi/juce_MidiBuffer.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/midi/juce_MidiBuffer.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/midi/juce_MidiFile.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/midi/juce_MidiFile.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/midi/juce_MidiKeyboardState.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/midi/juce_MidiKeyboardState.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/midi/juce_MidiMessage.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/midi/juce_MidiMessage.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/midi/juce_MidiMessageSequence.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/midi/juce_MidiMessageSequence.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/sources/juce_AudioSource.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/sources/juce_BufferingAudioSource.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/sources/juce_BufferingAudioSource.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/sources/juce_ChannelRemappingAudioSource.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/sources/juce_ChannelRemappingAudioSource.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/sources/juce_IIRFilterAudioSource.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/sources/juce_IIRFilterAudioSource.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/sources/juce_MixerAudioSource.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/sources/juce_MixerAudioSource.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/sources/juce_PositionableAudioSource.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/sources/juce_ResamplingAudioSource.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/sources/juce_ResamplingAudioSource.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/sources/juce_ReverbAudioSource.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/sources/juce_ReverbAudioSource.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/sources/juce_ToneGeneratorAudioSource.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/sources/juce_ToneGeneratorAudioSource.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_basics/synthesisers/juce_Synthesiser.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 8
- 4
libs/juce/source/modules/juce_audio_basics/synthesisers/juce_Synthesiser.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)
@@ -571,7 +571,6 @@ protected:
int midiNoteNumber) const;
/** Starts a specified voice playing a particular sound.
You'll probably never need to call this, it's used internally by noteOn(), but
may be needed by subclasses for custom behaviours.
*/
@@ -581,6 +580,13 @@ protected:
int midiNoteNumber,
float velocity);
/** Stops a given voice.
You should never need to call this, it's used internally by noteOff, but is protected
in case it's useful for some custom subclasses. It basically just calls through to
SynthesiserVoice::stopNote(), and has some assertions to sanity-check a few things.
*/
void stopVoice (SynthesiserVoice*, float velocity, bool allowTailOff);
/** Can be overridden to do custom handling of incoming midi events. */
virtual void handleMidiEvent (const MidiMessage&);
@@ -592,8 +598,6 @@ private:
bool shouldStealNotes;
BigInteger sustainPedalsDown;
void stopVoice (SynthesiserVoice*, float velocity, bool allowTailOff);
#if JUCE_CATCH_DEPRECATED_CODE_MISUSE
// Note the new parameters for these methods.
virtual int findFreeVoice (const bool) const { return 0; }


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/audio_cd/juce_AudioCDBurner.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/audio_cd/juce_AudioCDReader.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/audio_cd/juce_AudioCDReader.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/audio_io/juce_AudioIODevice.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/audio_io/juce_AudioIODevice.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/audio_io/juce_AudioIODeviceType.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/audio_io/juce_AudioIODeviceType.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/audio_io/juce_SystemAudioVolume.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/juce_audio_devices.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/juce_audio_devices.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/juce_audio_devices.mm View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/juce_module_info View File

@@ -1,7 +1,7 @@
{
"id": "juce_audio_devices",
"name": "JUCE audio and midi I/O device classes",
"version": "3.1.1",
"version": "3.2.0",
"description": "Classes to play and record from audio and midi i/o devices.",
"website": "http://www.juce.com/juce",
"license": "GPL/Commercial",


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/midi_io/juce_MidiInput.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/midi_io/juce_MidiMessageCollector.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/midi_io/juce_MidiMessageCollector.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/midi_io/juce_MidiOutput.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/midi_io/juce_MidiOutput.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/native/juce_MidiDataConcatenator.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/native/juce_android_Audio.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/native/juce_android_Midi.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/native/juce_android_OpenSL.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/native/juce_ios_Audio.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/native/juce_linux_ALSA.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/native/juce_linux_AudioCDReader.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/native/juce_linux_JackAudio.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/native/juce_linux_Midi.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/native/juce_mac_AudioCDBurner.mm View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/native/juce_mac_AudioCDReader.mm View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/native/juce_mac_CoreAudio.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/native/juce_mac_CoreMidi.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/native/juce_win32_ASIO.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/native/juce_win32_AudioCDBurner.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/native/juce_win32_AudioCDReader.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 4
- 4
libs/juce/source/modules/juce_audio_devices/native/juce_win32_DirectSound.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)
@@ -640,7 +640,7 @@ public:
DWORD dwsize1 = 0;
DWORD dwsize2 = 0;
HRESULT hr = pInputBuffer->Lock ((DWORD) readOffset, (DWORD) bytesPerBuffer,
hr = pInputBuffer->Lock ((DWORD) readOffset, (DWORD) bytesPerBuffer,
(void**) &buf1, &dwsize1,
(void**) &buf2, &dwsize2, 0);
@@ -753,9 +753,9 @@ public:
String open (const BigInteger& inputChannels,
const BigInteger& outputChannels,
double sampleRate, int bufferSizeSamples) override
double newSampleRate, int newBufferSize) override
{
lastError = openDevice (inputChannels, outputChannels, sampleRate, bufferSizeSamples);
lastError = openDevice (inputChannels, outputChannels, newSampleRate, newBufferSize);
isOpen_ = lastError.isEmpty();
return lastError;


+ 9
- 9
libs/juce/source/modules/juce_audio_devices/native/juce_win32_Midi.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)
@@ -143,37 +143,37 @@ private:
public:
MidiHeader() {}
void prepare (HMIDIIN deviceHandle)
void prepare (HMIDIIN device)
{
zerostruct (hdr);
hdr.lpData = data;
hdr.dwBufferLength = (DWORD) numElementsInArray (data);
midiInPrepareHeader (deviceHandle, &hdr, sizeof (hdr));
midiInPrepareHeader (device, &hdr, sizeof (hdr));
}
void unprepare (HMIDIIN deviceHandle)
void unprepare (HMIDIIN device)
{
if ((hdr.dwFlags & WHDR_DONE) != 0)
{
int c = 10;
while (--c >= 0 && midiInUnprepareHeader (deviceHandle, &hdr, sizeof (hdr)) == MIDIERR_STILLPLAYING)
while (--c >= 0 && midiInUnprepareHeader (device, &hdr, sizeof (hdr)) == MIDIERR_STILLPLAYING)
Thread::sleep (20);
jassert (c >= 0);
}
}
void write (HMIDIIN deviceHandle)
void write (HMIDIIN device)
{
hdr.dwBytesRecorded = 0;
midiInAddBuffer (deviceHandle, &hdr, sizeof (hdr));
midiInAddBuffer (device, &hdr, sizeof (hdr));
}
void writeIfFinished (HMIDIIN deviceHandle)
void writeIfFinished (HMIDIIN device)
{
if ((hdr.dwFlags & WHDR_DONE) != 0)
write (deviceHandle);
write (device);
}
private:


+ 21
- 21
libs/juce/source/modules/juce_audio_devices/native/juce_win32_WASAPI.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)
@@ -547,13 +547,13 @@ private:
//==============================================================================
ComSmartPtr<IAudioClient> createClient()
{
ComSmartPtr<IAudioClient> client;
ComSmartPtr<IAudioClient> newClient;
if (device != nullptr)
logFailure (device->Activate (__uuidof (IAudioClient), CLSCTX_INPROC_SERVER,
nullptr, (void**) client.resetAndGetPointerAddress()));
nullptr, (void**) newClient.resetAndGetPointerAddress()));
return client;
return newClient;
}
struct AudioSampleFormat
@@ -563,8 +563,8 @@ private:
int bytesPerSampleContainer;
};
bool tryFormat (const AudioSampleFormat sampleFormat, IAudioClient* clientToUse, double sampleRate,
DWORD mixFormatChannelMask, WAVEFORMATEXTENSIBLE& format) const
bool tryFormat (const AudioSampleFormat sampleFormat, IAudioClient* clientToUse, double newSampleRate,
DWORD newMixFormatChannelMask, WAVEFORMATEXTENSIBLE& format) const
{
zerostruct (format);
@@ -578,14 +578,14 @@ private:
format.Format.cbSize = sizeof (WAVEFORMATEXTENSIBLE) - sizeof (WAVEFORMATEX);
}
format.Format.nSamplesPerSec = (DWORD) sampleRate;
format.Format.nSamplesPerSec = (DWORD) newSampleRate;
format.Format.nChannels = (WORD) numChannels;
format.Format.wBitsPerSample = (WORD) (8 * sampleFormat.bytesPerSampleContainer);
format.Samples.wValidBitsPerSample = (WORD) (sampleFormat.bitsPerSampleToTry);
format.Format.nBlockAlign = (WORD) (format.Format.nChannels * format.Format.wBitsPerSample / 8);
format.Format.nAvgBytesPerSec = (DWORD) (format.Format.nSamplesPerSec * format.Format.nBlockAlign);
format.SubFormat = sampleFormat.useFloat ? KSDATAFORMAT_SUBTYPE_IEEE_FLOAT : KSDATAFORMAT_SUBTYPE_PCM;
format.dwChannelMask = mixFormatChannelMask;
format.dwChannelMask = newMixFormatChannelMask;
WAVEFORMATEXTENSIBLE* nearestFormat = nullptr;
@@ -605,8 +605,8 @@ private:
return check (hr);
}
bool findSupportedFormat (IAudioClient* clientToUse, double sampleRate,
DWORD mixFormatChannelMask, WAVEFORMATEXTENSIBLE& format) const
bool findSupportedFormat (IAudioClient* clientToUse, double newSampleRate,
DWORD newMixFormatChannelMask, WAVEFORMATEXTENSIBLE& format) const
{
static const AudioSampleFormat formats[] =
{
@@ -620,7 +620,7 @@ private:
};
for (int i = 0; i < numElementsInArray (formats); ++i)
if (tryFormat (formats[i], clientToUse, sampleRate, mixFormatChannelMask, format))
if (tryFormat (formats[i], clientToUse, newSampleRate, newMixFormatChannelMask, format))
return true;
return false;
@@ -1523,10 +1523,10 @@ private:
}
//==============================================================================
void scan (StringArray& outputDeviceNames,
StringArray& inputDeviceNames,
StringArray& outputDeviceIds,
StringArray& inputDeviceIds)
void scan (StringArray& outDeviceNames,
StringArray& inDeviceNames,
StringArray& outDeviceIds,
StringArray& inDeviceIds)
{
if (enumerator == nullptr)
{
@@ -1582,19 +1582,19 @@ private:
if (flow == eRender)
{
const int index = (deviceId == defaultRenderer) ? 0 : -1;
outputDeviceIds.insert (index, deviceId);
outputDeviceNames.insert (index, name);
outDeviceIds.insert (index, deviceId);
outDeviceNames.insert (index, name);
}
else if (flow == eCapture)
{
const int index = (deviceId == defaultCapture) ? 0 : -1;
inputDeviceIds.insert (index, deviceId);
inputDeviceNames.insert (index, name);
inDeviceIds.insert (index, deviceId);
inDeviceNames.insert (index, name);
}
}
inputDeviceNames.appendNumbersToDuplicates (false, false);
outputDeviceNames.appendNumbersToDuplicates (false, false);
inDeviceNames.appendNumbersToDuplicates (false, false);
outDeviceNames.appendNumbersToDuplicates (false, false);
}
//==============================================================================


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/sources/juce_AudioSourcePlayer.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/sources/juce_AudioSourcePlayer.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/sources/juce_AudioTransportSource.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_devices/sources/juce_AudioTransportSource.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_formats/codecs/juce_AiffAudioFormat.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_formats/codecs/juce_AiffAudioFormat.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_formats/codecs/juce_CoreAudioFormat.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_formats/codecs/juce_CoreAudioFormat.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_formats/codecs/juce_FlacAudioFormat.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_formats/codecs/juce_FlacAudioFormat.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_formats/codecs/juce_LAMEEncoderAudioFormat.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 1
- 1
libs/juce/source/modules/juce_audio_formats/codecs/juce_LAMEEncoderAudioFormat.h View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)


+ 3
- 3
libs/juce/source/modules/juce_audio_formats/codecs/juce_MP3AudioFormat.cpp View File

@@ -2,7 +2,7 @@
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)
@@ -25,8 +25,8 @@
/*
IMPORTANT DISCLAIMER: By choosing to enable the JUCE_USE_MP3AUDIOFORMAT flag and
to compile this MP3 code into your software, you do so AT YOUR OWN RISK! By doing so,
you are agreeing that Raw Material Software is in no way responsible for any patent,
copyright, or other legal issues that you may suffer as a result.
you are agreeing that ROLI Ltd. is in no way responsible for any patent, copyright,
or other legal issues that you may suffer as a result.
The code in juce_MP3AudioFormat.cpp is NOT guaranteed to be free from infringements of 3rd-party
intellectual property. If you wish to use it, please seek your own independent advice about the


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save