Merge pull request #42 from avitex/patch-1

Fixed error message from no input found
This commit is contained in:
Andrew Kelley 2015-11-05 00:25:52 -07:00
commit baba8064e1

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) {