Commit d088eb0
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 d088eb0
File tree
4 files changed
+32
-7
lines changed- src
- audio/module_adapter/module
- include/sof/audio/module_adapter/module
4 files changed
+32
-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 | + | |
| 488 | + | |
| 489 | + | |
475 | 490 | | |
476 | 491 | | |
477 | 492 | | |
478 | 493 | | |
479 | 494 | | |
480 | 495 | | |
481 | 496 | | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
482 | 500 | | |
483 | 501 | | |
484 | 502 | | |
| |||
490 | 508 | | |
491 | 509 | | |
492 | 510 | | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
493 | 514 | | |
494 | 515 | | |
495 | 516 | | |
496 | 517 | | |
497 | | - | |
498 | 518 | | |
499 | 519 | | |
500 | 520 | | |
| |||
506 | 526 | | |
507 | 527 | | |
508 | 528 | | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
509 | 532 | | |
510 | 533 | | |
511 | 534 | | |
512 | 535 | | |
513 | | - | |
514 | 536 | | |
515 | 537 | | |
516 | 538 | | |
517 | 539 | | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
518 | 543 | | |
519 | 544 | | |
520 | 545 | | |
521 | 546 | | |
522 | | - | |
523 | 547 | | |
524 | 548 | | |
525 | 549 | | |
| |||
| 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 | 103 | | |
| |||
0 commit comments