Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 367
Audio: PCM converter: Add support for A-law and mu-law#9980
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
f24e6705ce1459f3e3e4ec66b0836210c6a8c345df4ee60a71ecabc6File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -22,7 +22,10 @@ enum sof_ipc_frame { | ||
| SOF_IPC_FRAME_S24_3LE, | ||
| SOF_IPC_FRAME_S24_4LE_MSB, | ||
| SOF_IPC_FRAME_U8, | ||
| SOF_IPC_FRAME_S16_4LE /* 16-bit in 32-bit container */ | ||
| SOF_IPC_FRAME_S16_4LE, /* 16-bit in 32-bit container */ | ||
| SOF_IPC_FRAME_A_LAW, | ||
Collaborator There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just to double check, is this in sync with Intel reference? CollaboratorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have an internal email thread started, should mark those as reserved there to avoid future conflict. CollaboratorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is now agreed with the reference. | ||
| SOF_IPC_FRAME_MU_LAW, | ||
| SOF_IPC_FRAME_INVALID, /* keep last */ | ||
| }; | ||
| #endif /* __MODULE_IPC_STREAM_H__ */ | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should there be a notification to the host in case of such errors? We have them now, but should be rate-limited...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know how to do it, but I think already this is a large improvement to previous. But I added SOF_IPC_FRAME_INVALID as default for this function. Then functions those do not handle the return value (a lot of them, and also void functions themselves) will fail with formats those can't be supported.