mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Allow loudness analysis for session-range
This commit is contained in:
parent
4037534860
commit
251f683119
5 changed files with 42 additions and 11 deletions
|
|
@ -26,9 +26,9 @@
|
|||
|
||||
#include "ardour_dialog.h"
|
||||
#include "progress_reporter.h"
|
||||
#include "time_selection.h"
|
||||
|
||||
namespace ARDOUR {
|
||||
class AudioRange;
|
||||
class ExportStatus;
|
||||
class Session;
|
||||
}
|
||||
|
|
@ -36,7 +36,7 @@ namespace ARDOUR {
|
|||
class LoudnessDialog : public ArdourDialog
|
||||
{
|
||||
public:
|
||||
LoudnessDialog (ARDOUR::Session*, TimeSelection const&);
|
||||
LoudnessDialog (ARDOUR::Session*, ARDOUR::AudioRange const&);
|
||||
int run ();
|
||||
float gain_db () const { return _gain; }
|
||||
|
||||
|
|
@ -52,7 +52,7 @@ private:
|
|||
void calculate_gain ();
|
||||
|
||||
ARDOUR::Session* _session;
|
||||
TimeSelection const& _time;
|
||||
ARDOUR::AudioRange const& _range;
|
||||
boost::shared_ptr<ARDOUR::ExportStatus> _status;
|
||||
|
||||
Gtk::VBox _progress_box;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue