From aa1877d6ef97fb13649c6e4588a61abc83779ad1 Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Wed, 5 Mar 2014 21:22:05 +0100 Subject: [PATCH] remove unused "autostart" feature --- sndiod/dev.h | 1 - sndiod/sndiod.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/sndiod/dev.h b/sndiod/dev.h index 81477c2..ded94db 100644 --- a/sndiod/dev.h +++ b/sndiod/dev.h @@ -144,7 +144,6 @@ struct dev { unsigned int reqrate; /* sample rate */ unsigned int hold; /* hold the device open ? */ unsigned int autovol; /* auto adjust playvol ? */ - unsigned int autostart; /* don't wait for MMC start */ unsigned int refcnt; /* number of openers */ #define DEV_NMAX 16 /* max number of devices */ unsigned int num; /* device serial number */ diff --git a/sndiod/sndiod.c b/sndiod/sndiod.c index fd305ee..23562c1 100644 --- a/sndiod/sndiod.c +++ b/sndiod/sndiod.c @@ -480,8 +480,6 @@ main(int argc, char **argv) for (d = dev_list; d != NULL; d = d->next) { if (!dev_init(d)) return 1; - if (d->autostart && (d->mode & MODE_AUDIOMASK)) - dev_mmcstart(d); } for (l = listen_list; l != NULL; l = l->next) { if (!listen_init(l))