Skip to content

Volume: Avoid unnecessary error trace about limiting to VOL_MIN - #2272

Merged
lgirdwood merged 1 commit into
thesofproject:masterfrom
singalsu:volume_avoid_limit_note
Jan 13, 2020
Merged

lgirdwood merged 1 commit into
thesofproject:masterfrom
singalsu:volume_avoid_limit_note

Conversation

@singalsu

Copy link
Copy Markdown
Collaborator

The trace issue is only cosmetic since VOL_MIN is currently defined
to zero. There linear gain value was not altered despite the emitted
trace. With this change the limiting no more happens for input value
zero.

The related trace messages are improved to show the defined limits
for easier adjust the offending topology volume scale if this
happens. The string split style is also updated to current.

Signed-off-by: Seppo Ingalsuo seppo.ingalsuo@linux.intel.com

The trace issue is only cosmetic since VOL_MIN is currently defined
to zero. There linear gain value was not altered despite the emitted
trace. With this change the limiting no more happens for input value
zero.

The related trace messages are improved to show the defined limits
for easier adjust the offending topology volume scale if this
happens. The string split style is also updated to current.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
@singalsu

Copy link
Copy Markdown
Collaborator Author

The SOF issue is #2271.

Comment thread src/audio/volume/volume.c
@singalsu

Copy link
Copy Markdown
Collaborator Author

SOFCI TEST

@singalsu

Copy link
Copy Markdown
Collaborator Author

Great, thanks @dbaluta , @paulstelian97 , @mmaka1 and @lgirdwood for review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants