Skip to content

Commit

Permalink
remove all use of AU-ComponentManager-vestigial macro PLUGIN_ENTRY_POINT
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiapoirier committed Feb 26, 2022
1 parent 8ad6778 commit 25e62fa
Show file tree
Hide file tree
Showing 18 changed files with 60 additions and 51 deletions.
5 changes: 2 additions & 3 deletions bufferoverride/bufferoverridedef.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*------------------------------------------------------------------------
Copyright (C) 2002-2021 Sophia Poirier
Copyright (C) 2002-2022 Sophia Poirier
This file is part of Buffer Override.
Expand Down Expand Up @@ -31,14 +31,13 @@ To contact the author, use the contact form at http:https://destroyfx.org/
#define PLUGIN_VERSION_MINOR 7
#define PLUGIN_VERSION_BUGFIX 1
#define PLUGIN_CLASS_NAME BufferOverride
#define PLUGIN_ENTRY_POINT "BufferOverrideEntry"
#define TARGET_PLUGIN_USES_MIDI 1
#define TARGET_PLUGIN_IS_INSTRUMENT 0
#define TARGET_PLUGIN_USES_DSPCORE 0
#define TARGET_PLUGIN_HAS_GUI 1
#define PLUGIN_BACKGROUND_IMAGE_FILENAME "buffer-override-background.png"
#define PLUGIN_BUNDLE_IDENTIFIER DESTROYFX_BUNDLE_ID_PREFIX "BufferOverride" DFX_BUNDLE_ID_SUFFIX
#define PLUGIN_COPYRIGHT_YEAR_STRING "2001-2021"
#define PLUGIN_COPYRIGHT_YEAR_STRING "2001-2022"
#define VST_NUM_CHANNELS 2


Expand Down
4 changes: 0 additions & 4 deletions dfx-library/dfxplugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,6 @@ TARGET_PLUGIN_HAS_GUI
TARGET_API_AUDIOUNIT
TARGET_API_VST
necessary for Audio Unit:
PLUGIN_ENTRY_POINT
a C string of the base plugin class name with "Entry" appended
necessary for VST:
VST_NUM_INPUTS
VST_NUM_OUTPUTS
Expand Down
3 changes: 1 addition & 2 deletions dfx-library/dfxplugindef-template.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*------------------------------------------------------------------------
Destroy FX Library is a collection of foundation code
for creating audio processing plug-ins.
Copyright (C) 2002-2021 Sophia Poirier and Tom Murphy 7
Copyright (C) 2002-2022 Sophia Poirier and Tom Murphy 7
This file is part of the Destroy FX Library (version 1.0).
Expand Down Expand Up @@ -38,7 +38,6 @@ To contact the author, use the contact form at http:https://destroyfx.org/
#define PLUGIN_VERSION_MINOR 0
#define PLUGIN_VERSION_BUGFIX 0
#define PLUGIN_CLASS_NAME CoolPlugin
#define PLUGIN_ENTRY_POINT "Entry"
// required if PLUGIN_NAME_STRING contains whitespace
#define PLUGIN_BUNDLE_IDENTIFIER DESTROYFX_BUNDLE_ID_PREFIX "" DFX_BUNDLE_ID_SUFFIX
#define PLUGIN_COPYRIGHT_YEAR_STRING "20XX"
Expand Down
5 changes: 2 additions & 3 deletions eqsync/eqsyncdef.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*------------------------------------------------------------------------
Copyright (C) 2002-2021 Sophia Poirier
Copyright (C) 2002-2022 Sophia Poirier
This file is part of EQ Sync.
Expand Down Expand Up @@ -32,14 +32,13 @@ To contact the author, use the contact form at http:https://destroyfx.org/
#define PLUGIN_VERSION_MINOR 1
#define PLUGIN_VERSION_BUGFIX 1
#define PLUGIN_CLASS_NAME EQSync
#define PLUGIN_ENTRY_POINT "EQSyncEntry"
#define TARGET_PLUGIN_USES_MIDI 0
#define TARGET_PLUGIN_IS_INSTRUMENT 0
#define TARGET_PLUGIN_USES_DSPCORE 0
#define TARGET_PLUGIN_HAS_GUI 1
#define PLUGIN_BACKGROUND_IMAGE_FILENAME "eq-sync-background-panther.png"
#define PLUGIN_BUNDLE_IDENTIFIER DESTROYFX_BUNDLE_ID_PREFIX "EQSync" DFX_BUNDLE_ID_SUFFIX
#define PLUGIN_COPYRIGHT_YEAR_STRING "2001-2021"
#define PLUGIN_COPYRIGHT_YEAR_STRING "2001-2022"
#define VST_NUM_CHANNELS 2


