[Bug 89729] Volume-change problems

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 23 06:14:05 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89729

--- Comment #3 from Marc-Andre Lureau <marcandre.lureau at gmail.com> ---
(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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-bugs/attachments/20150323/87ebc65c/attachment.html>


More information about the spice-bugs mailing list