1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 08:27:13 +01:00
Commit Graph

332 Commits

Author SHA1 Message Date
lllucius
c512822138 Additional changes for wx3
These are mostly for getting it to build on Linux, but I've
also created new configs in Visual Studio to make it easier
to switch between wx2 and wx3.

For Linux, you have to tell configure where to find the wx3
version of the wx-config script and, since some distros build
wxWidgets v3 against GTK+ v3, you may also need to enable
gtk3 with something like:

./configure --enable-gtk3 WX_CONFIG=/usr/bin/wx-config-3.0

On Windows, I've added "wx3-Debug" and "wx3-Release" to the
existing "Debug" and "Release" configurations.

They depend on you having your WXWIN environment variable
pointing to your wx2 directory and a new WXWIN3 environment
variable pointing to your wx3 directory.  For instance, I
have:

WXWIN=C:\Users\yam\Documents\wxWidgets-2.8.13
WXWIN3=C:\Users\yam\Documents\wxWidgets-3.0.2

Doing this allows you to switch freely among the 4 configurations
without having to get out of Visual Studio and monkey around with
the environment.

The project files will also add the location of the wxWidgets DLLs
to the PATH when running Audacity from within Visual Studio.  They
add %WXWIN%\lib\vc_dll or %WXWIN3%\lib\vc_dll at the beginning
of the PATH variable as appropriate.

I expect that once we convert to wx3 we'll just drop back down to
the normal Debug and Release configurations, but this should make
switching between wx2 and wx3 much easier during the transition.
2014-10-16 16:18:04 +00:00
james.k.crook@gmail.com
14e0380444 Fixed some warnings. 2014-10-09 22:12:51 +00:00
lllucius
bdcefb4850 Preliminary changes for wxWidgets 3.0.1
We can't go to 3.0.1 yet as there are still build issues on
Linux and OSX.  You can get Windows to build, but there's
still some display issues.

These changes should work with wxWidgets 2.8.12 as well, so
we can take our time to get things working properly before
switching over.
2014-10-06 08:10:50 +00:00
RichardAsh1981@gmail.com
b94c80a467 always initialise maxidx, even if the data being analysed is pure silence, to avoid an uninitialised dereference later on 2014-08-06 18:46:40 +00:00
RichardAsh1981@gmail.com
89fc0bf6b7 commit patch greatly improving the detection of format of raw audio files, by Philipp Sibler 2014-07-21 21:14:37 +00:00
benjamin.drung@gmail.com
277932dccb Remove trailing spaces. 2014-06-03 20:30:19 +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
33b9e9336f FFmpeg: Replace deprecated av_close_input_file by avformat_close_input. 2014-05-29 15:50:47 +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
0a1999130d Drop compatibility for libav/FFmpeg < 0.7. 2014-05-25 21:08:58 +00:00
benjamin.drung@gmail.com
463da8e816 Add support for libav 9. 2014-05-23 20:43:08 +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
4c771843c2 Rework of the gstreamer importer.
To test on Windows:

1)  Install gstreamer 1.0 devel and runtime
2)  Add an GSTREAMER_SDK environment variable which points to the
    gstreamer base directory
