Commit c44f608
committed
audio: cadence: add optional API error reporting
Extend cadence_codec_process_data() with an optional output parameter
for returning Cadence API error codes while preserving existing return
behavior: non-fatal API errors still return 0 and fatal errors are
returned.
Suppress non-fatal warning prints in this path and add lightweight
overwrite tracing for repeated API error updates.
Update cadence IPC3 and IPC4 call sites to pass NULL for now.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>1 parent a32d983 commit c44f608
File tree
4 files changed
+29
-7
lines changed- src
- audio/module_adapter/module
- include/sof/audio/module_adapter/module
4 files changed
+29
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
471 | 471 | | |
472 | 472 | | |
473 | 473 | | |
474 | | - | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
475 | 488 | | |
476 | 489 | | |
477 | 490 | | |
478 | 491 | | |
479 | 492 | | |
480 | 493 | | |
481 | 494 | | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
482 | 498 | | |
483 | 499 | | |
484 | 500 | | |
| |||
490 | 506 | | |
491 | 507 | | |
492 | 508 | | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
493 | 512 | | |
494 | 513 | | |
495 | 514 | | |
496 | 515 | | |
497 | | - | |
498 | 516 | | |
499 | 517 | | |
500 | 518 | | |
| |||
506 | 524 | | |
507 | 525 | | |
508 | 526 | | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
509 | 530 | | |
510 | 531 | | |
511 | 532 | | |
512 | 533 | | |
513 | | - | |
514 | 534 | | |
515 | 535 | | |
516 | 536 | | |
517 | 537 | | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
518 | 541 | | |
519 | 542 | | |
520 | 543 | | |
521 | 544 | | |
522 | | - | |
523 | 545 | | |
524 | 546 | | |
525 | 547 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
| 267 | + | |
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
468 | | - | |
| 468 | + | |
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
0 commit comments