mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-21 23:00:06 +02:00
Merge branch 'master' into scrubbing
This commit is contained in:
commit
46f97fdf7a
105
.gitignore
vendored
105
.gitignore
vendored
@ -1,3 +1,73 @@
|
||||
# Autotools generated files
|
||||
locale/Makefile.in
|
||||
Makefile
|
||||
aclocal.m4
|
||||
autom4te.cache
|
||||
config.status
|
||||
bin-stamp
|
||||
.deps
|
||||
.dirstamp
|
||||
lib-stamp
|
||||
libtool
|
||||
stamp-h*
|
||||
stamp-po
|
||||
*.stamp
|
||||
|
||||
# Generated files by build system
|
||||
lib-src/expat/expat_config.h
|
||||
lib-src/libflac/doc/Doxyfile
|
||||
lib-src/libflac/config.h
|
||||
lib-src/libflac/test/common.sh
|
||||
lib-src/libid3tag/config.h
|
||||
lib-src/libid3tag/libid3tag.list
|
||||
lib-src/libmad/config.h
|
||||
lib-src/libmad/libmad.list
|
||||
lib-src/libmad/mad.h
|
||||
lib-src/libogg/config.h
|
||||
lib-src/libogg/include/ogg/config_types.h
|
||||
lib-src/libogg/libogg.spec
|
||||
lib-src/libsndfile/build-test-tarball.mk
|
||||
lib-src/libsndfile/doc/libsndfile.css
|
||||
lib-src/libsndfile/libsndfile.spec
|
||||
lib-src/libsndfile/man/sndfile-deinterleave.1
|
||||
lib-src/libsndfile/man/sndfile-metadata-set.1
|
||||
lib-src/libsndfile/src/config.h
|
||||
lib-src/libsndfile/src/sndfile.h
|
||||
lib-src/libsndfile/src/version-metadata.rc
|
||||
lib-src/libsndfile/tests/pedantic-header-test.sh
|
||||
lib-src/libsndfile/tests/test_wrapper.sh
|
||||
lib-src/libsoxr/soxr-config.h
|
||||
lib-src/libsoxr/src/libsoxr-dev.src
|
||||
lib-src/libsoxr/src/libsoxr.src
|
||||
lib-src/libsoxr/tests/ref-*.s32
|
||||
lib-src/libvorbis/config.h
|
||||
lib-src/libvorbis/doc/Doxyfile
|
||||
lib-src/libvorbis/libvorbis.spec
|
||||
lib-src/sbsms/libsbsms.spec
|
||||
lib-src/sbsms/src/config.h
|
||||
lib-src/soundtouch/include/soundtouch_config.h
|
||||
lib-src/twolame/doc/html/Doxyfile
|
||||
lib-src/twolame/libtwolame/config.h
|
||||
locale/POTFILES
|
||||
src/audacity.desktop
|
||||
src/configunix.h
|
||||
src/configwin.h
|
||||
*.pc
|
||||
|
||||
# CMake build output
|
||||
lib-src/libsoxr/CMakeCache.txt
|
||||
lib-src/libsoxr/*.cmake
|
||||
CMakeFiles/
|
||||
CTestTestfile.cmake
|
||||
cmake_install.cmake
|
||||
|
||||
# Waf build output
|
||||
lib-src/lv2/.buildvars
|
||||
lib-src/lv2/include/
|
||||
lib-src/lv2/*/build/
|
||||
lib-src/lv2/srcdir.mk
|
||||
.lock-waf_linux2_build
|
||||
|
||||
# Mac build outputs
|
||||
mac/Audacity.xcodeproj/project.xcworkspace/contents.xcworkspacedata
|
||||
mac/Audacity.xcodeproj/project.xcworkspace/xcshareddata/Audacity.xccheckout
|
||||
@ -46,6 +116,9 @@ mac/tests/
|
||||
*.dylib
|
||||
*.dll
|
||||
|
||||
# Compiled translation files (GNU Machine Object)
|
||||
*.gmo
|
||||
|
||||
# Fortran module files
|
||||
*.mod
|
||||
|
||||
@ -60,6 +133,38 @@ mac/tests/
|
||||
*.out
|
||||
*.app
|
||||
|
||||
# Executable without extension
|
||||
/audacity
|
||||
src/audacity
|
||||
lib-src/expat/examples/elements
|
||||
lib-src/expat/examples/outline
|
||||
lib-src/expat/xmlwf/xmlwf
|
||||
lib-src/libflac/examples/c/decode/file/example_c_decode_file
|
||||
lib-src/libflac/examples/c/encode/file/example_c_encode_file
|
||||
lib-src/libflac/examples/cpp/decode/file/example_cpp_decode_file
|
||||
lib-src/libflac/examples/cpp/encode/file/example_cpp_encode_file
|
||||
lib-src/libflac/src/flac/flac
|
||||
lib-src/libflac/src/metaflac/metaflac
|
||||
lib-src/libflac/src/test_grabbag/cuesheet/test_cuesheet
|
||||
lib-src/libflac/src/test_grabbag/picture/test_picture
|
||||
lib-src/libflac/src/test_libFLAC++/test_libFLAC++
|
||||
lib-src/libflac/src/test_libFLAC/test_libFLAC
|
||||
lib-src/libflac/src/test_seeking/test_seeking
|
||||
lib-src/libflac/src/test_streams/test_streams
|
||||
lib-src/libogg/src/test_bitwise
|
||||
lib-src/libogg/src/test_framing
|
||||
lib-src/libsndfile/src/G72x/g72x_test
|
||||
lib-src/libsndfile/src/test_main
|
||||
lib-src/libsoxr/examples/1a-lsr
|
||||
lib-src/libsoxr/examples/3-options-input-fn
|
||||
lib-src/libsoxr/tests/vector-cmp
|
||||
lib-src/libsoxr/tests/vector-gen
|
||||
lib-src/libvorbis/lib/test_sharedbook
|
||||
lib-src/portaudio-v19/bin/
|
||||
lib-src/soundtouch/source/SoundStretch/soundstretch
|
||||
lib-src/twolame/frontend/twolame
|
||||
lib-src/twolame/simplefrontend/stwolame
|
||||
|
||||
# Mac Specific
|
||||
.DS_Store
|
||||
xcuserdata
|
||||
|
@ -34,7 +34,7 @@ dnl Require autoconf >= 2.59
|
||||
AC_PREREQ([2.59])
|
||||
|
||||
dnl Init autoconf
|
||||
AC_INIT([audacity], [2.0.6])
|
||||
AC_INIT([audacity], [2.1.2])
|
||||
dnl Check for existence of Audacity.h
|
||||
AC_CONFIG_SRCDIR([src/Audacity.h])
|
||||
AC_CONFIG_AUX_DIR([autotools])
|
||||
|
@ -7072,6 +7072,9 @@ void AudacityProject::SeekLeftOrRight
|
||||
// Move the visual cursor, avoiding an unnecessary complete redraw
|
||||
GetTrackPanel()->DrawOverlays(false);
|
||||
GetRulerPanel()->DrawOverlays(false);
|
||||
|
||||
// This updates the selection shown on the selection bar, and the play region
|
||||
TP_DisplaySelection();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -4705,6 +4705,15 @@ void AudacityProject::TP_DisplaySelection()
|
||||
{
|
||||
double audioTime;
|
||||
|
||||
if (mRuler) {
|
||||
if (!gAudioIO->IsBusy() && !mLockPlayRegion)
|
||||
mRuler->SetPlayRegion(mViewInfo.selectedRegion.t0(),
|
||||
mViewInfo.selectedRegion.t1());
|
||||
else
|
||||
// Cause ruler redraw anyway, because we may be zooming or scrolling
|
||||
mRuler->Refresh();
|
||||
}
|
||||
|
||||
if (gAudioIO->IsBusy())
|
||||
audioTime = gAudioIO->GetStreamTime();
|
||||
else {
|
||||
@ -4719,14 +4728,6 @@ void AudacityProject::TP_DisplaySelection()
|
||||
(mViewInfo.selectedRegion.f0(), mViewInfo.selectedRegion.f1());
|
||||
#endif
|
||||
|
||||
if (mRuler) {
|
||||
if (!gAudioIO->IsBusy() && !mLockPlayRegion)
|
||||
mRuler->SetPlayRegion(mViewInfo.selectedRegion.t0(),
|
||||
mViewInfo.selectedRegion.t1());
|
||||
else
|
||||
// Cause ruler redraw anyway, because we may be zooming or scrolling
|
||||
mRuler->Refresh();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -127,9 +127,6 @@ void EditCursorOverlay::Draw(OverlayPanel &panel, wxDC &dc)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// This updates related displays such as numbers on the status bar
|
||||
mProject->TP_DisplaySelection();
|
||||
}
|
||||
else if (auto ruler = dynamic_cast<AdornedRulerPanel*>(&panel)) {
|
||||
wxASSERT(!mIsMaster);
|
||||
|
Loading…
x
Reference in New Issue
Block a user