Browse Source

Windows: Moved WASAPIDeviceMode enum into the juce namespace

tags/2021-05-28
ed 4 years ago
parent
commit
29691aaf4f
1 changed files with 13 additions and 10 deletions
  1. +13
    -10
      modules/juce_audio_devices/juce_audio_devices.h

+ 13
- 10
modules/juce_audio_devices/juce_audio_devices.h View File

@@ -166,17 +166,20 @@
#include "midi_io/juce_MidiDevices.h"
#include "midi_io/juce_MidiMessageCollector.h"
/** Available modes for the WASAPI audio device.
Pass one of these to the AudioIODeviceType::createAudioIODeviceType_WASAPI()
method to create a WASAPI AudioIODeviceType object in this mode.
*/
enum class WASAPIDeviceMode
namespace juce
{
shared,
exclusive,
sharedLowLatency
};
/** Available modes for the WASAPI audio device.
Pass one of these to the AudioIODeviceType::createAudioIODeviceType_WASAPI()
method to create a WASAPI AudioIODeviceType object in this mode.
*/
enum class WASAPIDeviceMode
{
shared,
exclusive,
sharedLowLatency
};
}
#include "audio_io/juce_AudioIODevice.h"
#include "audio_io/juce_AudioIODeviceType.h"


Loading…
Cancel
Save