-
Notifications
You must be signed in to change notification settings - Fork 318
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
Audio: Aria: Fix handling of S24_LE format, update blob ABI headers in topologies #9614
Changes from all commits
d5d21ab
c538d33
98ae51c
8cb87d9
81eb004
6392107
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 |
---|---|---|
|
@@ -43,14 +43,6 @@ Class.Widget."aria" { | |
put 0 | ||
} | ||
max 4096 | ||
Object.Base.data. 1 { | ||
# attenuation for the aria module | ||
bytes "0x53, 0x4f, 0x46, 0x34, 0x01, 0x00, 0x00, 0x00, | ||
0x4, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x01, 0x00, 0x00, 0x00" | ||
} | ||
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. When looking at the quite similar hex values of the blob it might be that this would have worked if I had first done the size_t vs. uint32_t fix to code that failed on 64 bit build. I think I should rewrite the commit message to say it's a blob ABI update and blobs added for all allowed configurations of Aria. 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. Done |
||
} | ||
|
||
# Attribute categories | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Exported with script sof_aria_blobs.m 24-Oct-2024 | ||
# cd tools/tune/aria; octave sof_aria_blobs.m | ||
Object.Base.data."aria_config" { | ||
bytes " | ||
0x53,0x4f,0x46,0x34,0x01,0x00,0x00,0x00, | ||
0x04,0x00,0x00,0x00,0x00,0xa0,0x01,0x03, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x01,0x00,0x00,0x00" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Exported with script sof_aria_blobs.m 24-Oct-2024 | ||
# cd tools/tune/aria; octave sof_aria_blobs.m | ||
Object.Base.data."aria_config" { | ||
bytes " | ||
0x53,0x4f,0x46,0x34,0x01,0x00,0x00,0x00, | ||
0x04,0x00,0x00,0x00,0x00,0xa0,0x01,0x03, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x02,0x00,0x00,0x00" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Exported with script sof_aria_blobs.m 24-Oct-2024 | ||
# cd tools/tune/aria; octave sof_aria_blobs.m | ||
Object.Base.data."aria_config" { | ||
bytes " | ||
0x53,0x4f,0x46,0x34,0x01,0x00,0x00,0x00, | ||
0x04,0x00,0x00,0x00,0x00,0xa0,0x01,0x03, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x03,0x00,0x00,0x00" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Exported with script sof_aria_blobs.m 24-Oct-2024 | ||
# cd tools/tune/aria; octave sof_aria_blobs.m | ||
Object.Base.data."aria_config" { | ||
bytes " | ||
0x53,0x4f,0x46,0x34,0x01,0x00,0x00,0x00, | ||
0x04,0x00,0x00,0x00,0x00,0xa0,0x01,0x03, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00" | ||
} |
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.
is this intentional? So
in_sample
below is used as set in line 59 above?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.
Yes, it's intentional. I think this is more clear, and no need to have left shift for both first AE_MAXABS32S input arguments.
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.
Also, now all (generic, hifi3/4, hifi5) versions of Aria are bit exact with the input that I use.