Fixed error message from no input found

This commit is contained in:
James Dyson 2015-11-05 18:23:27 +11:00
parent 2633b1bd60
commit 4cf76cb228

View file

@ -251,7 +251,7 @@ int main(int argc, char **argv) {
int default_in_device_index = soundio_default_input_device_index(soundio); int default_in_device_index = soundio_default_input_device_index(soundio);
if (default_in_device_index < 0) if (default_in_device_index < 0)
panic("no output device found"); panic("no input device found");
int in_device_index = default_in_device_index; int in_device_index = default_in_device_index;
if (in_device_id) { if (in_device_id) {