3)  Uncomment USE_GSTREAMER in configwin.h
2014-05-16 17:13:01 +00:00
martynshaw99
4ce2643d5f Remove the
// Indentation settings for Vim and Emacs
etc. lines from all files, as Campbell's patch (except for other changes to Languages.cpp)
2013-09-24 00:14:37 +00:00
v.audacity
8bd603db70 Leland's import_crash_fix.patch for bug 648 2013-09-16 03:24:46 +00:00
RichardAsh1981@gmail.com
991969cab8 Apply parts of a warning supression patch by Campbell Barton 2013-09-12 16:52:30 +00:00
RichardAsh1981@gmail.com
2952017541 Delete a quantity of unused variables, based on a patch supplied by Campbell Barton 2013-09-12 16:48:55 +00:00
james.k.crook@gmail.com
dba81b3f1c Cleanup: Fixed lots of trivial MSVC warnings. 2013-08-25 21:51:26 +00:00
RichardAsh1981@gmail.com
2b7863a133 commit the final version of Joel Bouchat's patch for WAV and AIFF format metadata improvements 2013-08-23 10:01:29 +00:00
v.audacity
e62e7bfbc0 Steve's AlignEndToEndMinimal.patch, slightly modified 2013-08-23 07:15:13 +00:00
v.audacity
6a42aa5f41 more changes per Campbell Barton's suggestions 2013-08-05 01:45:10 +00:00
RichardAsh1981@gmail.com
d571ece7e6 Apply patch from Joel Bouchat to improve WAV tag importing and exporting for non-ASCII characters, making sure that it works in UTF-8 locales 2013-07-31 10:21:41 +00:00
RichardAsh1981@gmail.com
c2ab493524 fix crash when using --without-ffmpeg when ffmpeg importer is still in prefs from previous --with-ffmpeg builds. Patch by Michael Chinen 2013-05-19 14:28:38 +00:00
RichardAsh1981@gmail.com
6664607e4d Patch from Michael Chinen to fix unicode import crash due to c_str and wxLogMessage - especially on Mac. Also remove the forcing of file names to lower case for display, which can never have been correct, especially for case sensitive file systems. 2013-05-19 14:18:45 +00:00
v.audacity
50c5760520 John's fix missed many of the returns from Import::Import(), so it would have left the mbBusyImporting flag as true in all those cases, even though it was no longer true. This fixes those. 2013-05-11 21:57:33 +00:00
v.audacity
711a955ed6 Fix commit r12317 to build on Linux. Apply WXUNUSED a couple of places. 2013-05-11 21:22:55 +00:00
v.audacity
483d723a5d fix for bug 584 2013-05-11 03:29:15 +00:00
v.audacity
c26b3c6b49 Campbell Barton's further patch to turn many, many tabs to our 3-space convenbtion 2013-02-23 04:33:20 +00:00
richardash1981
b95918fe52 apply parts of Campbell Bartons patch for cleaning up compiler warnings: add static qualifiers to methods, ensure prototypes match definitions and some whitespace and comment changes 2013-02-22 21:29:19 +00:00
v.audacity
a30cc8930e Gale Andrews fix for bug 338 2012-10-11 00:52:10 +00:00
v.audacity
50fb9078cd David Bailes patch for bug 575 2012-10-05 23:58:05 +00:00
v.audacity
b53669ad3d toward bug 584 2012-10-05 23:00:56 +00:00
v.audacity
ebb4f530bb Apparently, wxConfigBase::Write() does not update values for next access on all platforms unless Flush() method is called. Added many calls to wxConfigBase::Flush() to make sure the Rad() calls get the right values. 2012-08-02 06:03:19 +00:00
mchinen
80a2b68bcf Fix warnings for OD ffmpeg 2012-06-01 06:11:21 +00:00
mchinen
3dd37349fc add on demand preference to library pane 2012-06-01 06:11:15 +00:00
mchinen
816b58bc08 integrate OD FFmpeg to work with multiple formats, including wav
also move streamContext to ffmpeg.h to allow for refactoring of import code
2012-06-01 06:11:07 +00:00
james.k.crook@gmail.com
63f0b8b09e Fixed more internationalisation hints. 2012-03-20 16:17:37 +00:00
v.audacity
aae8051953 Fix bug 471. 2012-02-15 18:09:16 +00:00
james.k.crook@gmail.com
8e123cfb4a Tidy up of code for removing obsolete import entries from config. 2012-02-09 17:16:54 +00:00
v.audacity
5f5b9778de Fixes per Vigilant Sentry (http://www.vigilantsw.com/)
* Fix memory leaks.

* Add comments about initializations and checking for successful results.

* Add checks for NULL deref.

* Consistency in "TODO" vs "TO-DO" comments!
2012-02-08 05:09:14 +00:00
mchinen
07e3469c9e Amend r11458 - only do the .mp3 extension diversion for linux, where the alternate versions of libsndfile can exist 2012-02-05 09:26:09 +00:00
mchinen
087c7d10d7 Fix for crash when importing mp3s with duplicate tags by hardcoding the importer not to handle .mp3 extension. The previous svn rev. 11457 fixes this bug, but this commit is for linux systems that use system libsndfile which will still cause the bug. Unfortunately, this means that wavs mislabeled as .mp3 will no longer be read by libsndfile. Also for system libsndfile on linux, this bug will still exists for mp3s mislabelled as .wav 2012-02-05 09:10:11 +00:00
mchinen
682759d965 Bug 467 (P3) fix - Audacity fails to build with latest FFmpeg/libav. Main patch by Leland Lucius with modification from Benjamin Drung. 2012-01-21 08:01:32 +00:00
mchinen
2c45cd44a9 Bug 311 (PX) Fix slow import/export with OGG files for linux builds that use system libsndfile. Disables OGG (Which isn't supported in our local libsndfile). 2012-01-16 09:47:58 +00:00
mchinen
a4472bc0c5 Fix bugs 419 and 421 by faulting to libsndfile/ffmpeg on fail. Patch by David Wallace 2011-08-01 20:32:55 +00:00
mchinen
6e6367e958 Bug 372 (P2) - import MP2s with libmad (Patch by Leland Lucius) 2011-06-01 14:47:43 +00:00
james.k.crook@gmail.com
b993dd1074 Fixed three compile warnings. 2011-04-23 09:58:56 +00:00
mchinen
37546d91d9 Bug 324 (P2) followup - string cleanups (punctuation) 2011-04-04 20:17:16 +00:00