Commit af188b1
module_adapter: remove the consume label
Simplify the logic by removing the unnecessary consume label. This will
change the logic to loop through the local output buffers when return is
-ENODATA or -ENOSPC. But since there will be no produced samples, this
loop will do nothing. It is not intended to optimize the performance at
this point and in fact the first few cycles might even take the hit
because of the extra looping. But this will help with clubbling the
handling of output samples simpler in the following patches.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>1 parent 782cee6 commit af188b1
1 file changed
Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
505 | 505 | | |
506 | 506 | | |
507 | 507 | | |
508 | | - | |
509 | | - | |
510 | | - | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
511 | 512 | | |
512 | | - | |
513 | | - | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
514 | 519 | | |
515 | 520 | | |
516 | 521 | | |
| |||
526 | 531 | | |
527 | 532 | | |
528 | 533 | | |
529 | | - | |
530 | 534 | | |
531 | 535 | | |
532 | 536 | | |
| |||
0 commit comments