Expand Down
18 changes: 16 additions & 2 deletions exemplar/exemplardefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,29 @@
/* You need to redefine this stuff in order to make your plugin.
see dfxplugin.h for details. */

#ifndef DFX_EXEMPLAR_DEF_H
#define DFX_EXEMPLAR_DEF_H


#include "dfxplugin-prefix.h"

#define PLUGIN_NAME_STRING "DFX EXEMPLAR"
#define PLUGIN_ID FOURCC('D', 'F', 'e', 'x')
#define PLUGIN_VERSION 0x00010100
#define PLUGIN_ENTRY_POINT "ExemplarEntry"
#define PLUGIN_VERSION_MAJOR 1
#define PLUGIN_VERSION_MINOR 1
#define PLUGIN_VERSION_BUGFIX 0

#define TARGET_PLUGIN_USES_MIDI 1
#define TARGET_PLUGIN_IS_INSTRUMENT 0
#define TARGET_PLUGIN_USES_DSPCORE 1

#define PLUGIN_COPYRIGHT_YEAR_STRING "2006-2022"

#define VST_NUM_CHANNELS 2

#ifndef TARGET_PLUGIN_HAS_GUI
#define TARGET_PLUGIN_HAS_GUI 0
#endif


#endif
5 changes: 2 additions & 3 deletions fonttest/fonttestdef.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*------------------------------------------------------------------------
Copyright (C) 2021 Tom Murphy 7 and Sophia Poirier
Copyright (C) 2021-2022 Tom Murphy 7 and Sophia Poirier
This file is part of FontTest.
Expand Down Expand Up @@ -33,15 +33,14 @@ To contact the author, use the contact form at http:https://destroyfx.org/
#define PLUGIN_VERSION_MINOR 0
#define PLUGIN_VERSION_BUGFIX 0
#define PLUGIN_CLASS_NAME FontTest
#define PLUGIN_ENTRY_POINT "FontTestEntry"
#define TARGET_PLUGIN_USES_MIDI 0
#define TARGET_PLUGIN_IS_INSTRUMENT 0
#define TARGET_PLUGIN_USES_DSPCORE 0
#define TARGET_PLUGIN_HAS_GUI 1
#define PLUGIN_BACKGROUND_IMAGE_FILENAME "fonttest-background.png"


#define PLUGIN_COPYRIGHT_YEAR_STRING "2021"
#define PLUGIN_COPYRIGHT_YEAR_STRING "2021-2022"

#define VST_NUM_CHANNELS 2

Expand Down
5 changes: 2 additions & 3 deletions geometer/geometerdef.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*------------------------------------------------------------------------
Copyright (C) 2002-2021 Tom Murphy 7 and Sophia Poirier
Copyright (C) 2002-2022 Tom Murphy 7 and Sophia Poirier
This file is part of Geometer.
Expand Down Expand Up @@ -32,14 +32,13 @@ To contact the author, use the contact form at http:https://destroyfx.org/
#define PLUGIN_VERSION_MINOR 2
#define PLUGIN_VERSION_BUGFIX 1
#define PLUGIN_CLASS_NAME Geometer
#define PLUGIN_ENTRY_POINT "GeometerEntry"
#define TARGET_PLUGIN_USES_MIDI 1
#define TARGET_PLUGIN_IS_INSTRUMENT 0
#define TARGET_PLUGIN_USES_DSPCORE 1
#define TARGET_PLUGIN_HAS_GUI 1
#define PLUGIN_BACKGROUND_IMAGE_FILENAME "geometer-background.png"
#define PLUGIN_BUNDLE_IDENTIFIER DESTROYFX_BUNDLE_ID_PREFIX PLUGIN_NAME_STRING DFX_BUNDLE_ID_SUFFIX
#define PLUGIN_COPYRIGHT_YEAR_STRING "2002-2021"
#define PLUGIN_COPYRIGHT_YEAR_STRING "2002-2022"
#define VST_NUM_CHANNELS 2


