lib-src/Makefile.am: Separate optional subdirs into separate variable.

git-svn-id: https://audacity.googlecode.com/svn/audacity-src/trunk@13128 47890b92-0858-11df-a26f-8b716316a5bc
Exclude libresample from source tarball (generated by automake).

libsoxr is the default resampling library.


git-svn-id: https://audacity.googlecode.com/svn/audacity-src/trunk@13129 47890b92-0858-11df-a26f-8b716316a5bc
Add images/AudacityLogoWithName.xpm to EXTRA_DIST.

git-svn-id: https://audacity.googlecode.com/svn/audacity-src/trunk@13130 47890b92-0858-11df-a26f-8b716316a5bc
Include more necessary xpm files in source tarball.

git-svn-id: https://audacity.googlecode.com/svn/audacity-src/trunk@13131 47890b92-0858-11df-a26f-8b716316a5bc
Import headers of FFmpeg 2.2.2 into lib-src/ffmpeg.


git-svn-id: https://audacity.googlecode.com/svn/audacity-src/trunk@13132 47890b92-0858-11df-a26f-8b716316a5bc
Use av_free instead of avcodec_free_frame for old libav/FFmpeg versions.

git-svn-id: https://audacity.googlecode.com/svn/audacity-src/trunk@13133 47890b92-0858-11df-a26f-8b716316a5bc
Remove unused PKT_FLAG_KEY definition.

git-svn-id: https://audacity.googlecode.com/svn/audacity-src/trunk@13134 47890b92-0858-11df-a26f-8b716316a5bc
Drop compatibility for libav/FFmpeg < 0.7.

git-svn-id: https://audacity.googlecode.com/svn/audacity-src/trunk@13135 47890b92-0858-11df-a26f-8b716316a5bc
Use CodecID instead of AVCodecID for old libav/FFmpeg versions.

git-svn-id: https://audacity.googlecode.com/svn/audacity-src/trunk@13136 47890b92-0858-11df-a26f-8b716316a5bc
Bug fixes and additions to VST plugins

Bugs fixed:

1)  When scanning for VSTs on Mac, bogus lines could show up in the list if the .vst
    file had more than one Info.plist in the bungle.  GRM and TAL plugins exhibited
    this issue.
2)  When scanning for VSTs on Mac, reuse of a variable caused the plugin to be
    accepted even though it was a synth.  So it would show up in the Generate menu.
3)  I recently disabled the the plugin list dialog once the OK button was clicked
    to prevent clicking it again.  This was overkill and prevented clicking Cancel
    while the scan was running.  So, changed it to only disable the OK button.
4)  The new Settings dialog would save the settings even if you clicked Cancel.
5)  Detecing the overlay window on Mac didn't work in all cases.  Did more research
    and I believe the revised method is correct. (Window list is z-order sorted)
6)  When changing the preset from the top combo, the return value from the
    plugin was not check when getting the current preset (program).  It assumed
    that there was always an active program.  This is not at all correct.

Most of the new additions are an attempt to be more compatible with more plugins.
I have not found any plugins that crash Audacity anymore, so I'm not sure how to
really give these changes a good workout.  However, Guitar Rig 5 and Reaktor 5
are now quite usable since one of the additions was window resizing.

1)  Refreshed the aeffectx.h header from the LMSS project and merged in some
    additional changes from Ardour.
2)  Changed the method prototypes to reflect the new aeffectx.h header.
3)  Plugin scan dialog now has a "Select All" and "Clear All" buttons.  (On a
    personal note, this was a major boon while testing...way easier to include
    a single VST.)
4)  Uses a timer now instead of the wxIdleEvent to send effIdle messages to the
    plugin.  Idle could be all many times more than was necessary.
5)  Process level is now reported when requested by the plugin.  Don't know how
    useful it is, but many plugins request it.
6)  Two new events are sent to the dialog from the audioMaster callback to support
    window updating and resizing.  Figured it was safer this way since the callback
    "might" be called from a different thread (as far as I could figure out anyway).
7)  Current sample rate is now returned to the plugin when requested.
8)  The dialog now resizes when the plugin informs us of a size change to its window.
    This was one of the major drawbacks to using Guitar Rig and Reaktor as their
    window would resize and pretty much be useless since the dialog didn't adjust to
    the new size.  Kontakt was another that even includes a draggable resizer in the
    bottom right corner which the dialog supports just fine now.  (Not that Kontakt
    is actually supported though.)
9)  The preset bar is now updated when the plugin informs us of "major" changes with
    the UpdateDisplay opcode.  I noticed that when changing presets within Guitar
    Rig, the preset bar didn't change.

Discovered limitation:

Guitar Rig and, it seems, other plugins will only report a maximum of 128 presets (or
rather programs) even if they support more.  I'd figure out a way to populate the
combo with all of the presets via some major hackage, but it didn't do any good since
Guitar Rig simply refused to set any program number above 128.

Not much can be done about this...just a heads up.




git-svn-id: https://audacity.googlecode.com/svn/audacity-src/trunk@13137 47890b92-0858-11df-a26f-8b716316a5bc
Fixes some minor issues reported by valgrind.



git-svn-id: https://audacity.googlecode.com/svn/audacity-src/trunk@13138 47890b92-0858-11df-a26f-8b716316a5bc
Fixing a crash exposed by the kn0ck0ut LV2 plugin.

After reporting the crash to the kn0ck0ut LV2 maintainer, he pointed out that
Audacity wasn't connecting to all required LV2 ports.  In this case it was the
latency port.  This corrects that oversight.

In addition, since I was fiddling with the latency port, I figured I might as
well go ahead and add the necessary code to compensate for it.




git-svn-id: https://audacity.googlecode.com/svn/audacity-src/trunk@13139 47890b92-0858-11df-a26f-8b716316a5bc
Restore preset behavior until a better solution is devised.



git-svn-id: https://audacity.googlecode.com/svn/audacity-src/trunk@13140 47890b92-0858-11df-a26f-8b716316a5bc
src/Makefile.am: Add Andrew Hallendorff's SSE accelerated Equalization files.

git-svn-id: https://audacity.googlecode.com/svn/audacity-src/trunk@13141 47890b92-0858-11df-a26f-8b716316a5bc
Update generated autotool files

...by running autoreconf --no-recursive --install


git-svn-id: https://audacity.googlecode.com/svn/audacity-src/trunk@13142 47890b92-0858-11df-a26f-8b716316a5bc
FFmpeg: use Codec name instead if codec_id integer to identify codec

This allows selecting the intended codec when there are multiple with the same
codec_id

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>


git-svn-id: https://audacity.googlecode.com/svn/audacity-src/trunk@13143 47890b92-0858-11df-a26f-8b716316a5bc
fix frame_size=0 export case

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>


git-svn-id: https://audacity.googlecode.com/svn/audacity-src/trunk@13144 47890b92-0858-11df-a26f-8b716316a5bc
remove unused argument to encode_audio()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>


git-svn-id: https://audacity.googlecode.com/svn/audacity-src/trunk@13145 47890b92-0858-11df-a26f-8b716316a5bc
remove special case for flac, flac has smalllast frame cap set

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>


git-svn-id: https://audacity.googlecode.com/svn/audacity-src/trunk@13146 47890b92-0858-11df-a26f-8b716316a5bc
avoid using AVCodecContext->frame_size as the one and only frame size

It can be 0 in case of variable frame size support.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>


git-svn-id: https://audacity.googlecode.com/svn/audacity-src/trunk@13147 47890b92-0858-11df-a26f-8b716316a5bc