libaudiodriver: call drv_init() again
This commit is contained in:
parent
ca216b3d97
commit
9821bbf780
1 changed files with 6 additions and 0 deletions
|
@ -213,6 +213,12 @@ static int init_driver(void) {
|
||||||
static int executed = 0;
|
static int executed = 0;
|
||||||
sub_dev_t* sub_dev_ptr;
|
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 */
|
/* init variables, get dma buffers */
|
||||||
for (i = 0; i < drv.NrOfSubDevices; i++) {
|
for (i = 0; i < drv.NrOfSubDevices; i++) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue