Browse Source

zalsa: correct jack port names

This is not MOD where this is used only for usb stuff..

Signed-off-by: falkTX <falktx@falktx.com>
tags/v1.9.18^2
falkTX 4 years ago
parent
commit
863b435e78
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tools/zalsa/jackclient.cc

+ 2
- 2
tools/zalsa/jackclient.cc View File

@@ -78,13 +78,13 @@ bool Jackclient::init (const char *jserv)
{
if (_mode == PLAY)
{
sprintf (s, "USB_Audio_Playback_%d", i + 1);
sprintf (s, "playback_%d", i + 1);
_ports [i] = jack_port_register (_client, s, JACK_DEFAULT_AUDIO_TYPE,
flags | JackPortIsInput, 0);
}
else
{
sprintf (s, "USB_Audio_Capture_%d", i + 1);
sprintf (s, "capture_%d", i + 1);
_ports [i] = jack_port_register (_client, s, JACK_DEFAULT_AUDIO_TYPE,
flags | JackPortIsOutput, 0);
}


Loading…
Cancel
Save