Paul Licameli
63cf80d244
Sequence::Delete gives strong guarantee
2017-04-02 21:33:23 -04:00
Paul Licameli
06f6953c91
Sequence::SetSamples, ::SetSilence give strong guarantee
2017-04-02 21:33:23 -04:00
Paul Licameli
73e61592aa
Sequence::ConvertToSampleFormat gives strong guarantee
2017-04-02 21:33:23 -04:00
Paul Licameli
3c65731f38
Sequence::InsertSilence gives strong guarantee
2017-04-02 21:33:22 -04:00
Paul Licameli
160d846643
Sequence::Paste gives strong guarantee
2017-04-02 21:33:22 -04:00
Paul Licameli
2ba6065961
Sequence consistency check throws; new unused commit functions use it
2017-04-02 21:33:22 -04:00
Paul Licameli
6b0c5c096b
WaveClip::Flush returns void, throws on error
2017-04-02 21:33:22 -04:00
Paul Licameli
ec3a4f5069
Merge branch 'master' into HEAD
2017-04-02 21:33:01 -04:00
James Crook
028ed19d90
Sync with DarkAudacity
2017-04-02 23:07:13 +01:00
Paul Licameli
e633dc0c8b
Document guarantees of now void-returning WaveTrack, WaveClip methods
2017-04-02 13:15:31 -04:00
Paul Licameli
5963f278f1
void returns from many WaveClip methods, comment safety guarantees
2017-04-02 12:49:47 -04:00
Paul Licameli
aa83c4cf29
Implement the more than weak guarantees needed for recording...
...
... in WaveClip and WaveTrack, to save as much recording as we can,
assuming the strong guarantees that Sequence will give.
Also comment that some other WaveTrack methods can give strong guarantee,
incidentally to making HandleClear give strong.
2017-04-02 12:46:47 -04:00
Paul Licameli
e3d4a8dcfe
Comment the strength of guarantees of some WaveTrack methods
2017-04-02 12:43:21 -04:00
Paul Licameli
3db132f9b0
Fix WaveTrack::SplitAt
2017-04-02 12:43:21 -04:00
Paul Licameli
9cdbd18cd0
Merge branch 'master' into HEAD
2017-04-02 12:42:29 -04:00
James Crook
1525f146da
Update Greek Translation by Dimitris Spingos
2017-04-01 20:13:38 +01:00
Paul Licameli
08e57f3836
MIDI play changes for TrackPanel, MixerBoard; conditionally compiled
2017-04-01 12:49:20 -04:00
Pokechu22
1c93198d08
Re-implement note tracks in MixerBoard
...
This commit adds note tracks into the mixerboard. It's done as a separate
slider this time instead of via subclasses (as PRL requested), so which
should be easier to use.
This also changes some of the gaurds to EXPERIMENTAL_MIDI_OUT from
USE_MIDI, as it's meaningless to have the note track code in mixerboard
when it cannot do anything (depends on methods that exist behind
EXPERIMENTAL_MIDI_OUT).
2017-04-01 12:48:44 -04:00
Pokechu22
59d740ad77
Use a dedicated velocity slider for note tracks
...
This gets rid of the offset rectangle hack that was needed to re-use gain
sliders for note track velocities. It also removes the need for changing
the style of a single slider. Perhaps most importantly, it fixes link
errors regarding GainSlider(int).
See https://sourceforge.net/p/audacity/mailman/message/35752524/ for
details on why this change is needed and what caused it.
2017-04-01 12:48:43 -04:00
Paul Licameli
1f0e01b8ca
Merge branch 'master' into HEAD
2017-04-01 11:30:12 -04:00
Paul Licameli
7195f9a3f4
fix windows build
2017-03-31 22:53:58 -04:00
Paul Licameli
2c84657622
Exception handling: most "TO DO: Actually handle this" comments gone
2017-03-31 18:49:41 -04:00
Paul Licameli
0d7250578d
Other methods of WaveTrack return void, will throw on failure instead
2017-03-31 18:26:52 -04:00
Paul Licameli
e1473dfe76
void return, not boolean success, from some Track virtual functions...
...
... The return codes were mostly ignored anyway, and exceptions will be thrown
instead.
It seems there was also confusion whether the return values of Track::Paste
and Track::SyncLockAdjust were to indicate success or indicate whether there
was any change. No matter now.
2017-03-31 18:26:52 -04:00
Paul Licameli
71dd75a596
More exception handling; incidentally implement TimeTrack copy/paste
2017-03-31 18:23:47 -04:00
Paul Licameli
a23d6e2368
More exception handling; incidentally implement TimeTrack copy/paste
2017-03-31 18:19:24 -04:00
Paul Licameli
6b84dc1c1d
Factory methods will return non-NULL or throw
2017-03-31 18:14:29 -04:00
Paul Licameli
f1b354b141
More pure virtuals in Track, supply Note and Time overrides
2017-03-31 18:03:37 -04:00
Paul Licameli
ad34145ded
Clarify paste logic, throw to rollback on error, keep TimeTrack unique...
...
... though TimeTracks are not yet ever cut or copied; but next commit will
change that.
2017-03-31 18:02:22 -04:00
Paul Licameli
608dcc9b3f
Reimplement prohibitions on moving clips by throwing exceptions...
...
... Also comment some strong and weak guarantees
2017-03-31 17:47:19 -04:00
Paul Licameli
8e2e4a53b8
Define SimpleMessageBoxException
2017-03-31 17:47:18 -04:00
Paul Licameli
d1cbac4181
more finally, more const, remove unused, fix warnings
2017-03-31 17:47:18 -04:00
Paul Licameli
699b9d0517
Merge branch 'master' into head
2017-03-31 17:46:47 -04:00
Paul Licameli
a1b88fe8d6
Fix assertion in MIDI prefs when there are no devices
2017-03-31 13:02:57 -04:00
Paul Licameli
8928bd4d7b
Correct MixerTrackCluster::GetRight()
2017-03-31 00:48:04 -04:00
Paul Licameli
a936aed643
Another use of type AudioTrack
2017-03-30 20:48:27 -04:00
Steve Daulton
a9879bddf0
Refactor clipfix.ny to fix multiple problems
...
Basically a rewrite based on the original algorithm.
2017-03-31 00:01:18 +01:00
Paul Licameli
23dc35a18c
Bug1614: fix crash duplicating a clip
2017-03-30 16:48:52 -04:00
Paul Licameli
7bda40f656
Common functions read and write mute and solo in Wave and Note
2017-03-30 16:00:27 -04:00
Paul Licameli
1a86819b4b
Fixes for clang build with 64 bit unsigned long
2017-03-30 10:46:44 -04:00
Paul Licameli
82f909fe31
Again, fix compilation without USE_MIDI
2017-03-30 10:22:20 -04:00
windinthew
64a6fa625d
pacovila PR 183 verb to noun
2017-03-30 02:26:42 +01:00
windinthew
930e834aef
Mark Young PR 192 (modified)
...
Change 2.1.2 to 2.1.3/2.2.0-alpha in win/compile.txt
Git-ignore VisualStudio 2017 files.
2017-03-30 02:03:46 +01:00
Paul Licameli
8c796e2603
Some preliminaries for playable MIDI tracks
2017-03-29 14:01:00 -04:00
Paul Licameli
d109142693
Make mute and solo of NoteTrack persistent, if EXPERIMENTAL_MIDI_OUT
2017-03-29 13:58:20 -04:00
Paul Licameli
6c4cf46c06
Move mute and solo state into PlayableTrack
2017-03-29 13:45:08 -04:00
Paul Licameli
ed0088491c
Remove MixerTrackClusters right to left, remove assertion
2017-03-29 13:45:07 -04:00
Paul Licameli
b2ab9b5087
Simplify MixerBoard.cpp using the PlayableTrack type
2017-03-29 13:42:51 -04:00
Paul Licameli
f1bec85675
use AudioTrack
2017-03-29 13:27:22 -04:00
Paul Licameli
c391a8f884
Define AudioTrack and PlayableTrack as common bases for Wave and Note
2017-03-29 13:27:22 -04:00