player: implement software volume control
commit7bed564d979ce7eceac9cd382be5c993cf0acfc5
authorEric Wong <e@80x24.org>
Mon, 14 Dec 2015 08:04:32 +0000 (14 08:04 +0000)
committerEric Wong <e@80x24.org>
Mon, 14 Dec 2015 08:20:34 +0000 (14 08:20 +0000)
tree058d06d065f88fdcd65bf91c50bfb40e93105546
parent9263eecf93555beb3567af401a2bfdf25df5e8cd
player: implement software volume control

This is on a linear scale from 0.0 (mute) to 1.0 (no change)
This is in the MPRIS spec and mpd as well (scaled to 0-100)

This changes dtas-console key bindings (0/9) slightly to match
mplayer more closely.  ReplayGain preamp adjustment has moved from
'0'/'9' to '7'/'8' keys.  The 'm' key also toggles mute state (the
pre-mute volume is stored in the dtas-console instance, not in
dtas-player itself).
Documentation/dtas-console.txt
bin/dtas-console
lib/dtas/player/client_handler.rb
lib/dtas/rg_state.rb