forked from thesofproject/sof
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There were multiple bugs with the buffer copying and interpretation. Turns out that the microphone input was NOT lying: it really is giving us 4 channels of S16_LE, contra what the downstream ALSA endpoint has (S32_LE). That seems like a topology bug? But the reference input WAS lying. It was claiming 4 channels but providing only two, leading to underruns. Combined with buffer copying bugs, the end result was that we were moving the right amount of bytes but in the wrong format. I think this is right now, but it needs a bunch of cleanup still. Commit so I have a reference to fall back on.
- Loading branch information
Showing
2 changed files
with
107 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters