1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

26 Commits

Author SHA1 Message Date
v.audacity
030d2450a8 Go back to simpler architecture for Resample class, now that libsoxr is proven for variable rate resampling. 2013-08-04 01:58:54 +00:00
v.audacity
9d0daf8662 Campbell Barton's patch to turn many, many tabs to our 3-space convenbtion 2013-02-20 23:42:58 +00:00
v.audacity
ce9bd9fa90 I think this completes the refactoring for const-rate vs var-rate resampling. 2012-11-04 04:44:10 +00:00
v.audacity
5460b5c668 This commit is partial effort toward more libsoxr integration, that implements Rob Sykes's latest patch. I have no idea whether the Linux-specific stuff from the patch (e.g., M4 file) is still correct in this.
For Resample.* and QualityPrefs.cpp, this commit has my restructuring for distinguishing constant-rate vs variable-rate resamplers more generally. I think it's complete and ready for const-rate, but I have more review and testing to do for the var-rate cases. 

Variable-rate resampling is not implemented here, so Time Tracks are still broken, but this is a milestone in getting to a more general and correct structure. 

Also I think this fixes AboutDialog issues Steve noticed.
2012-11-03 02:06:07 +00:00
martynshaw99
ffea5a2273 Addressing one of the problems reported with 'Normalise' if the offset is greater than the signal. Comments on other possible problems. 2012-04-23 23:39:36 +00:00
v.audacity
111278c61b In WaveTrack.*:
* Fix P2 bug described by Bill Wharrie in "Problem dragging clips between tracks with different sample rates" thread on audacity-quality. Made sure the clips get resampled to the destination WaveTrack rate, and marked changed.

* Comment out unused override of WaveTrack::MoveClipToTrack().

* Added an ANSWER-ME about what appears to be a useless declaration and assignment.


In WaveClip.cpp, remove wxASSERT that Michael was trying to convince me to do yesterday. In debugging this, found a case when it's not a bad call. Thanks, Michael! :-)

In TrackPanel.cpp, removed some cruft.
2012-03-03 01:34:14 +00:00
v.audacity
3b90ee098e Martyn's fix for http://bugzilla.audacityteam.org/show_bug.cgi?id=474 2012-02-27 01:43:33 +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
v.audacity
2f043dfb0f (bug 451, p2)
Correct Sequence::ConvertToSampleFormat() errors resulting in wrong block file sizes, per offline discussions with Martyn and James.

In WaveClip::ConvertToSampleFormat(), distinguish between failure and no change.

Changed deprecated calls to wxArray::Count() to GetCount(),

In Sequence::Blockify(), no reason to call Alloc() if we know we have no samples, so rearranged that code.
2011-12-02 06:54:52 +00:00
v.audacity
e695f447b3 Start to handle results from subordinates. 2011-12-01 05:21:07 +00:00
v.audacity
3bcb940843 (bug 451) Remove uncertain comment. Call WaveClip::ConvertToSampleFormat() instead of Sequence::ConvertToSampleFormat(), so it does MarkChanged() and an assert on the result from Sequence::ConvertToSampleFormat(). 2011-11-22 05:10:54 +00:00
v.audacity
8cc8a275f8 (bug 451, P2)
Changes per Martyn's suggestion (http://bugzilla.audacityteam.org/show_bug.cgi?id=451#c24), i.e., deal with sample format mismatch in WaveClip::Paste() and Sequence::Paste().

Also add error checking for bad s parameter values passed to Sequence::Paste().
2011-11-20 03:46:00 +00:00
v.audacity
3a1d4334f2 Make wxLog* calls consistently not have \n at the end. Turn some wxLogWarning calls to wxLogError. Put some periods at the ends of sentences. 2011-10-09 21:14:03 +00:00
clayton.otey
71dedc3d35 Revert r11214 (sbsms timescale effect update) & r11215 (mixed-radix-fft narrow/broaden spectrum menu items) to honor the feature freeze. 2011-07-06 09:49:59 +00:00
clayton.otey
df9865f26a Added an sse enabled mixed-radix-fft implementation and a menu/view/{narrow,broaden} spectrum item which adjusts the spectrogram window size 2011-07-02 18:42:38 +00:00
mchinen
fbe3a80ab1 Bug 373/378 (P2) - Fix a case where one track of an aligned stereo pair could be moved independently 2011-04-26 16:47:06 +00:00
mchinen
9321b1634e Bug 377 (P2) - fix case where the R channel of a stereo clip wouldn't be dragged if it was off-screen and sync-lock was off 2011-04-25 18:10:32 +00:00
mchinen
6b752e96dc Fix bug 263 Paste into a track at a different sample rate is not resampled 2010-12-24 13:43:57 +00:00
martynshaw99
0d84a2d934 Revert r10691 - re-allowing clips to be floating around, not on a sample. There has been much discussion on -devel about this and I think we can keep things in order without this restriction. 2010-10-05 21:46:51 +00:00
martynshaw99
48e04173b1 Make sure that whenever a clip is offset, it is by a whole number of samples at it's sample rate. 2010-09-23 23:06:12 +00:00
v.audacity
ec047e7c71 (bugs 20 and 137, P2) Working on these bugs, tightened up some code and corrected some comments. 2010-09-23 00:30:05 +00:00
BusinessmanProgrammerSteve
c0b5fb01da Performance improvements for track spectrum display and PCM
import submitted by Sami Liedes.
2010-09-13 01:31:54 +00:00
martynshaw99
5c48047d0e Paste envelope in at the correct place 2010-09-12 20:43:14 +00:00
martynshaw99
eb145b241c Copy the correct amount of 'envelope' to match up with the samples - the lengths should correspond. 2010-09-12 20:00:27 +00:00
LRN1986
cd6848a912 Fix Resample cutting the tracks off 2010-04-28 16:42:22 +00:00
ra
e74978ba77 Locate and position the current Audacity source code, and clear a variety of old junk out of the way into junk-branches 2010-01-23 19:44:49 +00:00