sio_list_devices example: fix cli argument typo

This commit is contained in:
Andrew Kelley 2016-01-05 15:18:11 -07:00
parent ce42b89da3
commit aef8d1646d

View file

@ -129,7 +129,7 @@ int main(int argc, char **argv) {
if (i >= argc) {
return usage(exe);
} else if (strcmp(arg, "--backend") == 0) {
if (strcmp("-dummy", argv[i]) == 0) {
if (strcmp("dummy", argv[i]) == 0) {
backend = SoundIoBackendDummy;
} else if (strcmp("alsa", argv[i]) == 0) {
backend = SoundIoBackendAlsa;