JUCE API reference
Loading...
Searching...
No Matches
Macros | Typedefs | Enumerations | Functions | Variables
juce_UnityPluginInterface.h File Reference

Macros

#define UNITY_AUDIO_PLUGIN_API_VERSION   0x010401
 
#define UNITY_INTERFACE_API
 
#define UNITY_INTERFACE_EXPORT   __attribute__ ((visibility ("default")))
 

Typedefs

typedef int(* createCallback) (UnityAudioEffectState *state)
 
typedef int(* releaseCallback) (UnityAudioEffectState *state)
 
typedef int(* resetCallback) (UnityAudioEffectState *state)
 
typedef int(* processCallback) (UnityAudioEffectState *state, float *inBuffer, float *outBuffer, unsigned int bufferSize, int numInChannels, int numOutChannels)
 
typedef int(* setPositionCallback) (UnityAudioEffectState *state, unsigned int pos)
 
typedef int(* setFloatParameterCallback) (UnityAudioEffectState *state, int index, float value)
 
typedef int(* getFloatParameterCallback) (UnityAudioEffectState *state, int index, float *value, char *valuestr)
 
typedef int(* getFloatBufferCallback) (UnityAudioEffectState *state, const char *name, float *buffer, int numsamples)
 
typedef int(* distanceAttenuationCallback) (UnityAudioEffectState *state, float distanceIn, float attenuationIn, float *attenuationOut)
 
typedef void(* renderCallback) (int eventId)
 

Enumerations

enum  UnityAudioEffectDefinitionFlags { isSideChainTarget = 1 , isSpatializer = 2 , isAmbisonicDecoder = 4 , appliesDistanceAttenuation = 8 }
 
enum  UnityAudioEffectStateFlags { stateIsPlaying = 1 , stateIsPaused = 2 , stateIsMuted = 8 , statIsSideChainTarget = 16 }
 
enum  UnityEventModifiers {
  shift = 1 , control = 2 , alt = 4 , command = 8 ,
  numeric = 16 , capsLock = 32 , functionKey = 64
}
 

Functions

 __attribute__ ((visibility("default"))) int UnityGetAudioEffectDefinitions(UnityAudioEffectDefinition ***definitionsPtr)
 

Variables

void * textureHandle
 
void int w
 
void int int h
 
float x
 
float float y
 
float float UnityEventModifiers mods
 
float float UnityEventModifiers int button
 
int code
 
int UnityEventModifiers const char * name
 

Macro Definition Documentation

◆ UNITY_AUDIO_PLUGIN_API_VERSION

#define UNITY_AUDIO_PLUGIN_API_VERSION   0x010401

◆ UNITY_INTERFACE_API

#define UNITY_INTERFACE_API

◆ UNITY_INTERFACE_EXPORT

#define UNITY_INTERFACE_EXPORT   __attribute__ ((visibility ("default")))

Typedef Documentation

◆ createCallback

typedef int( * createCallback) (UnityAudioEffectState *state)

◆ releaseCallback

typedef int( * releaseCallback) (UnityAudioEffectState *state)

◆ resetCallback

typedef int( * resetCallback) (UnityAudioEffectState *state)

◆ processCallback

typedef int( * processCallback) (UnityAudioEffectState *state, float *inBuffer, float *outBuffer, unsigned int bufferSize, int numInChannels, int numOutChannels)

◆ setPositionCallback

typedef int( * setPositionCallback) (UnityAudioEffectState *state, unsigned int pos)

◆ setFloatParameterCallback

typedef int( * setFloatParameterCallback) (UnityAudioEffectState *state, int index, float value)

◆ getFloatParameterCallback

typedef int( * getFloatParameterCallback) (UnityAudioEffectState *state, int index, float *value, char *valuestr)

◆ getFloatBufferCallback

typedef int( * getFloatBufferCallback) (UnityAudioEffectState *state, const char *name, float *buffer, int numsamples)

◆ distanceAttenuationCallback

typedef int( * distanceAttenuationCallback) (UnityAudioEffectState *state, float distanceIn, float attenuationIn, float *attenuationOut)

◆ renderCallback

typedef void( * renderCallback) (int eventId)

Enumeration Type Documentation

◆ UnityAudioEffectDefinitionFlags

Enumerator
isSideChainTarget 
isSpatializer 
isAmbisonicDecoder 
appliesDistanceAttenuation 

◆ UnityAudioEffectStateFlags

Enumerator
stateIsPlaying 
stateIsPaused 
stateIsMuted 
statIsSideChainTarget 

◆ UnityEventModifiers

Enumerator
shift 
control 
alt 
command 
numeric 
capsLock 
functionKey 

Function Documentation

◆ __attribute__()

__attribute__ ( (visibility("default"))  )

Variable Documentation

◆ textureHandle

void* textureHandle

◆ w

float float float w

◆ h

float float float float h

