File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -354,6 +354,10 @@ int audio_open (struct audio_s *pa)
354
354
text_color_set (DW_COLOR_ERROR );
355
355
dw_printf ("Could not open audio device %s for input\n%s\n" ,
356
356
audio_in_name , snd_strerror (err ));
357
+ if (err == - EBUSY ) {
358
+ dw_printf ("This means that some other application is using that device.\n" );
359
+ dw_printf ("The solution is to identify that other application and stop it.\n" );
360
+ }
357
361
return (-1 );
358
362
}
359
363
@@ -459,6 +463,10 @@ int audio_open (struct audio_s *pa)
459
463
text_color_set (DW_COLOR_ERROR );
460
464
dw_printf ("Could not open audio device %s for output\n%s\n" ,
461
465
audio_out_name , snd_strerror (err ));
466
+ if (err == - EBUSY ) {
467
+ dw_printf ("This means that some other application is using that device.\n" );
468
+ dw_printf ("The solution is to identify that other application and stop it.\n" );
469
+ }
462
470
return (-1 );
463
471
}
464
472
You can’t perform that action at this time.
0 commit comments