libaudiodriver: call drv_init() again

This commit is contained in:
David van Moolenbroek 2012-08-17 16:05:02 +00:00
parent ca216b3d97
commit 9821bbf780

View file

@ -213,6 +213,12 @@ static int init_driver(void) {
static int executed = 0;
sub_dev_t* sub_dev_ptr;
/* initialize basic driver variables */
if (drv_init() != OK) {
printf("libaudiodriver: Could not initialize driver\n");
return EIO;
}
/* init variables, get dma buffers */
for (i = 0; i < drv.NrOfSubDevices; i++) {