1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-07 15:22:34 +02:00

2448 Commits

Author SHA1 Message Date
benjamin.drung@gmail.com
cda7ade23a ExportFFmpeg: dont set global_quality to -99999
This confuses the native aac encoder at least.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-27 21:49:04 +00:00
benjamin.drung@gmail.com
4348c9e9c4 ExportFFmpeg: set strict_std_compliance = FF_COMPLIANCE_EXPERIMENTAL;
This allows using the native AAC encoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-27 21:48:36 +00:00
benjamin.drung@gmail.com
8149b34861 ExportFFmpeg: remove unused variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-27 21:47:54 +00:00
benjamin.drung@gmail.com
16f834f0c3 FFmpeg: raise log level to info
Log level info is the default in FFmpeg and its quite hidden anyway so users
should not see it anyway unless they look/search for it.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-27 21:47:29 +00:00
benjamin.drung@gmail.com
a4e0ff05fb ExportFFmpeg: also check for CODEC_CAP_VARIABLE_FRAME_SIZE
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-27 21:46:26 +00:00
benjamin.drung@gmail.com
9755771524 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>
2014-05-27 21:45:52 +00:00
benjamin.drung@gmail.com
813f8450ea 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>
2014-05-27 21:40:22 +00:00
benjamin.drung@gmail.com
259e9361da remove unused argument to encode_audio()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-27 21:39:54 +00:00
benjamin.drung@gmail.com
3a56978e17 fix frame_size=0 export case
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-27 21:37:15 +00:00
benjamin.drung@gmail.com
73295bbc02 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>
2014-05-27 21:36:01 +00:00
benjamin.drung@gmail.com
da47fe0373 Update generated autotool files
...by running autoreconf --no-recursive --install
2014-05-27 21:02:04 +00:00
benjamin.drung@gmail.com
9675f18ac4 src/Makefile.am: Add Andrew Hallendorff's SSE accelerated Equalization files. 2014-05-27 20:57:36 +00:00
lllucius
de27ef14c9 Restore preset behavior until a better solution is devised. 2014-05-27 07:08:10 +00:00
lllucius@gmail.com
bc6904077f 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.
2014-05-27 02:06:00 +00:00
lllucius@gmail.com
d50f893864 Fixes some minor issues reported by valgrind. 2014-05-27 02:02:59 +00:00
lllucius
c79bf9b1fa 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.
2014-05-26 01:36:14 +00:00
benjamin.drung@gmail.com
12a9d61d56 Use CodecID instead of AVCodecID for old libav/FFmpeg versions. 2014-05-25 22:15:59 +00:00
benjamin.drung@gmail.com
0a1999130d Drop compatibility for libav/FFmpeg < 0.7. 2014-05-25 21:08:58 +00:00
benjamin.drung@gmail.com
31f66d9cfa Remove unused PKT_FLAG_KEY definition. 2014-05-25 19:25:56 +00:00
benjamin.drung@gmail.com
80fa80dcf4 Use av_free instead of avcodec_free_frame for old libav/FFmpeg versions. 2014-05-25 19:24:02 +00:00
benjamin.drung@gmail.com
14b47b46ab Import headers of FFmpeg 2.2.2 into lib-src/ffmpeg. 2014-05-25 17:46:34 +00:00
benjamin.drung@gmail.com
7d2ca59107 Include more necessary xpm files in source tarball. 2014-05-24 21:31:56 +00:00
benjamin.drung@gmail.com
4550d9b338 Add images/AudacityLogoWithName.xpm to EXTRA_DIST. 2014-05-24 20:04:08 +00:00
benjamin.drung@gmail.com
212e70a25f Exclude libresample from source tarball (generated by automake).
libsoxr is the default resampling library.
2014-05-24 20:00:29 +00:00
benjamin.drung@gmail.com
5e54fc635c lib-src/Makefile.am: Separate optional subdirs into separate variable. 2014-05-24 17:57:39 +00:00
benjamin.drung@gmail.com
b74ecf29aa src/Makefile.am: Drop ImportGStreamer.* from EXTRA_DIST (they are included by GStreamer). 2014-05-24 11:36:15 +00:00
benjamin.drung@gmail.com
571521a8d8 src/Makefile.am: Drop removed GStreamerLoader.* from EXTRA_DIST. 2014-05-24 11:34:29 +00:00
benjamin.drung@gmail.com
88b4f52422 Drop libavutil/frame.h include again.
Use avcodec_alloc_frame/avcodec_free_frame for older FFmpeg/libav versions
that do not have av_frame_alloc/av_frame_free (when compiling with
--disable-dynamic-loading).
2014-05-24 11:01:15 +00:00
benjamin.drung@gmail.com
d139765be4 Include libavutil/frame.h for av_frame_alloc/av_frame_free. 2014-05-23 23:16:32 +00:00
benjamin.drung@gmail.com
463da8e816 Add support for libav 9. 2014-05-23 20:43:08 +00:00
benjamin.drung@gmail.com
89907256eb some saftey checks on buffer sizes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-23 20:42:25 +00:00
benjamin.drung@gmail.com
fb9bbb3385 no timestamps are being input in the encoder, thus don't output any
this fixes muxing to libvorbis, and possibly others

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-23 20:41:14 +00:00
benjamin.drung@gmail.com
5ce748d0b1 dont try to mux a packet if the encoder didnt output one
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-23 20:40:34 +00:00
benjamin.drung@gmail.com
b603ed2b7f fix error check for muxer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-23 20:39:08 +00:00
benjamin.drung@gmail.com
3aea9ad009 remove unneeded null check
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-23 20:38:45 +00:00
benjamin.drung@gmail.com
7a47f6fedd Prefer newer av_get_bits_per_sample_fmt over av_get_bits_per_sample_format. 2014-05-23 20:37:54 +00:00
benjamin.drung@gmail.com
48240202ca planar s16&flt export support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-23 20:37:27 +00:00
benjamin.drung@gmail.com
135e80b879 add back support for explicitly listed custom options
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-23 20:33:03 +00:00
benjamin.drung@gmail.com
6ac83ae299 remove unneeded probing code, ffmpeg does that already so no need to duplicate it
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-23 20:32:14 +00:00
benjamin.drung@gmail.com
60fe57463e remove urlprotocol use
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-23 20:31:34 +00:00
benjamin.drung@gmail.com
373b8fa049 Fix audio size
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-23 20:28:24 +00:00
benjamin.drung@gmail.com
5ae8679e3c fix random fixed buffer size and add quick and simple planar import support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-23 20:27:54 +00:00
benjamin.drung@gmail.com
f8be1f9668 Make audacity build with ffmpeg HEAD
This still depends on internal API
And is missing planar Audio support, so not all formats work
also the fixed size audio buffer has to be removed

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-23 20:25:50 +00:00
RichardAsh1981@gmail.com
54cca1deda Allow best-effort importing of malformed Ogg Vorbis data, patch by Stefan Hajnoczi. Add log messages to recovered and unrecovered errors for diagnosis 2014-05-23 19:28:32 +00:00
lllucius
8a5d31588a Rework some strings for consistency as suggest by Gale. 2014-05-23 07:52:56 +00:00
lllucius
a2d7b626fd Sven Giermann's FXP support changes 2014-05-23 06:07:27 +00:00
lllucius
631f6a119d Fix another loading issue with VST XML files. 2014-05-23 04:41:19 +00:00
lllucius
8b1d71c657 Fix VST XML file loading if it contained "chunks" 2014-05-23 04:18:43 +00:00
lllucius@gmail.com
31d23fdf3f Add some compatability for some Mac effects
Mac effects that use overlay windows should now work correctly.

And I made some minor changes to the settings dialog as suggested
by Gale.
2014-05-22 23:00:24 +00:00
lllucius
680896b1b9 Fix loading of VST XML programs. 2014-05-20 07:30:23 +00:00