From 926e81b4f8bf477e4a8f44f377caffaf0bf930dc Mon Sep 17 00:00:00 2001 From: sletz Date: Fri, 4 May 2007 06:58:50 +0000 Subject: [PATCH] Steven Chamberlain patch to fix jack_port_type. git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1470 0c269be4-1314-0410-8aa9-9f06e86f4224 --- ChangeLog | 4 ++++ common/JackPort.cpp | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index f3985cc0..b592a59b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,10 @@ Jackdmp changes log --------------------------- +2007-05-04 Stephane Letz + + * Steven Chamberlain patch to fix jack_port_type. + 2007-05-03 Stephane Letz * Steven Chamberlain patch to fix jack_port_by_id export. diff --git a/common/JackPort.cpp b/common/JackPort.cpp index a3d553d0..8e975497 100644 --- a/common/JackPort.cpp +++ b/common/JackPort.cpp @@ -108,7 +108,7 @@ int JackPort::RequestMonitor(bool onoff) /** jackd.h * If @ref JackPortCanMonitor is set for this @a port, turn input - * monitoring on or off. Otherwise, do nothing. + * monitoring on or off. Otherwise, do nothing. if (!(fFlags & JackPortCanMonitor)) return -1; @@ -128,7 +128,7 @@ int JackPort::EnsureMonitor(bool onoff) /** jackd.h * If @ref JackPortCanMonitor is set for this @a port, turn input - * monitoring on or off. Otherwise, do nothing. + * monitoring on or off. Otherwise, do nothing. if (!(fFlags & JackPortCanMonitor)) return -1; @@ -173,7 +173,7 @@ int JackPort::Flags() const const char* JackPort::Type() const { // TO IMPROVE - return "Audio"; + return JACK_DEFAULT_AUDIO_TYPE; } int JackPort::SetName(const char* new_name)