Expand Down
5 changes: 2 additions & 3 deletions midigater/midigaterdef.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*------------------------------------------------------------------------
Copyright (C) 2002-2021 Sophia Poirier
Copyright (C) 2002-2022 Sophia Poirier
This file is part of MIDI Gater.
Expand Down Expand Up @@ -32,14 +32,13 @@ To contact the author, use the contact form at http:https://destroyfx.org/
#define PLUGIN_VERSION_MINOR 0
#define PLUGIN_VERSION_BUGFIX 1
#define PLUGIN_CLASS_NAME MIDIGater
#define PLUGIN_ENTRY_POINT "MIDIGaterEntry"
#define TARGET_PLUGIN_USES_MIDI 1
#define TARGET_PLUGIN_IS_INSTRUMENT 0
#define TARGET_PLUGIN_USES_DSPCORE 0
#define TARGET_PLUGIN_HAS_GUI 1
#define PLUGIN_BACKGROUND_IMAGE_FILENAME "midi-gater-background.png"
#define PLUGIN_BUNDLE_IDENTIFIER DESTROYFX_BUNDLE_ID_PREFIX "MIDIGater" DFX_BUNDLE_ID_SUFFIX
#define PLUGIN_COPYRIGHT_YEAR_STRING "2001-2021"
#define PLUGIN_COPYRIGHT_YEAR_STRING "2001-2022"
#define VST_NUM_CHANNELS 2


Expand Down
5 changes: 2 additions & 3 deletions monomaker/monomakerdef.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*------------------------------------------------------------------------
Copyright (C) 2002-2021 Sophia Poirier
Copyright (C) 2002-2022 Sophia Poirier
This file is part of Monomaker.
Expand Down Expand Up @@ -32,14 +32,13 @@ To contact the author, use the contact form at http:https://destroyfx.org/
#define PLUGIN_VERSION_MINOR 1
#define PLUGIN_VERSION_BUGFIX 1
#define PLUGIN_CLASS_NAME Monomaker
#define PLUGIN_ENTRY_POINT "MonomakerEntry"
#define TARGET_PLUGIN_USES_MIDI 0
#define TARGET_PLUGIN_IS_INSTRUMENT 0
#define TARGET_PLUGIN_USES_DSPCORE 0
#define TARGET_PLUGIN_HAS_GUI 1
#define PLUGIN_BACKGROUND_IMAGE_FILENAME "background.png"
#define PLUGIN_BUNDLE_IDENTIFIER DESTROYFX_BUNDLE_ID_PREFIX PLUGIN_NAME_STRING DFX_BUNDLE_ID_SUFFIX
#define PLUGIN_COPYRIGHT_YEAR_STRING "2001-2021"
#define PLUGIN_COPYRIGHT_YEAR_STRING "2001-2022"
#define VST_NUM_CHANNELS 2


Expand Down
5 changes: 2 additions & 3 deletions polarizer/polarizerdef.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*------------------------------------------------------------------------
Copyright (C) 2002-2021 Sophia Poirier
Copyright (C) 2002-2022 Sophia Poirier
This file is part of Polarizer.
Expand Down Expand Up @@ -32,14 +32,13 @@ To contact the author, use the contact form at http:https://destroyfx.org/
#define PLUGIN_VERSION_MINOR 1
#define PLUGIN_VERSION_BUGFIX 1
#define PLUGIN_CLASS_NAME Polarizer
#define PLUGIN_ENTRY_POINT "PolarizerEntry"
#define TARGET_PLUGIN_USES_MIDI 0
#define TARGET_PLUGIN_IS_INSTRUMENT 0
#define TARGET_PLUGIN_USES_DSPCORE 1
#define TARGET_PLUGIN_HAS_GUI 1
#define PLUGIN_BACKGROUND_IMAGE_FILENAME "polarizer-background.png"
#define PLUGIN_BUNDLE_IDENTIFIER DESTROYFX_BUNDLE_ID_PREFIX PLUGIN_NAME_STRING DFX_BUNDLE_ID_SUFFIX
#define PLUGIN_COPYRIGHT_YEAR_STRING "2001-2021"
#define PLUGIN_COPYRIGHT_YEAR_STRING "2001-2022"
#define VST_NUM_CHANNELS 2


