1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-05 00:00:21 +01:00

John (Thales) code to make the waveform display look like the output of the gain and pan sliders, rather than the input. Added as EXPERIMENTAL_OUTPUT_DISPLAY since there is work to do, but I think this deserves wider input/views.

This commit is contained in:
martynshaw99
2013-05-30 23:14:25 +00:00
parent 16e1958501
commit f209391d59
10 changed files with 642 additions and 17 deletions

View File

@@ -152,12 +152,17 @@ class AUDACITY_DLL_API TrackArtist {
const sampleCount where[],
sampleCount ssel0, sampleCount ssel1,
bool drawEnvelope, bool bIsSyncLockSelected);
#ifdef EXPERIMENTAL_OUTPUT_DISPLAY
void DrawMinMaxRMS(wxDC & dc, const wxRect & r, const double env[],
float zoomMin, float zoomMax, bool dB,
const float min[], const float max[], const float rms[],
const int bl[], bool showProgress, bool muted, const float gain);
#else
void DrawMinMaxRMS(wxDC & dc, const wxRect & r, const double env[],
float zoomMin, float zoomMax, bool dB,
const float min[], const float max[], const float rms[],
const int bl[], bool showProgress, bool muted);
#endif
void DrawIndividualSamples(wxDC & dc, const wxRect & r,
float zoomMin, float zoomMax, bool dB,
WaveClip *clip,