Bug 91423 - module-mmkbd-evdev/module-lirc: unit/range of volume_limit/volume_step not documented
Summary: module-mmkbd-evdev/module-lirc: unit/range of volume_limit/volume_step not do...
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: modules (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL: http://www.freedesktop.org/wiki/Softw...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-22 06:54 UTC by Renne
Modified: 2018-07-30 10:30 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Renne 2015-07-22 06:54:18 UTC
http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#index5h2 neither documents the unit nor the range of the values of "volume_limit" or "volume_step". Trying several values (1, 10, 100, 0.1, 10%) the Pulseaudio daemon failed to start.

Please add unit and value range  of "volume_limit" and "volume_step" to the documentation.
Comment 1 Renne 2015-07-22 08:14:42 UTC
The user "Ford_Prefect" on IRC wrote me the following information which I verified with Pulseaudio 6.0:

volume_limit/volume_step data-type: 16-bit unsigned integer (Range linear 1-65535, 65535 = 0 dB, 0 = -infinite dB)

Example: volume_limit=65535 volume_step=655: volume limit 0dB, 100 volume steps


I also suggest to allow "dB" as unit when loading the two modules.
Comment 2 Raymond 2015-07-23 07:01:33 UTC
http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/module-lirc.c


int pa__init(pa_module*m) {
    pa_volume_t volume_limit = PA_CLAMP_VOLUME(PA_VOLUME_NORM*3/2);
    pa_volume_t volume_step = PA_VOLUME_NORM/20;



seem has default values
Comment 3 GitLab Migration User 2018-07-30 10:30:41 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/477.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.