Paul Licameli
c5a70126eb
TrackList always deletes tracks on destruction or when cleared
2016-03-26 15:41:29 -04:00
Paul Licameli
bc5519a0e2
TrackList::Remove and TrackListIterator::RemoveCurrent always delete the track
2016-03-26 15:41:26 -04:00
Paul Licameli
5ef4dd46a5
TrackFactory functions return std::unique_ptr, although some callers...
...
... release() them for now.
2016-03-26 11:50:12 -04:00
Paul Licameli
f42a953752
Track duplication methods return unique_ptr, although some callers...
...
... simply release() them for now.
2016-03-26 11:50:10 -04:00
Paul Licameli
aee12f5755
Define and use copy and move for TrackList, simplifying recording code
2016-03-07 06:43:42 -05:00
Leland Lucius
9dc9348127
Fixes bug #1344 (mac build)
...
In addition, the Xcode project can now build against the 10.6
or 10.7 SDKs. All that is needed is to change the SDK version
and the other settings will change automatically.
2016-03-07 00:29:26 -06:00
Paul Licameli
eead25872e
Simplify append-record code using TrackList copy and move
2016-03-06 10:41:09 -05:00
Paul Licameli
43790cfa56
std::vector for wave track pointers; remove deprecated TrackList function; ...
...
... and some more uses of const
2016-03-01 20:54:48 -05:00
Paul Licameli
60bcd7aea2
Fix warnings for unused variables and functions
2016-02-26 14:56:26 -05:00
Paul Licameli
1c07741d57
Sizers are owned by wxWindow objects when added, so use safenew, or...
...
... use unique_ptr in the interim between building them and adding.
This checks eliminates some naked news, which were not paired with deletes.
2016-02-18 18:58:38 -05:00
Paul Licameli
4d78e353c3
Revert "sizers"
...
This reverts commit 84c0a0b6663a1210be502a76ab9c48dd330b3919.
2016-02-18 14:50:52 -05:00
Paul Licameli
84c0a0b666
sizers
2016-02-18 02:54:50 -05:00
Paul Licameli
dbaa811577
Stack-allocate where possible! ...
...
... Removed many unnecessary naked news and deletes.
2016-02-17 18:15:57 -05:00
Paul Licameli
56e7653343
"delete"->"DELETE" in comments, easier to find remaining naked operator delete
2016-02-14 18:50:45 -05:00
Steve Daulton
8a6edf3623
Add custom track name defaults to preferences
2016-01-21 02:42:25 +00:00
Paul Licameli
1278b9644a
Uniform naming of symbols in Experimental.h
2015-08-31 17:55:56 -04:00
Leland Lucius
133c0ec61d
Fix for bug #1159
2015-08-26 00:13:14 -05:00
Leland Lucius
6a9dae20f5
Appearance on OSX is now back to normal or better
...
Some additional wx3 cleanup as well.
2015-08-23 20:25:01 -05:00
Paul Licameli
d39eaa4e65
Remove WaveTrack.h from other headers
2015-07-28 10:02:05 -04:00
David Bailes
a6808609ea
Added i18n-hint for transport status strings in the status bar.
2015-06-13 16:48:57 +01:00
David Bailes
391bd1691c
status bar state field. When you move to the menubar, the state field is no longer cleared. This was achieved by introducing a dummy field of width 0. When you first open a new audacity project, the state is stopped - previously the state only appeared after the first play/pause/etc command.
2015-06-02 15:18:46 +01:00
David Bailes
1ddbc0bc68
state field of status bar. Changed _()s to XO() and wxGetTranslation(), so that translations of strings are changed more promptly.
2015-06-02 09:29:31 +01:00
David Bailes
7b3628c753
changes to the text of state in status bar. Play changed to playing etc. Also full stop added to that for screen readers there is a pause between the state field and the next field.
2015-06-01 10:08:33 +01:00
David Bailes
ebb6709966
fix for state in status bar. For linux, there was a missing include, and there was also an invalid use of a pointer. Fixes for both kindly supplied by Leland.
2015-05-29 19:59:49 +01:00
David Bailes
5c67bc38b3
Add a field to the status bar to show the state of Audacity, eg play/record/play pause. This is useful so that screen readers can easily read audacitys state.
2015-05-29 17:47:43 +01:00
Paul Licameli
4ded4ec9ba
Bug969: Just disable pause during scrub. It does not make sense.
2015-05-26 13:00:07 -04:00
Paul Licameli
c1f093ed2e
Bug920 - Backward playback when selection beyond end of the project
2015-05-19 22:52:16 -04:00
Paul-Licameli
a3fcf5a265
Revert unintended changes. Should have changed Ruler.cpp only.
...
This (partially) reverts commit 79b7caac07e92e73848b60135e1b31b08ab48724.
2015-04-21 19:37:19 -04:00
Steve Daulton
79b7caac07
Fix play from click position when Quick Play Loop in selection.
2015-04-20 04:06:07 +01:00
Leland Lucius
69b044e321
Restore tracks if recording fails to start
...
During an append record, silence may need to be added to the
end of the existing track(s) to fill any gap between the end
and the common recording start time.
But, if the recording fails to start, this silence is left at
the ends of the tracks.
This change fixes that by making a copy of the tracks before
recording starts and restoring the tracks from that copy if
the start fails.
2015-04-17 16:35:48 -05:00
Steve Daulton
702d9d75e5
Timeline Quick Play bug fixes and enhancements
2015-04-17 17:52:13 +01:00
Paul-Licameli
5abfd25a34
Support backwards play, a requirement for scrubbing
...
Uncomment the line at the top of ControlToolBar::PlayPlayRegion to play
everything backwards and test it
It even works correctly with a time track
2015-04-17 02:25:52 -04:00
Paul-Licameli
2b85d0edb4
Preliminary function argument list changes and comments, for scrubbing project
...
In particular, use an options structure for AudioIO::StartStream to simplify
calls
ControlToolBar::PlayPlayRegion also takes that structure as an argument, and a
SelectedRegion instead of two times
And other changes
2015-04-17 02:25:39 -04:00
lllucius
57d18d7bcb
Further correction for bug #795
2015-01-10 18:16:55 +00:00
lllucius
1201c5abe3
Applying patch from bug #795
2015-01-04 19:41:08 +00:00
lllucius
3a098714d9
Persist looped button across toolbar resets...
...
...when started from the keyboard.
2015-01-03 11:27:24 +00:00
lllucius
622b609f91
Allow button state to persist across toolbar reset
2015-01-01 11:46:52 +00:00
lllucius
7108b71f5d
Fix for bug #804
...
But, I did leave in the disabling/enabling of the
transcription toolbar play button when recording.
Thought that was a good idea.
2014-12-22 09:29:14 +00:00
lllucius
f5380be663
Fix cut/paste mishap...thanks Martyn
2014-12-18 05:51:38 +00:00
lllucius
fe42e881a5
First stab at taming the meter toolbars
...
This should correct at least a couple of the reported
issues. And it also has some fixes in for multiple
project support.
2014-12-17 19:16:08 +00:00
lllucius
431166561e
Getting rid of some warnings...mostly unused parms
2014-12-15 21:51:02 +00:00
lllucius
4d76e14794
Changes to the Effect dialog based on QA suggestions
...
Solves the problem of what the "Settings" button should say
by converting it to a bitmap button.
Adds the missing "bypass effect" button.
The Ok/Cancel buttons are now Apply/Close buttons and the
dialog stays open after the apply is done.
Record is no longer disabled when an RTP effect is open as
the RTP effect now monitors when recording starts and disables
its buttons as needed.
Added "Play", "Skip forward", and "Skip backward" buttons.
While the other stuff is required, this last one is in to
get a feel for its usefulness. We'll need to get feedback
on it pretty quickly so we can rip it out if need be.
2014-12-02 08:55:02 +00:00
lllucius
da76615bf3
Now do the reverse...disable record if a realtime effect is open.
2014-11-30 21:55:13 +00:00
james.k.crook@gmail.com
c71397beae
Changes to seeking and scrubbing from Paul Licameli.
...
These are mostly under an EXPERIMENTAL_ #ifdef. Also has a change for the prompt string for preferences so the displayed keybinding is adjusted when in multitool mode.
2014-11-29 22:09:57 +00:00
james.k.crook@gmail.com
7324997db6
Fix for http://bugzilla.audacityteam.org/show_bug.cgi?id=643 "Residual consistency issues with SHIFT showing Loop Play button icon" by Paul Licameli.
...
* Loop play-at-speed and cut preview play-at-speed implemented.
* Shift or ctrl down now affect all relevant buttons, loop or cut preview, normal or at speed, and append-record.
2014-11-29 17:22:05 +00:00
james.k.crook@gmail.com
fbbab2ce1b
Now have three varieties of the Meter Toolbar.
...
We have separate record and play meters. The original kind of meter is now called a combined meter. I've kept it because it can be useful when undocked if you do want both meters. I've also fixed it so that if made very narrow the meters stack vertically just as they already did horizontally.
2014-10-24 16:42:46 +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
james.k.crook@gmail.com
2dc9325133
Two more unneeded 'SetPlay()'s commented out for consistency.
2014-08-17 13:06:54 +00:00
james.k.crook@gmail.com
0ff4403911
Modified version of Paul L's patch to correct play button state up/down looped/unlooped.
2014-08-17 10:23:31 +00:00
james.k.crook@gmail.com
4912d49721
Paul L's fix for Bug 684 - Timeline loop play persists after Stop or SPACE
2014-08-16 20:18:21 +00:00