-
Notifications
You must be signed in to change notification settings - Fork 349
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
Changes from all commits
f24e670
5ce1459
f3e3e4e
c66b083
6210c6a
8c345df
4ee60a7
1ecabc6
File filter
Filter by extension
Conversations
Jump to
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?
Collaborator
Author
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.
Collaborator
Author
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__ */ | ||
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.