Commit 20c06c4
committed
Audio: Set default audio stream align to SOF_FRAME_BYTE_ALIGN
This patch changes the default align from 1 bytes to
SOF_FRAME_BYTE_ALIGN that depends on build architecture. It
defaults to 4 in generic build and to values 8 and 16 for
Hifi3/4 and HiFi5 builds.
A macro is defined for frame count align value 1 with name
SOF_FRAME_COUNT_ALIGN. It can be used instead of numeric value 1.
Modules can use it when there is no specific requirement for
frames count constraint.
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>1 parent ab79b4e commit 20c06c4
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
226 | 229 | | |
227 | 230 | | |
228 | 231 | | |
| |||
0 commit comments