2010-08-09 10:10:23 -04:00
|
|
|
/*
|
2019-08-02 17:26:43 -04: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 10:10:23 -04:00
|
|
|
|
2013-09-26 10:17:40 -04:00
|
|
|
#ifndef __gtk_ardour_session_option_editor_h__
|
|
|
|
#define __gtk_ardour_session_option_editor_h__
|
|
|
|
|
2009-05-15 21:22:43 -04: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-15 21:22:43 -04:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
SessionOptionEditor (ARDOUR::Session* s);
|
|
|
|
|
|
|
|
private:
|
2011-01-04 15:52:30 -05:00
|
|
|
void parameter_changed (std::string const &);
|
2011-06-01 13:00:29 -04:00
|
|
|
|
2009-05-15 21:22:43 -04:00
|
|
|
ARDOUR::SessionConfiguration* _session_config;
|
2012-01-17 20:30:44 -05:00
|
|
|
|
2012-11-12 11:49:05 -05:00
|
|
|
ComboOption<float>* _vpu;
|
2018-11-07 13:53:23 -05:00
|
|
|
ComboOption<ARDOUR::SampleFormat>* _sf;
|
2014-06-26 13:19:18 -04:00
|
|
|
EntryOption* _take_name;
|
2014-06-29 09:45:55 -04:00
|
|
|
|
|
|
|
void save_defaults ();
|
2009-05-15 21:22:43 -04:00
|
|
|
};
|
2013-09-26 10:17:40 -04:00
|
|
|
|
|
|
|
#endif /* __gtk_ardour_session_option_editor_h__ */
|