-
Notifications
You must be signed in to change notification settings - Fork 349
Revert "pcm_converter: Convert linear memory regions" #3159
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
Revert "pcm_converter: Convert linear memory regions" #3159
Conversation
This reverts commit 1f092df. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
|
I would like to discuss about the situation of turning circular buffers into linear memory regions, especially when the buffer size might not be a multiple of the conversion unit size. That is very interesting for compressed playback since the available algorithms expect linear buffers of a certain minimum size and might not even consume all of the data if there's something. |
mmaka1
left a comment
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.
Seems that simple sample processing is working vs. audio-stream api returning errors. So handling of audio stream objects must be fixed in host and/or dai components to ensure their consistent state before reapplying the change being reverted.
|
CI does show cliiping and that looks due to PGA2.0 on the capture path being > 0dB. |
how did you find this?
I am still worried about kmod tests failed with no obvious failure reported. |
An alsa-bat wav file is available when you click on the test results which can be loaded into audacity. Then checked the topology diagram and logs for PGA gains and could see the gain value for each PGA #define VOL_QXY_Y 16
/** \brief Volume 0dB value. */
#define VOL_ZERO_DB BIT(VOL_QXY_Y)The volume for PGA2.0 was above this value. |
I must be really think, I can't see any wav files -
Well of course I clicked on the Cyan case where there are no results. When I click on Minnowboard w/ rt5682 then my browser downloads a wav file. But if I click on other test cases that passed, then also no wav results and some really strange error messages. Try different columns for check-alsabat-headset-playback.sh in https://sof-ci.01.org/sofpr/PR3159/build6557/devicetest/ |
Update: if I use Firefox then I get the two files for the two cases that fail. There's a nice menu that selects Audacity by default. But with Chrome it looks random and there's no menu at all. @aiChaoSONG @xiulipan FYI, you may want to look into HTML generation issues here? |
I started with a cleanup of this particular test, please help review: thesofproject/sof-test#368 No functional change yet. |
#3156 does not work, so if we can't get a quick fix let's revert and redo. Nothing personal, just that we can't break CI for a month and keep going this way.
This reverts commit 1f092df.
Signed-off-by: Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com