Changeset 7868c26
- Timestamp:
- Dec 27, 2023, 4:38:30 PM (9 months ago)
- Branches:
- master
- Children:
- 7545b56
- Parents:
- c37f6ec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/jackio.c
rc37f6ec r7868c26 124 124 if (i < ochan) { 125 125 jack_port_type = JACK_DEFAULT_AUDIO_TYPE; 126 AUBIO_S PRINTF (name, "out_%d", i + 1);126 AUBIO_SNPRINTF (name, sizeof (name), "out_%d", i + 1); 127 127 } else { 128 128 jack_port_type = JACK_DEFAULT_MIDI_TYPE; 129 AUBIO_S PRINTF (name, "midi_out_%d", i - ochan + 1);129 AUBIO_SNPRINTF (name, sizeof (name), "midi_out_%d", i - ochan + 1); 130 130 } 131 131 if ((jack_setup->oports[i] = … … 141 141 if (i < ichan) { 142 142 jack_port_type = JACK_DEFAULT_AUDIO_TYPE; 143 AUBIO_S PRINTF (name, "in_%d", i + 1);143 AUBIO_SNPRINTF (name, sizeof (name), "in_%d", i + 1); 144 144 } else { 145 145 jack_port_type = JACK_DEFAULT_MIDI_TYPE; 146 AUBIO_S PRINTF (name, "midi_in_%d", i - ichan + 1);146 AUBIO_SNPRINTF (name, sizeof (name), "midi_in_%d", i - ichan + 1); 147 147 } 148 148 if ((jack_setup->iports[i] =
Note: See TracChangeset
for help on using the changeset viewer.