Browse Source

Added operator!= to AudioDeviceManager::AudioDeviceSetup

tags/2021-05-28
ed 8 years ago
parent
commit
19ae4c884b
2 changed files with 6 additions and 0 deletions
  1. +5
    -0
      modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.cpp
  2. +1
    -0
      modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h

+ 5
- 0
modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.cpp View File

@@ -43,6 +43,11 @@ bool AudioDeviceManager::AudioDeviceSetup::operator== (const AudioDeviceManager:
&& useDefaultOutputChannels == other.useDefaultOutputChannels;
}
bool AudioDeviceManager::AudioDeviceSetup::operator!= (const AudioDeviceManager::AudioDeviceSetup& other) const
{
return ! operator== (other);
}
//==============================================================================
class AudioDeviceManager::CallbackHandler : public AudioIODeviceCallback,
public MidiInputCallback,


+ 1
- 0
modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h View File

@@ -96,6 +96,7 @@ public:
AudioDeviceSetup();
bool operator== (const AudioDeviceSetup& other) const;
bool operator!= (const AudioDeviceSetup& other) const;
/** The name of the audio device used for output.
The name has to be one of the ones listed by the AudioDeviceManager's currently


Loading…
Cancel
Save