diff options
author | David Robillard <d@drobilla.net> | 2008-08-22 03:26:33 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-08-22 03:26:33 +0000 |
commit | 4637ceb876904731d2628563e96a89961f9b7781 (patch) | |
tree | b20bd41c8fcdee1b8a5e76a0aa4a3ca213f82473 /src/AlsaDriver.cpp | |
parent | 503944e72ce146e5bed2556e7b2caa5a41edd7ea (diff) | |
download | patchage-4637ceb876904731d2628563e96a89961f9b7781.tar.gz patchage-4637ceb876904731d2628563e96a89961f9b7781.tar.bz2 patchage-4637ceb876904731d2628563e96a89961f9b7781.zip |
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
Diffstat (limited to 'src/AlsaDriver.cpp')
-rw-r--r-- | src/AlsaDriver.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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<PatchagePort> 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<PatchagePort> 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); |