mirror of https://github.com/ericonr/sndio.git
remove unused "autostart" feature
This commit is contained in:
parent
15739f2718
commit
aa1877d6ef
|
@ -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 */
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue