From 4637ceb876904731d2628563e96a89961f9b7781 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 22 Aug 2008 03:26:33 +0000 Subject: Lash D-Bus support and projects list from LADI Patchage, with improvements/cleanup/sanification/etc. Remove liblash stuff (meh, what the hell... here's to new beginnings). Enable/disable/hide/etc patchage widgets better based on available (compiled in) functionality. git-svn-id: http://svn.drobilla.net/lad/patchage@1462 a436a847-0d15-0410-975c-d299462d15a1 --- src/AlsaDriver.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/AlsaDriver.cpp') diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp index 8794386..1662471 100644 --- a/src/AlsaDriver.cpp +++ b/src/AlsaDriver.cpp @@ -53,10 +53,10 @@ AlsaDriver::attach(bool /*launch_daemon*/) SND_SEQ_OPEN_DUPLEX, SND_SEQ_NONBLOCK); if (ret) { - _app->status_message("[ALSA] Unable to attach"); + _app->status_msg("[ALSA] Unable to attach"); _seq = NULL; } else { - _app->status_message("[ALSA] Attached"); + _app->status_msg("[ALSA] Attached"); snd_seq_set_client_name(_seq, "Patchage"); @@ -82,7 +82,7 @@ AlsaDriver::detach() snd_seq_close(_seq); _seq = NULL; signal_detached.emit(); - _app->status_message("[ALSA] Detached"); + _app->status_msg("[ALSA] Detached"); } } @@ -395,10 +395,10 @@ AlsaDriver::connect(boost::shared_ptr src_port, boost::shared_ptr< } if (result) - _app->status_message(string("[ALSA] Connected ") + _app->status_msg(string("[ALSA] Connected ") + src_port->full_name() + " -> " + dst_port->full_name()); else - _app->status_message(string("[ALSA] Unable to connect ") + _app->status_msg(string("[ALSA] Unable to connect ") + src_port->full_name() + " -> " + dst_port->full_name()); return (!result); @@ -438,10 +438,10 @@ AlsaDriver::disconnect(boost::shared_ptr src_port, boost::shared_p } if (result) - _app->status_message(string("[ALSA] Disconnected ") + _app->status_msg(string("[ALSA] Disconnected ") + src_port->full_name() + " -> " + dst_port->full_name()); else - _app->status_message(string("[ALSA] Unable to disconnect ") + _app->status_msg(string("[ALSA] Unable to disconnect ") + src_port->full_name() + " -> " + dst_port->full_name()); return (!result); -- cgit v1.2.1