[Spice-devel] [PATCH v2] sndworker: add AudioVolume/AudioMute messages
Christophe Fergeau
cfergeau at redhat.com
Tue Jun 21 05:33:26 PDT 2011
On Tue, Jun 21, 2011 at 02:24:23PM +0200, Marc-André Lureau wrote:
> What do you mean by "volume format"? It's a an uint16_t, for which 0
> means 0% = MUTE, and 65535 or 100% = NORMAL.
some kind of enum for when we add support for volume in dB, ie
AudioVolume {
enum AudioVolumeFormat format;
uint8 channels;
uint16 volume[channels];
}
That's just random thinking in case it's better, not a thing to change.
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110621/d7ba099b/attachment.pgp>
More information about the Spice-devel
mailing list