◆ x

float x

Referenced by juce::RectangleList< ValueType >::add(), juce::RectanglePlacement::appliedTo(), juce::Justification::appliedToRectangle(), juce::Justification::applyToRectangle(), juce::clampPixelComponents(), juce::RectangleList< ValueType >::containsPoint(), juce::dsp::FastMathApproximations::cos(), juce::dsp::FastMathApproximations::cosh(), juce::dsp::FastMathApproximations::exp(), juce::Rectangle< ValueType >::findAreaContainingPoints(), juce::PositionedGlyph::getBounds(), juce::ImagePixelDataNativeExtensions::getCGImage(), juce::PositionedGlyph::getLeft(), juce::Image::BitmapData::getPixelPointer(), juce::PositionedGlyph::getRight(), juce::dsp::Oscillator< SampleType >::initialise(), juce::Rectangle< ValueType >::intersectRectangles(), juce::EdgeTable::iterate(), juce::ComponentPeer::localToMultimonitor(), juce::dsp::FastMathApproximations::logNPlusOne(), juce::maskPixelComponents(), juce::ComponentPeer::multimonitorToLocal(), juce::dsp::Polynomial< FloatingType >::operator()(), juce::dsp::Matrix< ElementType >::operator*=(), juce::AudioProcessorGraph::Connection::operator<(), juce::operator==(), juce::midi_ci::FunctionBlock::operator==(), juce::midi_ci::SupportedAndActive::operator==(), juce::SidePanel::setContentRestrictedToSafeArea(), juce::ComponentPeer::setMultimonitorPositionOverride(), juce::dsp::FastMathApproximations::sin(), juce::dsp::FastMathApproximations::sinh(), juce::dsp::util::snapToZero(), juce::StandaloneFilterWindow::StandaloneFilterWindow(), juce::dsp::FastMathApproximations::tan(), juce::dsp::FastMathApproximations::tanh(), juce::midi_ci::PropertySubscriptionCommandUtils::toString(), juce::AffineTransform::transformPoint(), juce::WebBrowserComponent::Options::AppleWkWebView::withAllowAccessToEnclosingDirectory(), juce::XEmbedComponentOptions::withAllowForeignWidgetToResizeComponent(), juce::FontOptions::withAscentOverride(), juce::AudioProcessorValueTreeStateParameterAttributes::withAutomatable(), juce::AudioProcessorParameterWithIDAttributes::withAutomatable(), juce::RangedAudioParameterAttributes< Derived, Value >::withAutomatable(), juce::AudioPlayHead::FrameRate::withBaseRate(), juce::AudioFormatWriterOptions::withBitsPerSample(), juce::ScopedBlendContextOptions::withBlendMode(), juce::universal_midi_packets::Endpoint::withBlocks(), juce::AudioProcessorValueTreeStateParameterAttributes::withBoolean(), juce::AudioProcessorValueTreeStateParameterAttributes::withCategory(), juce::AudioProcessorParameterWithIDAttributes::withCategory(), juce::RangedAudioParameterAttributes< Derived, Value >::withCategory(), juce::AudioFormatWriterOptions::withChannelLayout(), juce::XEmbedComponentOptions::withClientWindow(), juce::StrokeOptions::withColour(), juce::StrokeOptions::withDashArray(), juce::StrokeOptions::withDashOffset(), juce::FontOptions::withDescentOverride(), juce::midi_ci::DeviceOptions::withDeviceInfo(), juce::universal_midi_packets::Endpoint::withDeviceInfo(), juce::universal_midi_packets::Block::withDirection(), juce::AudioProcessorValueTreeStateParameterAttributes::withDiscrete(), juce::AudioPlayHead::FrameRate::withDrop(), juce::universal_midi_packets::Block::withEnabled(), juce::JSON::FormatOptions::withEncoding(), juce::ToVarOptions::withExplicitVersion(), juce::FontOptions::withFallbackEnabled(), juce::FontOptions::withFallbacks(), juce::midi_ci::DeviceOptions::withFeatures(), juce::universal_midi_packets::Block::withFirstGroup(), juce::midi_ci::DeviceOptions::withFunctionBlock(), juce::universal_midi_packets::StaticDeviceInfo::withHasDestination(), juce::universal_midi_packets::StaticDeviceInfo::withHasSource(), juce::FontOptions::withHeight(), juce::FontOptions::withHorizontalScale(), juce::MidiDeviceInfo::withIdentifier(), juce::XEmbedComponentOptions::withIgnoreXembedMapped(), juce::JSON::FormatOptions::withIndentLevel(), juce::AudioProcessorValueTreeStateParameterAttributes::withInverted(), juce::AudioProcessorParameterWithIDAttributes::withInverted(), juce::RangedAudioParameterAttributes< Derived, Value >::withInverted(), juce::FontOptions::withKerningFactor(), juce::AudioProcessorValueTreeStateParameterAttributes::withLabel(), juce::AudioProcessorParameterWithIDAttributes::withLabel(), juce::RangedAudioParameterAttributes< Derived, Value >::withLabel(), juce::universal_midi_packets::StaticDeviceInfo::withLegacyIdentifiers(), juce::universal_midi_packets::StaticDeviceInfo::withLegacyIdentifiersDst(), juce::universal_midi_packets::StaticDeviceInfo::withLegacyIdentifiersSrc(), juce::StrokeOptions::withLineCap(), juce::GlyphArrangementOptions::withLineHeightMultiple(), juce::StrokeOptions::withLineJoin(), juce::GlyphArrangementOptions::withLineSpacing(), juce::ScopedBlendContextOptions::withLuminanceMaskSet(), juce::universal_midi_packets::StaticDeviceInfo::withManufacturer(), juce::JSON::FormatOptions::withMaxDecimalPlaces(), juce::universal_midi_packets::Block::withMaxSysex8Streams(), juce::midi_ci::DeviceOptions::withMaxSysExSize(), juce::AudioProcessorValueTreeStateParameterAttributes::withMeta(), juce::AudioProcessorParameterWithIDAttributes::withMeta(), juce::RangedAudioParameterAttributes< Derived, Value >::withMeta(), juce::AudioFormatWriterOptions::withMetadataValues(), juce::FontOptions::withMetricsKind(), juce::universal_midi_packets::Block::withMIDI1ProxyKind(), juce::universal_midi_packets::Endpoint::withMidi1Support(), juce::universal_midi_packets::Endpoint::withMidi2Support(), juce::StrokeOptions::withMiterLimit(), juce::universal_midi_packets::Block::withName(), juce::universal_midi_packets::StaticDeviceInfo::withName(), juce::MidiDeviceInfo::withName(), juce::universal_midi_packets::Endpoint::withName(), juce::FontOptions::withName(), juce::WebBrowserComponent::Options::LinuxWkWebView::withNativeZoomGesture(), juce::universal_midi_packets::Endpoint::withNumBlocks(), juce::AudioFormatWriterOptions::withNumChannels(), juce::universal_midi_packets::Block::withNumGroups(), juce::ScopedBlendContextOptions::withOpacity(), juce::midi_ci::DeviceOptions::withOutputs(), juce::WebBrowserComponent::Options::LinuxWkWebView::withPinchTranslationSensitivity(), juce::FontOptions::withPointHeight(), juce::midi_ci::DeviceFeatures::withProcessInquirySupported(), juce::universal_midi_packets::StaticDeviceInfo::withProduct(), juce::midi_ci::DeviceOptions::withProductInstanceId(), juce::universal_midi_packets::Endpoint::withProductInstanceId(), juce::midi_ci::DeviceFeatures::withProfileConfigurationSupported(), juce::midi_ci::DeviceOptions::withProfileDelegate(), juce::midi_ci::DeviceOptions::withPropertyDelegate(), juce::midi_ci::DeviceFeatures::withPropertyExchangeSupported(), juce::universal_midi_packets::Endpoint::withProtocol(), juce::AudioPlayHead::FrameRate::withPullDown(), juce::AudioFormatWriterOptions::withQualityOptionIndex(), juce::universal_midi_packets::Endpoint::withReceiveJREnabled(), juce::universal_midi_packets::Endpoint::withReceiveJRSupport(), juce::AudioFormatWriterOptions::withSampleFormat(), juce::AudioFormatWriterOptions::withSampleRate(), juce::ScopedBlendContextOptions::withScopeClip(), juce::JSON::FormatOptions::withSpacing(), juce::universal_midi_packets::Endpoint::withStaticBlocks(), juce::AudioProcessorValueTreeStateParameterAttributes::withStringFromValueFunction(), juce::RangedAudioParameterAttributes< Derived, Value >::withStringFromValueFunction(), juce::FontOptions::withStyle(), juce::universal_midi_packets::Endpoint::withTransmitJREnabled(), juce::universal_midi_packets::Endpoint::withTransmitJRSupport(), juce::universal_midi_packets::StaticDeviceInfo::withTransport(), juce::FontOptions::withTypeface(), juce::universal_midi_packets::Block::withUiHint(), juce::FontOptions::withUnderline(), juce::ValueAnimatorBuilder::withValueChangedCallback(), juce::AudioProcessorValueTreeStateParameterAttributes::withValueFromStringFunction(), juce::RangedAudioParameterAttributes< Derived, Value >::withValueFromStringFunction(), juce::ToVarOptions::withVersionIncluded(), juce::XEmbedComponentOptions::withWantsKeyboardFocus(), and juce::StrokeOptions::withWidth().

◆ y

float float y

◆ mods

◆ button

float float UnityEventModifiers int button

◆ code

int code

◆ name

int UnityEventModifiers const char* name