Skip to content

Commit 1abc9d9

Browse files
committed
portaudio_common: help shotcut words
'output channels' and 'input channels' is needlessly verbose, use abbrevs + IN 1st, out second
1 parent e0dd01c commit 1abc9d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/audio/portaudio_common.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ static const char *portaudio_get_device_details(PaDeviceIndex device) {
7676
assert(device >= 0 && device < Pa_GetDeviceCount());
7777
const PaDeviceInfo *device_info = Pa_GetDeviceInfo(device);
7878
_Thread_local static char buffer[1024];
79-
snprintf(buffer, sizeof buffer, "(output channels: %d; input channels: %d; %s)", device_info->maxOutputChannels, device_info->maxInputChannels, portaudio_get_api_name(device));
79+
snprintf(buffer, sizeof buffer, "(max chan in: %d, out: %d; %s)",
80+
device_info->maxInputChannels, device_info->maxOutputChannels,
81+
portaudio_get_api_name(device));
8082
return buffer;
8183
}
8284

0 commit comments

Comments
 (0)