diff --git a/src/effects/audiounits/AUControl.mm b/src/effects/audiounits/AUControl.mm
index 9296318..52cc77b 100644
a
|
b
|
bool AUControl::Create(wxWindow *parent, AudioComponent comp, AudioUnit unit, bo |
163 | 163 | #endif |
164 | 164 | } |
165 | 165 | |
166 | | if (!mView && !mHIView) |
| 166 | if (!mView |
| 167 | #if !defined(_LP64) |
| 168 | && !mHIView |
| 169 | #endif |
| 170 | ) |
167 | 171 | { |
168 | 172 | CreateGeneric(); |
169 | 173 | } |
170 | 174 | |
171 | | if (!mView && !mHIView) |
| 175 | if (!mView |
| 176 | #if !defined(_LP64) |
| 177 | && !mHIView |
| 178 | #endif |
| 179 | ) |
172 | 180 | { |
173 | 181 | return false; |
174 | 182 | } |
175 | 183 | |
176 | 184 | SetPeer(new AUControlImpl(this, mAUView)); |
177 | 185 | |
| 186 | #if !defined(_LP64) |
178 | 187 | if (mHIView) |
179 | 188 | { |
180 | 189 | CreateCarbonOverlay(); |
181 | 190 | } |
| 191 | #endif |
182 | 192 | |
183 | 193 | // Must get the size again since SetPeer() could cause it to change |
184 | 194 | SetInitialSize(GetMinSize()); |
diff --git a/configure b/configure
index 8904ff9..e78dbf3 100755
a
|
b
|
esac |
23595 | 23595 | case "${host_os}" in |
23596 | 23596 | darwin* | rhapsody*) |
23597 | 23597 | LIBS="-framework AudioUnit -framework AudioToolbox $LIBS" |
23598 | | LIBS="-framework CoreAudio $LIBS -lz" |
| 23598 | LIBS="-framework CoreAudio -framework CoreAudioKit $LIBS -lz" |
23599 | 23599 | ;; |
23600 | 23600 | cygwin*) |
23601 | 23601 | ;; |
diff --git a/src/Makefile.am b/src/Makefile.am
index aab9208..1fda424 100644
a
|
b
|
audacity_LDADD += $(AUDIOUNITS_LIBS) |
574 | 575 | audacity_SOURCES += \ |
575 | 576 | effects/audiounits/AudioUnitEffect.cpp \ |
576 | 577 | effects/audiounits/AudioUnitEffect.h \ |
| 578 | effects/audiounits/AUControl.mm \ |
| 579 | effects/audiounits/AUControl.h \ |
577 | 580 | $(NULL) |
578 | 581 | endif |
579 | 582 | |
diff --git a/src/Makefile.in b/src/Makefile.in
index e5becb0..e7ab5e6 100644
a
|
b
|
bin_PROGRAMS = audacity$(EXEEXT) |
95 | 95 | @USE_AUDIO_UNITS_TRUE@am__append_3 = \ |
96 | 96 | @USE_AUDIO_UNITS_TRUE@ effects/audiounits/AudioUnitEffect.cpp \ |
97 | 97 | @USE_AUDIO_UNITS_TRUE@ effects/audiounits/AudioUnitEffect.h \ |
| 98 | @USE_AUDIO_UNITS_TRUE@ effects/audiounits/AUControl.mm \ |
| 99 | @USE_AUDIO_UNITS_TRUE@ effects/audiounits/AUControl.h \ |
98 | 100 | @USE_AUDIO_UNITS_TRUE@ $(NULL) |
99 | 101 | |
100 | 102 | @USE_FFMPEG_TRUE@am__append_4 = $(FFMPEG_CFLAGS) |
… |
… |
am__audacity_SOURCES_DIST = BlockFile.cpp BlockFile.h DirManager.cpp \ |
467 | 469 | widgets/valnum.h widgets/Warning.cpp widgets/Warning.h \ |
468 | 470 | xml/XMLFileReader.cpp xml/XMLFileReader.h xml/XMLWriter.cpp \ |
469 | 471 | xml/XMLWriter.h effects/audiounits/AudioUnitEffect.cpp \ |
470 | | effects/audiounits/AudioUnitEffect.h export/ExportFFmpeg.cpp \ |
| 472 | effects/audiounits/AudioUnitEffect.h effects/audiounits/AUControl.mm \ |
| 473 | effects/audiounits/AUControl.h export/ExportFFmpeg.cpp \ |
471 | 474 | export/ExportFFmpeg.h export/ExportFFmpegDialogs.cpp \ |
472 | 475 | export/ExportFFmpegDialogs.h import/ImportFFmpeg.cpp \ |
473 | 476 | import/ImportFFmpeg.h import/ImportGStreamer.cpp \ |
… |
… |
am__objects_1 = audacity-BlockFile.$(OBJEXT) \ |
498 | 501 | blockfile/audacity-SilentBlockFile.$(OBJEXT) \ |
499 | 502 | blockfile/audacity-SimpleBlockFile.$(OBJEXT) \ |
500 | 503 | xml/audacity-XMLTagHandler.$(OBJEXT) |
501 | | @USE_AUDIO_UNITS_TRUE@am__objects_2 = effects/audiounits/audacity-AudioUnitEffect.$(OBJEXT) |
| 504 | @USE_AUDIO_UNITS_TRUE@am__objects_2 = effects/audiounits/audacity-AudioUnitEffect.$(OBJEXT) \ |
| 505 | @USE_AUDIO_UNITS_TRUE@ effects/audiounits/audacity-AUControl.$(OBJEXT) |
502 | 506 | @USE_FFMPEG_TRUE@am__objects_3 = \ |
503 | 507 | @USE_FFMPEG_TRUE@ export/audacity-ExportFFmpeg.$(OBJEXT) \ |
504 | 508 | @USE_FFMPEG_TRUE@ export/audacity-ExportFFmpegDialogs.$(OBJEXT) \ |
… |
… |
effects/audiounits/$(DEPDIR)/$(am__dirstamp): |
1886 | 1891 | effects/audiounits/audacity-AudioUnitEffect.$(OBJEXT): \ |
1887 | 1892 | effects/audiounits/$(am__dirstamp) \ |
1888 | 1893 | effects/audiounits/$(DEPDIR)/$(am__dirstamp) |
| 1894 | effects/audiounits/audacity-AUControl.$(OBJEXT): \ |
| 1895 | effects/audiounits/$(am__dirstamp) \ |
| 1896 | effects/audiounits/$(DEPDIR)/$(am__dirstamp) |
1889 | 1897 | export/audacity-ExportFFmpeg.$(OBJEXT): export/$(am__dirstamp) \ |
1890 | 1898 | export/$(DEPDIR)/$(am__dirstamp) |
1891 | 1899 | export/audacity-ExportFFmpegDialogs.$(OBJEXT): export/$(am__dirstamp) \ |
… |
… |
distclean-compile: |
2158 | 2166 | @AMDEP_TRUE@@am__include@ @am__quote@effects/$(DEPDIR)/audacity-Wahwah.Po@am__quote@ |
2159 | 2167 | @AMDEP_TRUE@@am__include@ @am__quote@effects/VST/$(DEPDIR)/audacity-VSTControlGTK.Po@am__quote@ |
2160 | 2168 | @AMDEP_TRUE@@am__include@ @am__quote@effects/VST/$(DEPDIR)/audacity-VSTEffect.Po@am__quote@ |
| 2169 | @AMDEP_TRUE@@am__include@ @am__quote@effects/audiounits/$(DEPDIR)/audacity-AUControl.Po@am__quote@ |
2161 | 2170 | @AMDEP_TRUE@@am__include@ @am__quote@effects/audiounits/$(DEPDIR)/audacity-AudioUnitEffect.Po@am__quote@ |
2162 | 2171 | @AMDEP_TRUE@@am__include@ @am__quote@effects/ladspa/$(DEPDIR)/audacity-LadspaEffect.Po@am__quote@ |
2163 | 2172 | @AMDEP_TRUE@@am__include@ @am__quote@effects/lv2/$(DEPDIR)/audacity-LV2Effect.Po@am__quote@ |
… |
… |
effects/audiounits/audacity-AudioUnitEffect.obj: effects/audiounits/AudioUnitEff |
5813 | 5822 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
5814 | 5823 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(audacity_CPPFLAGS) $(CPPFLAGS) $(audacity_CXXFLAGS) $(CXXFLAGS) -c -o effects/audiounits/audacity-AudioUnitEffect.obj `if test -f 'effects/audiounits/AudioUnitEffect.cpp'; then $(CYGPATH_W) 'effects/audiounits/AudioUnitEffect.cpp'; else $(CYGPATH_W) '$(srcdir)/effects/audiounits/AudioUnitEffect.cpp'; fi` |
5815 | 5824 | |
| 5825 | effects/audiounits/audacity-AUControl.o: effects/audiounits/AUControl.mm |
| 5826 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(audacity_CPPFLAGS) $(CPPFLAGS) $(audacity_CXXFLAGS) $(CXXFLAGS) -MT effects/audiounits/audacity-AUControl.o -MD -MP -MF effects/audiounits/$(DEPDIR)/audacity-AUControl.Tpo -c -o effects/audiounits/audacity-AUControl.o `test -f 'effects/audiounits/AUControl.mm' || echo '$(srcdir)/'`effects/audiounits/AUControl.mm |
| 5827 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) effects/audiounits/$(DEPDIR)/audacity-AUControl.Tpo effects/audiounits/$(DEPDIR)/audacity-AUControl.Po |
| 5828 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='effects/audiounits/AUControl.mm' object='effects/audiounits/audacity-AUControl.o' libtool=no @AMDEPBACKSLASH@ |
| 5829 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 5830 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(audacity_CPPFLAGS) $(CPPFLAGS) $(audacity_CXXFLAGS) $(CXXFLAGS) -c -o effects/audiounits/audacity-AUControl.o `test -f 'effects/audiounits/AUControl.mm' || echo '$(srcdir)/'`effects/audiounits/AUControl.mm |
| 5831 | |
| 5832 | effects/audiounits/audacity-AUControl.obj: effects/audiounits/AUControl.mm |
| 5833 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(audacity_CPPFLAGS) $(CPPFLAGS) $(audacity_CXXFLAGS) $(CXXFLAGS) -MT effects/audiounits/audacity-AUControl.obj -MD -MP -MF effects/audiounits/$(DEPDIR)/audacity-AUControl.Tpo -c -o effects/audiounits/audacity-AUControl.obj `if test -f 'effects/audiounits/AUControl.mm'; then $(CYGPATH_W) 'effects/audiounits/AUControl.mm'; else $(CYGPATH_W) '$(srcdir)/effects/audiounits/AUControl.mm'; fi` |
| 5834 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) effects/audiounits/$(DEPDIR)/audacity-AUControl.Tpo effects/audiounits/$(DEPDIR)/audacity-AUControl.Po |
| 5835 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='effects/audiounits/AUControl.mm' object='effects/audiounits/audacity-AUControl.obj' libtool=no @AMDEPBACKSLASH@ |
| 5836 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 5837 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(audacity_CPPFLAGS) $(CPPFLAGS) $(audacity_CXXFLAGS) $(CXXFLAGS) -c -o effects/audiounits/audacity-AUControl.obj `if test -f 'effects/audiounits/AUControl.mm'; then $(CYGPATH_W) 'effects/audiounits/AUControl.mm'; else $(CYGPATH_W) '$(srcdir)/effects/audiounits/AUControl.mm'; fi` |
| 5838 | |
5816 | 5839 | export/audacity-ExportFFmpeg.o: export/ExportFFmpeg.cpp |
5817 | 5840 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(audacity_CPPFLAGS) $(CPPFLAGS) $(audacity_CXXFLAGS) $(CXXFLAGS) -MT export/audacity-ExportFFmpeg.o -MD -MP -MF export/$(DEPDIR)/audacity-ExportFFmpeg.Tpo -c -o export/audacity-ExportFFmpeg.o `test -f 'export/ExportFFmpeg.cpp' || echo '$(srcdir)/'`export/ExportFFmpeg.cpp |
5818 | 5841 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) export/$(DEPDIR)/audacity-ExportFFmpeg.Tpo export/$(DEPDIR)/audacity-ExportFFmpeg.Po |