2010-08-09 14:10:23 +00:00
|
|
|
/*
|
2019-08-02 23:26:43 +02:00
|
|
|
* Copyright (C) 2009-2011 Carl Hetherington <carl@carlh.net>
|
|
|
|
|
* Copyright (C) 2009-2015 Paul Davis <paul@linuxaudiosystems.com>
|
|
|
|
|
* Copyright (C) 2012-2018 Robin Gareus <robin@gareus.org>
|
|
|
|
|
*
|
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
|
*/
|
2010-08-09 14:10:23 +00:00
|
|
|
|
2024-09-25 18:38:59 -06:00
|
|
|
#pragma once
|
2013-09-26 15:17:40 +01:00
|
|
|
|
2009-05-16 01:22:43 +00:00
|
|
|
#include "option_editor.h"
|
|
|
|
|
|
|
|
|
|
namespace ARDOUR {
|
|
|
|
|
class Session;
|
|
|
|
|
class SessionConfiguration;
|
|
|
|
|
}
|
|
|
|
|
|
2015-11-27 17:33:31 -05:00
|
|
|
class SessionOptionEditor : public OptionEditorWindow
|
2009-05-16 01:22:43 +00:00
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
SessionOptionEditor (ARDOUR::Session* s);
|
|
|
|
|
|
|
|
|
|
private:
|
2011-01-04 20:52:30 +00:00
|
|
|
void parameter_changed (std::string const &);
|
2011-06-01 17:00:29 +00:00
|
|
|
|
2009-05-16 01:22:43 +00:00
|
|
|
ARDOUR::SessionConfiguration* _session_config;
|
2012-01-18 01:30:44 +00:00
|
|
|
|
2012-11-12 16:49:05 +00:00
|
|
|
ComboOption<float>* _vpu;
|
2018-11-07 19:53:23 +01:00
|
|
|
ComboOption<ARDOUR::SampleFormat>* _sf;
|
2014-06-26 19:19:18 +02:00
|
|
|
EntryOption* _take_name;
|
2014-06-29 15:45:55 +02:00
|
|
|
|
|
|
|
|
void save_defaults ();
|
2009-05-16 01:22:43 +00:00
|
|
|
};
|
2013-09-26 15:17:40 +01:00
|
|
|
|