mirror of
https://github.com/Ryujinx/libsoundio.git
synced 2024-12-22 19:45:38 +00:00
Merge pull request #42 from avitex/patch-1
Fixed error message from no input found
This commit is contained in:
commit
baba8064e1
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue