1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-04 09:39:42 +02:00

1535 Commits

Author SHA1 Message Date
james.k.crook@gmail.com
4c0d515dba Added <wx/filename.h> to #includes. 2014-06-13 17:02:37 +00:00
james.k.crook@gmail.com
676cd8b1d4 Add "Prefs.h" into #includes fixing broken build (mea culpa). 2014-06-13 16:58:27 +00:00
lllucius
7f55060d07 Fix for http://bugzilla.audacityteam.org/show_bug.cgi?id=733
To heck with valgrind.  :-)
2014-06-12 23:25:15 +00:00
james.k.crook@gmail.com
55e6a71fd3 With EXPERIMENTAL_MODULE_PREFS we now have a dynamic list of modules, and we have options, enable, disable, ask, failed, new (=ask once and remember the answer). Without the #define the behaviour is unchanged. We ask about each module each time Audacity runs. 2014-06-12 21:08:14 +00:00
stevethefiddle@gmail.com
2b3214049a Comment to replace ANSWER-ME in ErrorDialog. 2014-06-12 18:29:09 +00:00
benjamin.drung@gmail.com
dea3dfb30e FFmpeg: Allow suffixes to the libavformat library filename.
The filechooser should also show libavformat-ffmpeg.so* files when "Only
libavformat.so" is selected as filter.
2014-06-10 21:38:22 +00:00
benjamin.drung@gmail.com
cb39b48274 FFmpeg: Get non-monolithic libav* filenames from libavformat.
The non-monolithic libavformat is linked against libavcodec and libavutil.
Instead of (falsely) guessing the filenames of libavcodec and libavutil, get the
files that the libavformat library is linked against. This fixes wrong filename
guesses and avoids run-time issues by using incompatible libavcodec/libavutil
version with libavformat.
2014-06-10 21:34:15 +00:00
benjamin.drung@gmail.com
caf557a614 FFmpeg: Modify FFMPEG_INITALT to support loading from a different alternative library.
av_frame_alloc/av_frame_free are defined in avutil, but the deprecated
alternative functions avcodec_alloc_frame/avcodec_free_frame are defined in
avcodec instead. FFMPEG_INITALT needs to be enhanced to support different
library names.
2014-06-10 21:18:50 +00:00
lllucius
a12818a912 Fix memleak. Not observed, just saw it when browsing the code. 2014-06-10 06:03:51 +00:00
RichardAsh1981@gmail.com
6605ac07e2 redirect Help button to Audacity documentation, using new infrastructure. Based on a patch from Steve the Fiddle 2014-06-09 19:56:25 +00:00
RichardAsh1981@gmail.com
894b955ac5 Add a utility overload to open a page from the manual without worrying what it is called (hopefully) in the various copies of the manual 2014-06-09 19:55:14 +00:00
RichardAsh1981@gmail.com
fc3a7558ae re-organise the Help System functions into a class as static methods for future utility 2014-06-09 18:42:19 +00:00
richardash1981
a26a1cff1c regenerate Makefile.in from Makefile.am after change there 2014-06-06 21:41:25 +00:00
RichardAsh1981@gmail.com
59b8cdeaa8 separate out Help system functions into their own source file (pending some extra ones) and change the required includes to accomodate this. As a result, some error class definitions have to move from .cpp file to .h file. 2014-06-06 21:34:36 +00:00
benjamin.drung@gmail.com
149fcafc1c Replace tabs by spaces. 2014-06-05 22:04:22 +00:00
benjamin.drung@gmail.com
c8d6505c64 FFmpeg: Fix import crash on older libav/FFmpeg versions.
avcodec_free_frame can't be directly replaced by av_free for older libav/FFmpeg
versions, because avcodec_free_frame takes a pointer to a pointer (**frame), but
av_free takes only a pointer (*frame).
2014-06-05 21:59:03 +00:00
benjamin.drung@gmail.com
277932dccb Remove trailing spaces. 2014-06-03 20:30:19 +00:00
benjamin.drung@gmail.com
d921c4969b Fix dynamic FFmpeg import.
The symbols av_dict_get, av_dict_set, and av_get_bytes_per_sample are defined in
libavutil, but not in libavformat or libavcodec.
2014-06-03 20:16:55 +00:00
benjamin.drung@gmail.com
7e72c4712b Revert defining different headers depending on FFMPEG_VERSION.
The preprocessor definition FFMPEG_VERSION cannot be used to determine whether
the libav* header are provided by the FFmpeg or libav project. Therefore an own
proprocessor definition is needed to make the differentiatiion.

