mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-14 00:14:18 +00:00
Minor string changes.
This commit is contained in:
parent
e0e12a8bd9
commit
66643e85ac
74 changed files with 895 additions and 889 deletions
|
|
@ -193,8 +193,8 @@ public:
|
|||
{
|
||||
const String portName (ports [j++]);
|
||||
|
||||
if (portName.upToFirstOccurrenceOf (T(":"), false, false) == getName())
|
||||
names.add (portName.fromFirstOccurrenceOf (T(":"), false, false));
|
||||
if (portName.upToFirstOccurrenceOf (":", false, false) == getName())
|
||||
names.add (portName.fromFirstOccurrenceOf (":", false, false));
|
||||
}
|
||||
|
||||
free (ports);
|
||||
|
|
@ -240,7 +240,7 @@ public:
|
|||
{
|
||||
const String portName (ports[i]);
|
||||
|
||||
if (inputChannels[i] && portName.upToFirstOccurrenceOf (T(":"), false, false) == getName())
|
||||
if (inputChannels[i] && portName.upToFirstOccurrenceOf (":", false, false) == getName())
|
||||
{
|
||||
int error = JUCE_NAMESPACE::jack_connect (client, ports[i], JUCE_NAMESPACE::jack_port_name ((jack_port_t*) inputPorts[i]));
|
||||
if (error != 0)
|
||||
|
|
@ -264,7 +264,7 @@ public:
|
|||
{
|
||||
const String portName (ports[i]);
|
||||
|
||||
if (outputChannels[i] && portName.upToFirstOccurrenceOf (T(":"), false, false) == getName())
|
||||
if (outputChannels[i] && portName.upToFirstOccurrenceOf (":", false, false) == getName())
|
||||
{
|
||||
int error = JUCE_NAMESPACE::jack_connect (client, JUCE_NAMESPACE::jack_port_name ((jack_port_t*) outputPorts[i]), ports[i]);
|
||||
if (error != 0)
|
||||
|
|
@ -500,7 +500,7 @@ public:
|
|||
while (ports[j] != 0)
|
||||
{
|
||||
String clientName (ports[j]);
|
||||
clientName = clientName.upToFirstOccurrenceOf (T(":"), false, false);
|
||||
clientName = clientName.upToFirstOccurrenceOf (":", false, false);
|
||||
|
||||
if (clientName != String (JUCE_JACK_CLIENT_NAME)
|
||||
&& ! inputNames.contains (clientName))
|
||||
|
|
@ -524,7 +524,7 @@ public:
|
|||
while (ports[j] != 0)
|
||||
{
|
||||
String clientName (ports[j]);
|
||||
clientName = clientName.upToFirstOccurrenceOf (T(":"), false, false);
|
||||
clientName = clientName.upToFirstOccurrenceOf (":", false, false);
|
||||
|
||||
if (clientName != String (JUCE_JACK_CLIENT_NAME)
|
||||
&& ! outputNames.contains (clientName))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue