mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 07:06:23 +01:00
pulling trunk
git-svn-id: svn://localhost/ardour2/branches/undo@586 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
3038d8ce4a
commit
eb3f77df57
237 changed files with 68673 additions and 4051 deletions
|
|
@ -211,7 +211,7 @@ AnalysisWindow::analyze_data (Gtk::Button *button)
|
|||
{
|
||||
track_list_ready = false;
|
||||
{
|
||||
LockMonitor lm (track_list_lock, __LINE__, __FILE__);
|
||||
Glib::Mutex::Lock lm (track_list_lock);
|
||||
|
||||
// Empty track list & free old graphs
|
||||
clear_tracklist();
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
#include <gtkmm2ext/dndtreeview.h>
|
||||
|
||||
#include <pbd/lockmonitor.h>
|
||||
#include <glibmm/thread.h>
|
||||
|
||||
|
||||
#include "ardour_dialog.h"
|
||||
|
|
@ -106,7 +106,7 @@ class AnalysisWindow : public ArdourDialog
|
|||
FFTGraph fft_graph;
|
||||
|
||||
bool track_list_ready;
|
||||
PBD::Lock track_list_lock;
|
||||
Glib::Mutex track_list_lock;
|
||||
|
||||
friend class FFTGraph;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@
|
|||
|
||||
#include <pbd/error.h>
|
||||
#include <pbd/compose.h>
|
||||
#include <pbd/basename.h>
|
||||
#include <pbd/pathscanner.h>
|
||||
#include <pbd/failed_constructor.h>
|
||||
#include <gtkmm2ext/gtk_ui.h>
|
||||
|
|
@ -210,22 +209,6 @@ ARDOUR_UI::set_engine (AudioEngine& e)
|
|||
|
||||
keyboard = new Keyboard;
|
||||
|
||||
string meter_path;
|
||||
|
||||
meter_path = ARDOUR::find_data_file("v_meter_strip.xpm", "pixmaps");
|
||||
if (meter_path.empty()) {
|
||||
error << _("no vertical meter strip image found") << endmsg;
|
||||
exit (1);
|
||||
}
|
||||
FastMeter::set_vertical_xpm (meter_path);
|
||||
|
||||
meter_path = ARDOUR::find_data_file("h_meter_strip.xpm", "pixmaps");
|
||||
if (meter_path.empty()) {
|
||||
error << _("no horizontal meter strip image found") << endmsg;
|
||||
exit (1);
|
||||
}
|
||||
FastMeter::set_horizontal_xpm (meter_path);
|
||||
|
||||
if (setup_windows ()) {
|
||||
throw failed_constructor ();
|
||||
}
|
||||
|
|
@ -717,7 +700,7 @@ ARDOUR_UI::redisplay_recent_sessions ()
|
|||
|
||||
TreeModel::Row row = *(recent_session_model->append());
|
||||
|
||||
row[recent_session_columns.visible_name] = PBD::basename (fullpath);
|
||||
row[recent_session_columns.visible_name] = Glib::path_get_basename (fullpath);
|
||||
row[recent_session_columns.fullpath] = fullpath;
|
||||
|
||||
if (states->size() > 1) {
|
||||
|
|
@ -824,9 +807,11 @@ ARDOUR_UI::filter_ardour_session_dirs (const FileFilter::Info& info)
|
|||
return false;
|
||||
}
|
||||
|
||||
// XXX Portability
|
||||
|
||||
string session_file = info.filename;
|
||||
session_file += '/';
|
||||
session_file += PBD::basename (info.filename);
|
||||
session_file += Glib::path_get_basename (info.filename);
|
||||
session_file += ".ardour";
|
||||
|
||||
if (stat (session_file.c_str(), &statbuf) != 0) {
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ using namespace sigc;
|
|||
using namespace Gtk;
|
||||
|
||||
using PBD::atoi;
|
||||
using PBD::atof;
|
||||
|
||||
const uint32_t AudioClock::field_length[(int) AudioClock::AudioFrames+1] = {
|
||||
2, /* SMPTE_Hours */
|
||||
|
|
|
|||
|
|
@ -490,7 +490,7 @@ ConnectionEditor::display_ports ()
|
|||
void
|
||||
ConnectionEditor::display_connection_state (bool for_input)
|
||||
{
|
||||
LockMonitor lm (port_display_lock, __LINE__, __FILE__);
|
||||
Glib::Mutex::Lock lm (port_display_lock);
|
||||
uint32_t limit;
|
||||
|
||||
if (session == 0 || current_connection == 0) {
|
||||
|
|
@ -601,7 +601,7 @@ ConnectionEditor::add_port ()
|
|||
void
|
||||
ConnectionEditor::connection_port_button_press_event (GdkEventButton* ev, TreeView* tview)
|
||||
{
|
||||
LockMonitor lm (port_display_lock, __LINE__, __FILE__);
|
||||
Glib::Mutex::Lock lm (port_display_lock);
|
||||
|
||||
int which_port = reinterpret_cast<intptr_t> (treeview->get_data ("port"));
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ using __gnu_cxx::slist;
|
|||
|
||||
#include "ardour_dialog.h"
|
||||
|
||||
#include <pbd/lockmonitor.h>
|
||||
#include <glibmm/thread.h>
|
||||
|
||||
namespace ARDOUR {
|
||||
class Session;
|
||||
|
|
@ -116,7 +116,7 @@ class ConnectionEditor : public ArdourDialog {
|
|||
Gtk::Button clear_button;
|
||||
Gtk::Button add_port_button;
|
||||
|
||||
PBD::Lock port_display_lock;
|
||||
Glib::Mutex port_display_lock;
|
||||
slist<Gtk::ScrolledWindow *> port_displays;
|
||||
|
||||
Gtk::Button ok_button;
|
||||
|
|
|
|||
|
|
@ -90,6 +90,7 @@ using namespace Gtkmm2ext;
|
|||
using namespace Editing;
|
||||
|
||||
using PBD::internationalize;
|
||||
using PBD::atoi;
|
||||
|
||||
const double Editor::timebar_height = 15.0;
|
||||
|
||||
|
|
@ -2191,7 +2192,7 @@ Editor::set_state (const XMLNode& node)
|
|||
}
|
||||
|
||||
if ((prop = node.property ("zoom"))) {
|
||||
set_frames_per_unit (atof (prop->value()));
|
||||
set_frames_per_unit (PBD::atof (prop->value()));
|
||||
}
|
||||
|
||||
if ((prop = node.property ("snap-to"))) {
|
||||
|
|
@ -2899,7 +2900,7 @@ Editor::convert_drop_to_paths (vector<ustring>& paths,
|
|||
for (vector<ustring>::iterator i = uris.begin(); i != uris.end(); ++i) {
|
||||
if ((*i).substr (0,7) == "file://") {
|
||||
string p = *i;
|
||||
url_decode (p);
|
||||
PBD::url_decode (p);
|
||||
paths.push_back (p.substr (7));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -203,7 +203,7 @@ Editor::embed_sndfile (Glib::ustring path, bool split, bool multiple_files, bool
|
|||
/* lets see if we can link it into the session */
|
||||
|
||||
linked_path = session->sound_dir();
|
||||
linked_path += PBD::basename (path);
|
||||
linked_path += Glib::path_get_basename (path);
|
||||
|
||||
if (link (path.c_str(), linked_path.c_str()) == 0) {
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
#include <samplerate.h>
|
||||
|
||||
#include <pbd/convert.h>
|
||||
#include <pbd/dirname.h>
|
||||
#include <pbd/xml++.h>
|
||||
|
||||
#include <gtkmm2ext/utils.h>
|
||||
|
|
@ -1154,7 +1153,7 @@ ExportDialog::is_filepath_valid(string &filepath)
|
|||
|
||||
// directory needs to exist and be writable
|
||||
|
||||
string dirpath = PBD::dirname (filepath);
|
||||
string dirpath = Glib::path_get_dirname (filepath);
|
||||
if (::access (dirpath.c_str(), W_OK) != 0) {
|
||||
string txt = _("Cannot write file in: ") + dirpath;
|
||||
MessageDialog msg (*this, txt, false, MESSAGE_ERROR, BUTTONS_OK, true);
|
||||
|
|
|
|||
|
|
@ -25,8 +25,6 @@
|
|||
#include <ardour/audioengine.h>
|
||||
#include <ardour/sndfile_helpers.h>
|
||||
|
||||
#include <pbd/dirname.h>
|
||||
|
||||
#include "ardour_ui.h"
|
||||
#include "export_range_markers_dialog.h"
|
||||
|
||||
|
|
@ -149,7 +147,7 @@ ExportRangeMarkersDialog::is_filepath_valid(string &filepath)
|
|||
}
|
||||
|
||||
// directory needs to exist and be writable
|
||||
string dirpath = PBD::dirname (filepath);
|
||||
string dirpath = Glib::path_get_dirname (filepath);
|
||||
if (::access (dirpath.c_str(), W_OK) != 0) {
|
||||
string txt = _("Cannot write file in: ") + dirpath;
|
||||
MessageDialog msg (*this, txt, false, MESSAGE_ERROR, BUTTONS_OK, true);
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ void
|
|||
FFTGraph::setWindowSize(int windowSize)
|
||||
{
|
||||
if (_a_window) {
|
||||
LockMonitor lm (_a_window->track_list_lock, __LINE__, __FILE__);
|
||||
Glib::Mutex::Lock lm (_a_window->track_list_lock);
|
||||
setWindowSize_internal(windowSize);
|
||||
} else {
|
||||
setWindowSize_internal(windowSize);
|
||||
|
|
@ -261,7 +261,7 @@ FFTGraph::draw_scales(Glib::RefPtr<Gdk::Window> window)
|
|||
void
|
||||
FFTGraph::redraw()
|
||||
{
|
||||
LockMonitor lm (_a_window->track_list_lock, __LINE__, __FILE__ );
|
||||
Glib::Mutex::Lock lm (_a_window->track_list_lock);
|
||||
|
||||
draw_scales(get_window());
|
||||
|
||||
|
|
|
|||
|
|
@ -133,7 +133,6 @@ gtk_custom_hruler_draw_ticks (GtkCustomRuler * ruler)
|
|||
{
|
||||
GtkWidget *widget;
|
||||
GdkGC *gc, *bg_gc;
|
||||
GdkFont *font;
|
||||
gint i;
|
||||
GtkCustomRulerMark *marks;
|
||||
gint xthickness;
|
||||
|
|
@ -154,7 +153,6 @@ gtk_custom_hruler_draw_ticks (GtkCustomRuler * ruler)
|
|||
|
||||
gc = widget->style->fg_gc[GTK_STATE_NORMAL];
|
||||
bg_gc = widget->style->bg_gc[GTK_STATE_NORMAL];
|
||||
font = gtk_style_get_font(widget->style);
|
||||
|
||||
layout = gtk_widget_create_pango_layout (widget, "012456789");
|
||||
pango_layout_get_extents (layout, &ink_rect, &logical_rect);
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include <gtkmm/messagedialog.h>
|
||||
|
||||
#include <pbd/lockmonitor.h>
|
||||
#include <glibmm/thread.h>
|
||||
|
||||
#include <ardour/io.h>
|
||||
#include <ardour/route.h>
|
||||
|
|
@ -368,7 +368,7 @@ IOSelector::display_ports ()
|
|||
TreeView *selected_port_tview = 0;
|
||||
|
||||
{
|
||||
LockMonitor lm (port_display_lock, __LINE__, __FILE__);
|
||||
Glib::Mutex::Lock lm (port_display_lock);
|
||||
Port *port;
|
||||
uint32_t limit;
|
||||
|
||||
|
|
@ -670,7 +670,7 @@ IOSelector::port_column_button_release (GdkEventButton* event, TreeView* treevie
|
|||
if (Keyboard::is_delete_event (event)) {
|
||||
Port* port;
|
||||
{
|
||||
LockMonitor lm (port_display_lock, __LINE__, __FILE__);
|
||||
Glib::Mutex::Lock lm (port_display_lock);
|
||||
|
||||
port = static_cast<Port *> (treeview->get_data (_("port")));
|
||||
|
||||
|
|
@ -724,7 +724,7 @@ IOSelector::select_treeview (TreeView* tview)
|
|||
switch.
|
||||
*/
|
||||
|
||||
LockMonitor lm (port_display_lock, __LINE__, __FILE__);
|
||||
Glib::Mutex::Lock lm (port_display_lock);
|
||||
Port* port = reinterpret_cast<Port *> (tview->get_data (_("port")));
|
||||
|
||||
if (port != selected_port) {
|
||||
|
|
|
|||
|
|
@ -29,6 +29,9 @@ using __gnu_cxx::slist;
|
|||
#endif
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <glibmm/thread.h>
|
||||
|
||||
#include <gtkmm/box.h>
|
||||
#include <gtkmm/frame.h>
|
||||
#include <gtkmm/button.h>
|
||||
|
|
@ -39,6 +42,7 @@ using __gnu_cxx::slist;
|
|||
|
||||
#include <ardour_dialog.h>
|
||||
|
||||
|
||||
namespace ARDOUR {
|
||||
class IO;
|
||||
class Session;
|
||||
|
|
@ -105,7 +109,7 @@ class IOSelector : public Gtk::VBox {
|
|||
Gtk::Button clear_connections_button;
|
||||
Gtk::ScrolledWindow port_display_scroller;
|
||||
|
||||
PBD::Lock port_display_lock;
|
||||
Glib::Mutex port_display_lock;
|
||||
slist<Gtk::TreeView *> port_displays;
|
||||
void display_ports ();
|
||||
|
||||
|
|
|
|||
|
|
@ -367,6 +367,9 @@ main (int argc, char *argv[])
|
|||
ARDOUR::AudioEngine *engine;
|
||||
vector<Glib::ustring> null_file_list;
|
||||
|
||||
// needs a better home.
|
||||
Glib::thread_init();
|
||||
|
||||
gtk_set_locale ();
|
||||
|
||||
(void) bindtextdomain (PACKAGE, LOCALEDIR);
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
#include <gtkmm/accelmap.h>
|
||||
|
||||
#include <pbd/convert.h>
|
||||
#include <pbd/lockmonitor.h>
|
||||
#include <glibmm/thread.h>
|
||||
|
||||
#include <gtkmm2ext/gtk_ui.h>
|
||||
#include <gtkmm2ext/utils.h>
|
||||
|
|
|
|||
|
|
@ -24,8 +24,6 @@
|
|||
#include <ardour/recent_sessions.h>
|
||||
#include <ardour/session.h>
|
||||
|
||||
#include <pbd/basename.h>
|
||||
|
||||
#include <gtkmm/entry.h>
|
||||
#include <gtkmm/filechooserbutton.h>
|
||||
#include <gtkmm/spinbutton.h>
|
||||
|
|
@ -659,7 +657,7 @@ NewSessionDialog::reset_recent()
|
|||
|
||||
Gtk::TreeModel::Row row = *(recent_model->append());
|
||||
|
||||
row[recent_columns.visible_name] = PBD::basename (fullpath);
|
||||
row[recent_columns.visible_name] = Glib::path_get_basename (fullpath);
|
||||
row[recent_columns.fullpath] = fullpath;
|
||||
|
||||
if (states->size() > 1) {
|
||||
|
|
|
|||
|
|
@ -1,195 +0,0 @@
|
|||
/* XPM */
|
||||
static const gchar *h_meter_strip_xpm[] = {
|
||||
"186 5 187 2",
|
||||
" c None",
|
||||
". c #2BFE00",
|
||||
"+ c #2DFE00",
|
||||
"@ c #2FFE01",
|
||||
"# c #32FE01",
|
||||
"$ c #34FE02",
|
||||
"% c #36FE02",
|
||||
"& c #38FE03",
|
||||
"* c #3BFE03",
|
||||
"= c #3DFD04",
|
||||
"- c #3FFD04",
|
||||
"; c #41FD05",
|
||||
"> c #44FD05",
|
||||
", c #46FD06",
|
||||
"' c #48FD06",
|
||||
") c #4AFD07",
|
||||
"! c #4DFD07",
|
||||
"~ c #4FFD08",
|
||||
"{ c #51FC08",
|
||||
"] c #53FC09",
|
||||
"^ c #56FC09",
|
||||
"/ c #58FC09",
|
||||
"( c #5AFC0A",
|
||||
"_ c #5CFC0A",
|
||||
": c #5FFC0B",
|
||||
"< c #61FC0B",
|
||||
"[ c #63FB0C",
|
||||
"} c #65FB0C",
|
||||
"| c #68FB0D",
|
||||
"1 c #6AFB0D",
|
||||
"2 c #6CFB0E",
|
||||
"3 c #6EFB0E",
|
||||
"4 c #71FB0F",
|
||||
"5 c #73FB0F",
|
||||
"6 c #75FB10",
|
||||
"7 c #77FA10",
|
||||
"8 c #7AFA11",
|
||||
"9 c #7CFA11",
|
||||
"0 c #7EFA12",
|
||||
"a c #80FA12",
|
||||
"b c #83FA12",
|
||||
"c c #85FA13",
|
||||
"d c #87FA13",
|
||||
"e c #89FA14",
|
||||
"f c #8CF914",
|
||||
"g c #8EF915",
|
||||
"h c #90F915",
|
||||
"i c #92F916",
|
||||
"j c #95F916",
|
||||
"k c #97F917",
|
||||
"l c #99F917",
|
||||
"m c #9BF918",
|
||||
"n c #9EF818",
|
||||
"o c #A0F819",
|
||||
"p c #A2F819",
|
||||
"q c #A4F81A",
|
||||
"r c #A7F81A",
|
||||
"s c #A9F81A",
|
||||
"t c #ABF81B",
|
||||
"u c #ADF81B",
|
||||
"v c #B0F81C",
|
||||
"w c #B2F71C",
|
||||
"x c #B4F71D",
|
||||
"y c #B6F71D",
|
||||
"z c #B9F71E",
|
||||
"A c #BBF71E",
|
||||
"B c #BDF71F",
|
||||
"C c #BFF71F",
|
||||
"D c #C2F720",
|
||||
"E c #C4F720",
|
||||
"F c #C6F621",
|
||||
"G c #C8F621",
|
||||
"H c #CBF622",
|
||||
"I c #CDF622",
|
||||
"J c #CFF623",
|
||||
"K c #D1F623",
|
||||
"L c #D4F624",
|
||||
"M c #D6F624",
|
||||
"N c #D8F524",
|
||||
"O c #DAF525",
|
||||
"P c #DDF525",
|
||||
"Q c #DFF526",
|
||||
"R c #E1F526",
|
||||
"S c #E3F527",
|
||||
"T c #E6F527",
|
||||
"U c #E8F528",
|
||||
"V c #EAF528",
|
||||
"W c #ECF429",
|
||||
"X c #EFF429",
|
||||
"Y c #F1F42A",
|
||||
"Z c #F3F42A",
|
||||
"` c #F5F42B",
|
||||
" . c #F8F42B",
|
||||
".. c #FAF42C",
|
||||
"+. c #FCF42C",
|
||||
"@. c #FFF42D",
|
||||
"#. c #FFF22C",
|
||||
"$. c #FFF12B",
|
||||
"%. c #FFF02A",
|
||||
"&. c #FFEF2A",
|
||||
"*. c #FFEE29",
|
||||
"=. c #FFED28",
|
||||
"-. c #FFEC28",
|
||||
";. c #FFEB27",
|
||||
">. c #FFE926",
|
||||
",. c #FFE826",
|
||||
"'. c #FFE725",
|
||||
"). c #FFE624",
|
||||
"!. c #FFE524",
|
||||
"~. c #FFE423",
|
||||
"{. c #FFE322",
|
||||
"]. c #FFE222",
|
||||
"^. c #FFE021",
|
||||
"/. c #FFDF20",
|
||||
"(. c #FFDE20",
|
||||
"_. c #FFDD1F",
|
||||
":. c #FFDC1E",
|
||||
"<. c #FFDB1E",
|
||||
"[. c #FFDA1D",
|
||||
"}. c #FFD91C",
|
||||
"|. c #FFD71B",
|
||||
"1. c #FFD61B",
|
||||
"2. c #FFD51A",
|
||||
"3. c #FFD419",
|
||||
"4. c #FFD319",
|
||||
"5. c #FFD218",
|
||||
"6. c #FFD117",
|
||||
"7. c #FFD017",
|
||||
"8. c #FFCF16",
|
||||
"9. c #FFCD15",
|
||||
"0. c #FFCC15",
|
||||
"a. c #FFCB14",
|
||||
"b. c #FFCA13",
|
||||
"c. c #FFC913",
|
||||
"d. c #FFC812",
|
||||
"e. c #FFC711",
|
||||
"f. c #FFC611",
|
||||
"g. c #FFC410",
|
||||
"h. c #FFC30F",
|
||||
"i. c #FFC20F",
|
||||
"j. c #FFC10E",
|
||||
"k. c #FFC00D",
|
||||
"l. c #FFBF0C",
|
||||
"m. c #FFBE0C",
|
||||
"n. c #FFBD0B",
|
||||
"o. c #FFBB0A",
|
||||
"p. c #FFBA0A",
|
||||
"q. c #FFB909",
|
||||
"r. c #FFB808",
|
||||
"s. c #FFB708",
|
||||
"t. c #FFB607",
|
||||
"u. c #FFB506",
|
||||
"v. c #FFB406",
|
||||
"w. c #FFB205",
|
||||
"x. c #FFB104",
|
||||
"y. c #FFB004",
|
||||
"z. c #FFAF03",
|
||||
"A. c #FFAE02",
|
||||
"B. c #FFAD02",
|
||||
"C. c #FFAC01",
|
||||
"D. c #FFAB00",
|
||||
"E. c #FFA900",
|
||||
"F. c #F11F00",
|
||||
"G. c #F21E00",
|
||||
"H. c #F21C00",
|
||||
"I. c #F31B00",
|
||||
"J. c #F31A00",
|
||||
"K. c #F41800",
|
||||
"L. c #F41700",
|
||||
"M. c #F51600",
|
||||
"N. c #F61400",
|
||||
"O. c #F61300",
|
||||
"P. c #F71100",
|
||||
"Q. c #F71000",
|
||||
"R. c #F80F00",
|
||||
"S. c #F90D00",
|
||||
"T. c #F90C00",
|
||||
"U. c #FA0B00",
|
||||
"V. c #FA0900",
|
||||
"W. c #FB0800",
|
||||
"X. c #FC0600",
|
||||
"Y. c #FC0500",
|
||||
"Z. c #FD0400",
|
||||
"`. c #FD0200",
|
||||
" + c #FE0100",
|
||||
".+ c #FE0000",
|
||||
"++ c #FF0000",
|
||||
". + @ # $ % & * = - ; > , ' ) ! ~ { ] ^ / ( _ : < [ } | 1 2 3 4 5 6 7 8 9 0 a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z ` ...+.@.@.#.$.%.&.*.=.-.;.>.,.'.).!.~.{.].^./.(._.:.<.[.}.|.1.2.3.4.5.6.7.8.9.0.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v.w.x.y.z.A.B.C.D.E.F.G.H.I.J.K.L.M.N.O.P.Q.R.S.T.U.V.W.X.Y.Z.`. +.+",
|
||||
". + @ # $ % & * = - ; > , ' ) ! ~ { ] ^ / ( _ : < [ } | 1 2 3 4 5 6 7 8 9 0 a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z ` ...+.@.@.#.$.%.&.*.=.-.;.>.,.'.).!.~.{.].^./.(._.:.<.[.}.|.1.2.3.4.5.6.7.8.9.0.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v.w.x.y.z.A.B.C.D.E.F.G.H.I.J.K.L.M.N.O.P.Q.R.S.T.U.V.W.X.Y.Z.`. +.+",
|
||||
". + @ # $ % & * = - ; > , ' ) ! ~ { ] ^ / ( _ : < [ } | 1 2 3 4 5 6 7 8 9 0 a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z ` ...+.@.@.#.$.%.&.*.=.-.;.>.,.'.).!.~.{.].^./.(._.:.<.[.}.|.1.2.3.4.5.6.7.8.9.0.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v.w.x.y.z.A.B.C.D.E.F.G.H.I.J.K.L.M.N.O.P.Q.R.S.T.U.V.W.X.Y.Z.`. +++",
|
||||
". + @ # $ % & * = - ; > , ' ) ! ~ { ] ^ / ( _ : < [ } | 1 2 3 4 5 6 7 8 9 0 a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z ` ...+.@.@.#.$.%.&.*.=.-.;.>.,.'.).!.~.{.].^./.(._.:.<.[.}.|.1.2.3.4.5.6.7.8.9.0.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v.w.x.y.z.A.B.C.D.E.F.G.H.I.J.K.L.M.N.O.P.Q.R.S.T.U.V.W.X.Y.Z.`. +++",
|
||||
". + @ # $ % & * = - ; > , ' ) ! ~ { ] ^ / ( _ : < [ } | 1 2 3 4 5 6 7 8 9 0 a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z ` ...+.@.@.#.$.%.&.*.=.-.;.>.,.'.).!.~.{.].^./.(._.:.<.[.}.|.1.2.3.4.5.6.7.8.9.0.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v.w.x.y.z.A.B.C.D.E.F.G.H.I.J.K.L.M.N.O.P.Q.R.S.T.U.V.W.X.Y.Z.`. +++"};
|
||||
|
|
@ -1,483 +0,0 @@
|
|||
/* XPM */
|
||||
static const gchar * v_meter_strip_xpm[] = {
|
||||
"5 250 230 2",
|
||||
" c None",
|
||||
". c #FE0000",
|
||||
"+ c #FF0000",
|
||||
"@ c #FE0100",
|
||||
"# c #FD0200",
|
||||
"$ c #FD0300",
|
||||
"% c #FD0400",
|
||||
"& c #FC0500",
|
||||
"* c #FC0600",
|
||||
"= c #FC0700",
|
||||
"- c #FB0800",
|
||||
"; c #FA0900",
|
||||
"> c #FA0A00",
|
||||
", c #FA0B00",
|
||||
"' c #F90C00",
|
||||
") c #F90D00",
|
||||
"! c #F80E00",
|
||||
"~ c #F80F00",
|
||||
"{ c #F71000",
|
||||
"] c #F71100",
|
||||
"^ c #F61200",
|
||||
"/ c #F61300",
|
||||
"( c #F61400",
|
||||
"_ c #F51600",
|
||||
": c #F41700",
|
||||
"< c #F41800",
|
||||
"[ c #F31A00",
|
||||
"} c #F31B00",
|
||||
"| c #F21C00",
|
||||
"1 c #F21E00",
|
||||
"2 c #F11F00",
|
||||
"3 c #F54A00",
|
||||
"4 c #FFA900",
|
||||
"5 c #FFAB00",
|
||||
"6 c #FFAC01",
|
||||
"7 c #FFAD02",
|
||||
"8 c #FFAE02",
|
||||
"9 c #FFAF03",
|
||||
"0 c #FFB004",
|
||||
"a c #FFB104",
|
||||
"b c #FFB205",
|
||||
"c c #FFB406",
|
||||
"d c #FFB506",
|
||||
"e c #FFB607",
|
||||
"f c #FFB708",
|
||||
"g c #FFB808",
|
||||
"h c #FFB909",
|
||||
"i c #FFBA0A",
|
||||
"j c #FFBB0A",
|
||||
"k c #FFBC0A",
|
||||
"l c #FFBD0B",
|
||||
"m c #FFBE0C",
|
||||
"n c #FFBF0C",
|
||||
"o c #FFC00D",
|
||||
"p c #FFC10E",
|
||||
"q c #FFC20F",
|
||||
"r c #FFC30F",
|
||||
"s c #FFC410",
|
||||
"t c #FFC511",
|
||||
"u c #FFC611",
|
||||
"v c #FFC711",
|
||||
"w c #FFC812",
|
||||
"x c #FFC913",
|
||||
"y c #FFCA13",
|
||||
"z c #FFCB14",
|
||||
"A c #FFCC15",
|
||||
"B c #FFCD15",
|
||||
"C c #FFCF16",
|
||||
"D c #FFD017",
|
||||
"E c #FFD117",
|
||||
"F c #FFD218",
|
||||
"G c #FFD319",
|
||||
"H c #FFD419",
|
||||
"I c #FFD51A",
|
||||
"J c #FFD61B",
|
||||
"K c #FFD71B",
|
||||
"L c #FFD81C",
|
||||
"M c #FFD91C",
|
||||
"N c #FFDA1D",
|
||||
"O c #FFDB1E",
|
||||
"P c #FFDC1E",
|
||||
"Q c #FFDD1F",
|
||||
"R c #FFDE20",
|
||||
"S c #FFDF20",
|
||||
"T c #FFE021",
|
||||
"U c #FFE222",
|
||||
"V c #FFE322",
|
||||
"W c #FFE423",
|
||||
"X c #FFE524",
|
||||
"Y c #FFE624",
|
||||
"Z c #FFE725",
|
||||
"` c #FFE826",
|
||||
" . c #FFE926",
|
||||
".. c #FFEA26",
|
||||
"+. c #FFEB27",
|
||||
"@. c #FFEC28",
|
||||
"#. c #FFED28",
|
||||
"$. c #FFEE29",
|
||||
"%. c #FFEF2A",
|
||||
"&. c #FFF02A",
|
||||
"*. c #FFF12B",
|
||||
"=. c #FFF22C",
|
||||
"-. c #FFF32D",
|
||||
";. c #FFF42D",
|
||||
">. c #FDF42C",
|
||||
",. c #FBF42C",
|
||||
"'. c #FAF42C",
|
||||
"). c #F8F42B",
|
||||
"!. c #F6F42B",
|
||||
"~. c #F4F42B",
|
||||
"{. c #F3F42A",
|
||||
"]. c #F1F42A",
|
||||
"^. c #F0F429",
|
||||
"/. c #EEF429",
|
||||
"(. c #ECF429",
|
||||
"_. c #EAF528",
|
||||
":. c #E9F528",
|
||||
"<. c #E7F528",
|
||||
"[. c #E5F527",
|
||||
"}. c #E3F527",
|
||||
"|. c #E2F526",
|
||||
"1. c #E0F526",
|
||||
"2. c #DFF526",
|
||||
"3. c #DDF525",
|
||||
"4. c #DBF525",
|
||||
"5. c #D9F525",
|
||||
"6. c #D8F524",
|
||||
"7. c #D6F624",
|
||||
"8. c #D5F624",
|
||||
"9. c #D3F624",
|
||||
"0. c #D1F623",
|
||||
"a. c #CFF623",
|
||||
"b. c #CEF622",
|
||||
"c. c #CCF622",
|
||||
"d. c #CBF622",
|
||||
"e. c #C9F621",
|
||||
"f. c #C7F621",
|
||||
"g. c #C5F621",
|
||||
"h. c #C4F720",
|
||||
"i. c #C2F720",
|
||||
"j. c #C0F71F",
|
||||
"k. c #BEF71F",
|
||||
"l. c #BDF71F",
|
||||
"m. c #BBF71E",
|
||||
"n. c #BAF71E",
|
||||
"o. c #B8F71E",
|
||||
"p. c #B6F71D",
|
||||
"q. c #B5F71D",
|
||||
"r. c #B3F71D",
|
||||
"s. c #B2F71C",
|
||||
"t. c #B0F81C",
|
||||
"u. c #AEF81B",
|
||||
"v. c #ACF81B",
|
||||
"w. c #ABF81B",
|
||||
"x. c #A9F81A",
|
||||
"y. c #A8F81A",
|
||||
"z. c #A6F81A",
|
||||
"A. c #A4F81A",
|
||||
"B. c #A2F819",
|
||||
"C. c #A1F819",
|
||||
"D. c #9FF819",
|
||||
"E. c #9EF818",
|
||||
"F. c #9BF918",
|
||||
"G. c #9AF917",
|
||||
"H. c #98F917",
|
||||
"I. c #97F917",
|
||||
"J. c #95F916",
|
||||
"K. c #93F916",
|
||||
"L. c #91F916",
|
||||
"M. c #90F915",
|
||||
"N. c #8EF915",
|
||||
"O. c #8DF914",
|
||||
"P. c #8BF914",
|
||||
"Q. c #89FA14",
|
||||
"R. c #87FA13",
|
||||
"S. c #86FA13",
|
||||
"T. c #84FA13",
|
||||
"U. c #83FA12",
|
||||
"V. c #81FA12",
|
||||
"W. c #7FFA12",
|
||||
"X. c #7DFA12",
|
||||
"Y. c #7CFA11",
|
||||
"Z. c #7AFA11",
|
||||
"`. c #78FA10",
|
||||
" + c #76FA10",
|
||||
".+ c #75FB10",
|
||||
"++ c #73FB0F",
|
||||
"@+ c #72FB0F",
|
||||
"#+ c #70FB0F",
|
||||
"$+ c #6EFB0E",
|
||||
"%+ c #6DFB0E",
|
||||
"&+ c #6BFB0E",
|
||||
"*+ c #6AFB0D",
|
||||
"=+ c #68FB0D",
|
||||
"-+ c #66FB0C",
|
||||
";+ c #64FB0C",
|
||||
">+ c #63FB0C",
|
||||
",+ c #61FC0B",
|
||||
"'+ c #60FC0B",
|
||||
")+ c #5EFC0B",
|
||||
"!+ c #5CFC0A",
|
||||
"~+ c #5AFC0A",
|
||||
"{+ c #59FC09",
|
||||
"]+ c #57FC09",
|
||||
"^+ c #56FC09",
|
||||
"/+ c #53FC09",
|
||||
"(+ c #52FC08",
|
||||
"_+ c #50FC08",
|
||||
":+ c #4FFD08",
|
||||
"<+ c #4DFD07",
|
||||
"[+ c #4BFD07",
|
||||
"}+ c #49FD07",
|
||||
"|+ c #48FD06",
|
||||
"1+ c #46FD06",
|
||||
"2+ c #45FD05",
|
||||
"3+ c #43FD05",
|
||||
"4+ c #41FD05",
|
||||
"5+ c #3FFD04",
|
||||
"6+ c #3EFD04",
|
||||
"7+ c #3CFD04",
|
||||
"8+ c #3BFE03",
|
||||
"9+ c #39FE03",
|
||||
"0+ c #37FE02",
|
||||
"a+ c #35FE02",
|
||||
"b+ c #34FE02",
|
||||
"c+ c #32FE01",
|
||||
"d+ c #30FE01",
|
||||
"e+ c #2EFE01",
|
||||
"f+ c #2DFE00",
|
||||
"g+ c #2BFE00",
|
||||
". . + + + ",
|
||||
". . + + + ",
|
||||
"@ @ @ @ @ ",
|
||||
"# # # # # ",
|
||||
"$ $ $ $ $ ",
|
||||
"% % % % % ",
|
||||
"& & & & & ",
|
||||
"* * * * * ",
|
||||
"= = = = = ",
|
||||
"- - - - - ",
|
||||
"; ; ; ; ; ",
|
||||
"> > > > > ",
|
||||
", , , , , ",
|
||||
"' ' ' ' ' ",
|
||||
") ) ) ) ) ",
|
||||
"! ! ! ! ! ",
|
||||
"~ ~ ~ ~ ~ ",
|
||||
"{ { { { { ",
|
||||
"] ] ] ] ] ",
|
||||
"^ ^ ^ ^ ^ ",
|
||||
"/ / / / / ",
|
||||
"( ( ( ( ( ",
|
||||
"_ _ _ _ _ ",
|
||||
": : : : : ",
|
||||
": : : : : ",
|
||||
"< < < < < ",
|
||||
"[ [ [ [ [ ",
|
||||
"} } } } } ",
|
||||
"} } } } } ",
|
||||
"| | | | | ",
|
||||
"1 1 1 1 1 ",
|
||||
"2 2 2 2 2 ",
|
||||
"3 3 3 3 3 ",
|
||||
"4 4 4 4 4 ",
|
||||
"5 5 5 5 5 ",
|
||||
"6 6 6 6 6 ",
|
||||
"6 6 6 6 6 ",
|
||||
"7 7 7 7 7 ",
|
||||
"8 8 8 8 8 ",
|
||||
"9 9 9 9 9 ",
|
||||
"9 9 9 9 9 ",
|
||||
"0 0 0 0 0 ",
|
||||
"a a a a a ",
|
||||
"a a a a a ",
|
||||
"b b b b b ",
|
||||
"c c c c c ",
|
||||
"d d d d d ",
|
||||
"d d d d d ",
|
||||
"e e e e e ",
|
||||
"f f f f f ",
|
||||
"g g g g g ",
|
||||
"g g g g g ",
|
||||
"h h h h h ",
|
||||
"i i i i i ",
|
||||
"j j j j j ",
|
||||
"k k k k k ",
|
||||
"l l l l l ",
|
||||
"m m m m m ",
|
||||
"n n n n n ",
|
||||
"n n n n n ",
|
||||
"o o o o o ",
|
||||
"p p p p p ",
|
||||
"q q q q q ",
|
||||
"q q q q q ",
|
||||
"r r r r r ",
|
||||
"s s s s s ",
|
||||
"t t t t t ",
|
||||
"u u u u u ",
|
||||
"v v v v v ",
|
||||
"w w w w w ",
|
||||
"x x x x x ",
|
||||
"x x x x x ",
|
||||
"y y y y y ",
|
||||
"z z z z z ",
|
||||
"A A A A A ",
|
||||
"A A A A A ",
|
||||
"B B B B B ",
|
||||
"C C C C C ",
|
||||
"D D D D D ",
|
||||
"D D D D D ",
|
||||
"E E E E E ",
|
||||
"F F F F F ",
|
||||
"G G G G G ",
|
||||
"G G G G G ",
|
||||
"H H H H H ",
|
||||
"I I I I I ",
|
||||
"I I I I I ",
|
||||
"J J J J J ",
|
||||
"K K K K K ",
|
||||
"L L L L L ",
|
||||
"M M M M M ",
|
||||
"N N N N N ",
|
||||
"O O O O O ",
|
||||
"P P P P P ",
|
||||
"P P P P P ",
|
||||
"Q Q Q Q Q ",
|
||||
"R R R R R ",
|
||||
"S S S S S ",
|
||||
"S S S S S ",
|
||||
"T T T T T ",
|
||||
"U U U U U ",
|
||||
"V V V V V ",
|
||||
"V V V V V ",
|
||||
"W W W W W ",
|
||||
"X X X X X ",
|
||||
"Y Y Y Y Y ",
|
||||
"Y Y Y Y Y ",
|
||||
"Z Z Z Z Z ",
|
||||
"` ` ` ` ` ",
|
||||
" . . . . .",
|
||||
"..........",
|
||||
"+.+.+.+.+.",
|
||||
"@.@.@.@.@.",
|
||||
"#.#.#.#.#.",
|
||||
"#.#.#.#.#.",
|
||||
"$.$.$.$.$.",
|
||||
"%.%.%.%.%.",
|
||||
"&.&.&.&.&.",
|
||||
"&.&.&.&.&.",
|
||||
"*.*.*.*.*.",
|
||||
"=.=.=.=.=.",
|
||||
"-.-.-.-.-.",
|
||||
";.;.;.;.;.",
|
||||
";.;.;.;.;.",
|
||||
">.>.>.>.>.",
|
||||
",.,.,.,.,.",
|
||||
"'.'.'.'.'.",
|
||||
").).).).).",
|
||||
"!.!.!.!.!.",
|
||||
"~.~.~.~.~.",
|
||||
"{.{.{.{.{.",
|
||||
"].].].].].",
|
||||
"^.^.^.^.^.",
|
||||
"/././././.",
|
||||
"(.(.(.(.(.",
|
||||
"_._._._._.",
|
||||
":.:.:.:.:.",
|
||||
"<.<.<.<.<.",
|
||||
"[.[.[.[.[.",
|
||||
"}.}.}.}.}.",
|
||||
"|.|.|.|.|.",
|
||||
"1.1.1.1.1.",
|
||||
"2.2.2.2.2.",
|
||||
"3.3.3.3.3.",
|
||||
"4.4.4.4.4.",
|
||||
"5.5.5.5.5.",
|
||||
"6.6.6.6.6.",
|
||||
"7.7.7.7.7.",
|
||||
"8.8.8.8.8.",
|
||||
"9.9.9.9.9.",
|
||||
"0.0.0.0.0.",
|
||||
"a.a.a.a.a.",
|
||||
"b.b.b.b.b.",
|
||||
"c.c.c.c.c.",
|
||||
"d.d.d.d.d.",
|
||||
"e.e.e.e.e.",
|
||||
"f.f.f.f.f.",
|
||||
"g.g.g.g.g.",
|
||||
"h.h.h.h.h.",
|
||||
"i.i.i.i.i.",
|
||||
"j.j.j.j.j.",
|
||||
"k.k.k.k.k.",
|
||||
"l.l.l.l.l.",
|
||||
"m.m.m.m.m.",
|
||||
"n.n.n.n.n.",
|
||||
"o.o.o.o.o.",
|
||||
"p.p.p.p.p.",
|
||||
"q.q.q.q.q.",
|
||||
"r.r.r.r.r.",
|
||||
"s.s.s.s.s.",
|
||||
"t.t.t.t.t.",
|
||||
"u.u.u.u.u.",
|
||||
"v.v.v.v.v.",
|
||||
"w.w.w.w.w.",
|
||||
"x.x.x.x.x.",
|
||||
"y.y.y.y.y.",
|
||||
"z.z.z.z.z.",
|
||||
"A.A.A.A.A.",
|
||||
"B.B.B.B.B.",
|
||||
"C.C.C.C.C.",
|
||||
"D.D.D.D.D.",
|
||||
"E.E.E.E.E.",
|
||||
"F.F.F.F.F.",
|
||||
"G.G.G.G.G.",
|
||||
"H.H.H.H.H.",
|
||||
"I.I.I.I.I.",
|
||||
"J.J.J.J.J.",
|
||||
"K.K.K.K.K.",
|
||||
"L.L.L.L.L.",
|
||||
"M.M.M.M.M.",
|
||||
"N.N.N.N.N.",
|
||||
"O.O.O.O.O.",
|
||||
"P.P.P.P.P.",
|
||||
"Q.Q.Q.Q.Q.",
|
||||
"R.R.R.R.R.",
|
||||
"S.S.S.S.S.",
|
||||
"T.T.T.T.T.",
|
||||
"U.U.U.U.U.",
|
||||
"V.V.V.V.V.",
|
||||
"W.W.W.W.W.",
|
||||
"X.X.X.X.X.",
|
||||
"Y.Y.Y.Y.Y.",
|
||||
"Z.Z.Z.Z.Z.",
|
||||
"`.`.`.`.`.",
|
||||
" + + + + +",
|
||||
".+.+.+.+.+",
|
||||
"++++++++++",
|
||||
"@+@+@+@+@+",
|
||||
"#+#+#+#+#+",
|
||||
"$+$+$+$+$+",
|
||||
"%+%+%+%+%+",
|
||||
"&+&+&+&+&+",
|
||||
"*+*+*+*+*+",
|
||||
"=+=+=+=+=+",
|
||||
"-+-+-+-+-+",
|
||||
";+;+;+;+;+",
|
||||
">+>+>+>+>+",
|
||||
",+,+,+,+,+",
|
||||
"'+'+'+'+'+",
|
||||
")+)+)+)+)+",
|
||||
"!+!+!+!+!+",
|
||||
"~+~+~+~+~+",
|
||||
"{+{+{+{+{+",
|
||||
"]+]+]+]+]+",
|
||||
"^+^+^+^+^+",
|
||||
"/+/+/+/+/+",
|
||||
"(+(+(+(+(+",
|
||||
"_+_+_+_+_+",
|
||||
":+:+:+:+:+",
|
||||
"<+<+<+<+<+",
|
||||
"[+[+[+[+[+",
|
||||
"}+}+}+}+}+",
|
||||
"|+|+|+|+|+",
|
||||
"1+1+1+1+1+",
|
||||
"2+2+2+2+2+",
|
||||
"3+3+3+3+3+",
|
||||
"4+4+4+4+4+",
|
||||
"5+5+5+5+5+",
|
||||
"6+6+6+6+6+",
|
||||
"7+7+7+7+7+",
|
||||
"8+8+8+8+8+",
|
||||
"9+9+9+9+9+",
|
||||
"0+0+0+0+0+",
|
||||
"a+a+a+a+a+",
|
||||
"b+b+b+b+b+",
|
||||
"c+c+c+c+c+",
|
||||
"d+d+d+d+d+",
|
||||
"e+e+e+e+e+",
|
||||
"f+f+f+f+f+",
|
||||
"g+g+g+g+g+"};
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#include <algorithm>
|
||||
|
||||
#include <pbd/lockmonitor.h>
|
||||
#include <glibmm/thread.h>
|
||||
#include <gtkmm2ext/utils.h>
|
||||
#include <gtkmm2ext/stop_signal.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
#include <gtkmm/box.h>
|
||||
#include <gtkmm/stock.h>
|
||||
|
||||
#include <pbd/basename.h>
|
||||
#include <pbd/convert.h>
|
||||
|
||||
#include <gtkmm2ext/utils.h>
|
||||
|
|
@ -206,7 +205,7 @@ SoundFileBox::play_btn_clicked ()
|
|||
}
|
||||
|
||||
string result;
|
||||
_session->region_name (result, PBD::basename(srclist[0]->name()), false);
|
||||
_session->region_name (result, Glib::path_get_basename(srclist[0]->name()), false);
|
||||
AudioRegion* a_region = new AudioRegion(srclist, 0, srclist[0]->length(), result, 0, Region::DefaultFlags, false);
|
||||
region_cache[path] = a_region;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue