Giter Site home page Giter Site logo

Comments (3)

cladisch avatar cladisch commented on June 3, 2024

The hardware has fewer than 100 steps, so the percent values must be rounded.

from alsa-utils.

immortalaxay avatar immortalaxay commented on June 3, 2024

The hardware has fewer than 100 steps, so the percent values must be rounded.

When 89% is set, it returns 88%. Let, it is due to round off.
When 88% is set, it returns 85%. It should return 88%, as 88% can be set.

Also check following results

$ amixer -M -c PCH sset PCM 96%
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 250 [96%] [-1.00dB]
Front Right: Playback 250 [96%] [-1.00dB]

$ amixer -M -c PCH sset PCM 97%
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 251 [96%] [-0.80dB]
Front Right: Playback 251 [96%] [-0.80dB]

$ amixer -M -c PCH sset PCM 98%
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 252 [97%] [-0.60dB]
Front Right: Playback 252 [97%] [-0.60dB]

$ amixer -M -c PCH sset PCM 99%
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 253 [98%] [-0.40dB]
Front Right: Playback 253 [98%] [-0.40dB]

$ amixer -M -c PCH sset PCM 254
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 254 [99%] [-0.20dB]
Front Right: Playback 254 [99%] [-0.20dB]

from alsa-utils.

perexg avatar perexg commented on June 3, 2024

Fixed in latest alsa-lib / alsa-utils.

from alsa-utils.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.