[non-BE] Fix format switching in VoIP
- Related issues: #1542
- Requested reviewers:
Reason why this change is needed
- JBM buffer logic does not work correctly in format switching
Description of the change
- Avoid unnecessary deallocation & allocation of handles in format switching
- skip unnecessary configurations in format switching
- fix issue with the JBM buffer in format switching
- avoid calling of restartDecoder() in the first frame
Affected operating points
- non-BE for format switching in VoIP (not shown in the pipeline until format switching CI test is in place)
Edited by vaclav