let mixer sleep a bit before loading to ensure device is set up

This commit is contained in:
tumbili 2015-06-03 01:10:09 +02:00 committed by Mark Charlebois
parent 45ee36234d
commit 909508f8f9
1 changed files with 3 additions and 0 deletions

View File

@ -100,6 +100,9 @@ usage(const char *reason)
static int
load(const char *devname, const char *fname)
{
// sleep a while to ensure device has been set up
usleep(20000);
int dev;
char buf[2048];