IS_FFMPEG_PROJECT should be set by configure instead of hard-coding it in
FFmpeg.h.
2014-06-02 21:35:48 +00:00
benjamin.drung@gmail.com
729d7e31a3 Drop support for sonic audio codec.
libav dropped the support for the sonic audio codec.
2014-06-01 21:38:20 +00:00
benjamin.drung@gmail.com
0fa894c196 Use #define for backward compatibility only when --disable-dynamic-loading was specified. 2014-06-01 16:46:34 +00:00
benjamin.drung@gmail.com
b55c74b210 Define slightly different headers for libav.
Some parameters of libav functions have no 'const' flag in contrast to their
FFmpeg counterparts. Assume that the headers come from FFmpeg if FFMPEG_VERSION
is defined. Otherwise assume that the headers come from libav.
2014-06-01 16:37:17 +00:00
stevethefiddle@gmail.com
6003abb21d Bug 713 - remove duplicate "dB" label. 2014-06-01 13:01:42 +00:00
benjamin.drung@gmail.com
5308169b20 Include <wx/dynlib.h> on Linux for wxDynamicLibrary. 2014-05-31 20:30:39 +00:00
benjamin.drung@gmail.com
0fee6939e2 Fix default LADSPA search paths on Linux.
The default LADSPA search paths should be
/home/<user>/.ladspa:/usr/local/lib/ladspa:/usr/lib/ladspa according to
http://www.ladspa.org/ladspa_sdk/shared_plugins.html

Additional search in the ladspa subdirectory of the system library directory
(which could be /usr/lib/x86_64-linux-gnu/ on Debian, for example).

Bug-Debian: http://bugs.debian.org/724836
Bug-Ubuntu: https://launchpad.net/bugs/1261654
2014-05-31 20:01:21 +00:00
benjamin.drung@gmail.com
32454b3e6e ExportFFmpeg.cpp: Define snprintf as _snprintf on Windows. 2014-05-31 14:41:59 +00:00
benjamin.drung@gmail.com
f36e961bb1 Remove unused FFmpeg function declarations. 2014-05-31 14:26:24 +00:00
benjamin.drung@gmail.com
4d4580a042 FFmpeg: Replace long deprecated functions by current ones. 2014-05-31 14:01:57 +00:00
benjamin.drung@gmail.com
3416b2a8c1 Drop compatibility for FFmpeg < 1.2 and libav < 0.8.
Dropping support for unsupported upstream FFmpeg/libav versions makes our code
simpler by removing preprocessor conditionals.
2014-05-31 13:23:00 +00:00
lllucius
e77ad86b8d Misplaced include broke Windows build... 2014-05-31 12:16:38 +00:00
benjamin.drung@gmail.com
b5fd9bc068 FFmpeg: Add support for libav 0.8.
Thanks to Michael Niedermayer for the tips.
2014-05-29 21:04:45 +00:00
benjamin.drung@gmail.com
ffe29894b8 Define AV_CODEC_ID_* as CODEC_ID_* for old libav/FFmpeg versions. 2014-05-29 17:53:51 +00:00
benjamin.drung@gmail.com
feae3ffa98 FFmpeg: Rename all CODEC_ID_* to AV_CODEC_ID_*. 2014-05-29 16:02:46 +00:00
benjamin.drung@gmail.com
33b9e9336f FFmpeg: Replace deprecated av_close_input_file by avformat_close_input. 2014-05-29 15:50:47 +00:00
benjamin.drung@gmail.com
0a5ed743b8 Fix -Waddress compiler warning. 2014-05-29 15:38:54 +00:00
benjamin.drung@gmail.com
de982fba92 fix pcm u8, s24, s32
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-29 11:53:31 +00:00
benjamin.drung@gmail.com
f61b248156 fix sample_fmts end check
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
2014-05-29 11:53:10 +00:00
stevethefiddle@gmail.com
602fdc3ee2 Bug 722 - move basic edit commands to root of Edit menu. 2014-05-28 22:13:22 +00:00
lllucius@gmail.com
5b18fe3347 Enable VST support on Linux 2014-05-28 06:45:03 +00:00
benjamin.drung@gmail.com
b556d83c54 Fix indentation (to multiple of three) and remove trailing spaces. 2014-05-27 22:06:58 +00:00
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