Expand Down
5 changes: 2 additions & 3 deletions rezsynth/rezsynthdef.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*------------------------------------------------------------------------
Copyright (C) 2002-2021 Sophia Poirier
Copyright (C) 2002-2022 Sophia Poirier
This file is part of Rez Synth.
Expand Down Expand Up @@ -32,14 +32,13 @@ To contact the author, use the contact form at http:https://destroyfx.org/
#define PLUGIN_VERSION_MINOR 0
#define PLUGIN_VERSION_BUGFIX 1
#define PLUGIN_CLASS_NAME RezSynth
#define PLUGIN_ENTRY_POINT "RezSynthEntry"
#define TARGET_PLUGIN_USES_MIDI 1
#define TARGET_PLUGIN_IS_INSTRUMENT 0
#define TARGET_PLUGIN_USES_DSPCORE 0
#define TARGET_PLUGIN_HAS_GUI 1
#define PLUGIN_BACKGROUND_IMAGE_FILENAME "background.png"
#define PLUGIN_BUNDLE_IDENTIFIER DESTROYFX_BUNDLE_ID_PREFIX "RezSynth" DFX_BUNDLE_ID_SUFFIX
#define PLUGIN_COPYRIGHT_YEAR_STRING "2001-2021"
#define PLUGIN_COPYRIGHT_YEAR_STRING "2001-2022"
#define VST_NUM_CHANNELS 2


Expand Down
5 changes: 2 additions & 3 deletions scrubby/scrubbydef.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*------------------------------------------------------------------------
Copyright (C) 2002-2021 Sophia Poirier
Copyright (C) 2002-2022 Sophia Poirier
This file is part of Scrubby.
Expand Down Expand Up @@ -32,14 +32,13 @@ To contact the author, use the contact form at http:https://destroyfx.org/
#define PLUGIN_VERSION_MINOR 1
#define PLUGIN_VERSION_BUGFIX 1
#define PLUGIN_CLASS_NAME Scrubby
#define PLUGIN_ENTRY_POINT "ScrubbyEntry"
#define TARGET_PLUGIN_USES_MIDI 1
#define TARGET_PLUGIN_IS_INSTRUMENT 0
#define TARGET_PLUGIN_USES_DSPCORE 0
#define TARGET_PLUGIN_HAS_GUI 1
#define PLUGIN_BACKGROUND_IMAGE_FILENAME "scrubby-background.png"
#define PLUGIN_BUNDLE_IDENTIFIER DESTROYFX_BUNDLE_ID_PREFIX PLUGIN_NAME_STRING DFX_BUNDLE_ID_SUFFIX
#define PLUGIN_COPYRIGHT_YEAR_STRING "2002-2021"
#define PLUGIN_COPYRIGHT_YEAR_STRING "2002-2022"
#define VST_NUM_CHANNELS 2


Expand Down
5 changes: 2 additions & 3 deletions skidder/skidderdef.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*------------------------------------------------------------------------
Copyright (C) 2002-2021 Sophia Poirier
Copyright (C) 2002-2022 Sophia Poirier
This file is part of Skidder.
Expand Down Expand Up @@ -32,14 +32,13 @@ To contact the author, use the contact form at http:https://destroyfx.org/
#define PLUGIN_VERSION_MINOR 0
#define PLUGIN_VERSION_BUGFIX 1
#define PLUGIN_CLASS_NAME Skidder
#define PLUGIN_ENTRY_POINT "SkidderEntry"
#define TARGET_PLUGIN_USES_MIDI 1
#define TARGET_PLUGIN_IS_INSTRUMENT 0
#define TARGET_PLUGIN_USES_DSPCORE 0
#define TARGET_PLUGIN_HAS_GUI 1
#define PLUGIN_BACKGROUND_IMAGE_FILENAME "background.png"
#define PLUGIN_BUNDLE_IDENTIFIER DESTROYFX_BUNDLE_ID_PREFIX PLUGIN_NAME_STRING DFX_BUNDLE_ID_SUFFIX
#define PLUGIN_COPYRIGHT_YEAR_STRING "2000-2021"
#define PLUGIN_COPYRIGHT_YEAR_STRING "2000-2022"
#define VST_NUM_CHANNELS 2


Expand Down
18 changes: 16 additions & 2 deletions slowft/slowftdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,29 @@
/* You need to redefine this stuff in order to make your plugin.
see dfxplugin.h for details. */

#ifndef DFX_SLOWFT_DEF_H
#define DFX_SLOWFT_DEF_H


#include "dfxplugin-prefix.h"

