mirror of https://github.com/encounter/SDL.git
jack: removed accidental copy/paste.
This commit is contained in:
parent
58f08af46c
commit
325330efdb
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue