Browse Source

jack: removed accidental copy/paste.

Ryan C. Gordon 7 years ago
parent
commit
325330efdb
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/audio/jack/SDL_jackaudio.c

+ 0 - 2
src/audio/jack/SDL_jackaudio.c

@@ -367,8 +367,6 @@ JACK_OpenDevice(_THIS, void *handle, const char *devname, int iscapture)
 
     /* once activated, we can connect all the ports. */
     for (i = 0; i < channels; i++) {
-        char portname[32];
-        SDL_snprintf(portname, sizeof (portname), "sdl_jack_%s_%d", sdlportstr, i);
         const char *sdlport = JACK_jack_port_name(this->hidden->sdlports[i]);
         const char *srcport = iscapture ? devports[i] : sdlport;
         const char *dstport = iscapture ? sdlport : devports[i];