#define PLUGIN_NAME_STRING "SLOWFT"
#define PLUGIN_ID FOURCC('D', 'F', 's', 'f')
#define PLUGIN_VERSION 0x00010100
#define PLUGIN_ENTRY_POINT "SlowftEntry"
#define PLUGIN_VERSION_MAJOR 1
#define PLUGIN_VERSION_MINOR 1
#define PLUGIN_VERSION_BUGFIX 0

#define TARGET_PLUGIN_USES_MIDI 1
#define TARGET_PLUGIN_IS_INSTRUMENT 0
#define TARGET_PLUGIN_USES_DSPCORE 1

#define PLUGIN_COPYRIGHT_YEAR_STRING "2005-2022"

#define VST_NUM_CHANNELS 2

#ifndef TARGET_PLUGIN_HAS_GUI
#define TARGET_PLUGIN_HAS_GUI 0
#endif


#endif
5 changes: 2 additions & 3 deletions stub-dfxplugin/dfxplugin-stub-def.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*------------------------------------------------------------------------
Destroy FX Library is a collection of foundation code
for creating audio processing plug-ins.
Copyright (C) 2002-2021 Sophia Poirier
Copyright (C) 2002-2022 Sophia Poirier
This file is part of the Destroy FX Library (version 1.0).
Expand Down Expand Up @@ -44,11 +44,10 @@ or somehow define this stuff another way (in compiler settings, or whatever).
// your subclass of DfxPlugin
#define PLUGIN_CLASS_NAME DfxStub
// Audio Unit entry point: plugin class name appended with "Entry"
#define PLUGIN_ENTRY_POINT "DfxStubEntry"
// macOS bundle identifier
#define PLUGIN_BUNDLE_IDENTIFIER DESTROYFX_BUNDLE_ID_PREFIX "DfxStub" DFX_BUNDLE_ID_SUFFIX
// copyright year(s) published in versioning metadata
#define PLUGIN_COPYRIGHT_YEAR_STRING "2002-2021"
#define PLUGIN_COPYRIGHT_YEAR_STRING "2002-2022"
// 0 or 1
#define TARGET_PLUGIN_USES_MIDI 1
// 0 or 1 (1 implied 1 is also true for TARGET_PLUGIN_USES_MIDI)
Expand Down
5 changes: 2 additions & 3 deletions thrush/thrushdef.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*------------------------------------------------------------------------
Copyright (C) 2001-2021 Sophia Poirier and Keith Fullerton Whitman
Copyright (C) 2001-2022 Sophia Poirier and Keith Fullerton Whitman
This file is part of Thrush.
Expand Down Expand Up @@ -31,13 +31,12 @@ To contact the author, use the contact form at http:https://destroyfx.org/
#define PLUGIN_VERSION_MINOR 0
#define PLUGIN_VERSION_BUGFIX 0
#define PLUGIN_CLASS_NAME Thrush
#define PLUGIN_ENTRY_POINT "ThrushFactory"
#define TARGET_PLUGIN_USES_MIDI 0
#define TARGET_PLUGIN_IS_INSTRUMENT 0
#define TARGET_PLUGIN_USES_DSPCORE 0
#define TARGET_PLUGIN_HAS_GUI 0
//#define PLUGIN_BACKGROUND_IMAGE_FILENAME "thrush-background.png"
#define PLUGIN_COPYRIGHT_YEAR_STRING "2001-2021"
#define PLUGIN_COPYRIGHT_YEAR_STRING "2001-2022"
#define VST_NUM_CHANNELS 2


Expand Down
3 changes: 1 addition & 2 deletions transverb/transverbdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,14 @@ To contact the author, use the contact form at http:https://destroyfx.org/
#define PLUGIN_VERSION_MINOR 5
#define PLUGIN_VERSION_BUGFIX 3
#define PLUGIN_CLASS_NAME Transverb
#define PLUGIN_ENTRY_POINT "TransverbEntry"
#define TARGET_PLUGIN_USES_MIDI 1
#define TARGET_PLUGIN_IS_INSTRUMENT 0
#define TARGET_PLUGIN_USES_DSPCORE 1
#define TARGET_PLUGIN_HAS_GUI 1
#define PLUGIN_BACKGROUND_IMAGE_FILENAME "transverb-background.png"


#define PLUGIN_COPYRIGHT_YEAR_STRING "2001-2021"
#define PLUGIN_COPYRIGHT_YEAR_STRING "2001-2022"

#define VST_NUM_CHANNELS 2

Expand Down

0 comments on commit 25e62fa

Please sign in to comment.