Summary: | Volume-change problems | ||
---|---|---|---|
Product: | Spice | Reporter: | Victor Toso <bugzilla> |
Component: | server | Assignee: | Spice Bug List <spice-bugs> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Victor Toso
2015-03-23 12:06:27 UTC
The main problem is that the volume value is without unit. It's probably never been written, but it is in our TODO list to use dB instead. (In reply to Marc-Andre Lureau from comment #1) > The main problem is that the volume value is without unit. It's probably > never been written, but it is in our TODO list to use dB instead. Great. That means that spice_server_playback_set_volume would also need to change to dB as well, correct? (In reply to Victor Toso from comment #2) > Great. That means that spice_server_playback_set_volume would also need to > change to dB as well, correct? yes, although we need API compatibility, so we can add functions or flags on the interfaces. I'd try with iface flags (like spice_char_device_flags), also need to bump major/minor for new fields. I would keep the volume uint16 representation, but it needs a db mapping, probably similar to PulseAudio (see pa_sw_volume_from/to_dB family) -- 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/spice/spice-server/issues/29. |
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.