diff options
author | Max Kellermann <max@duempel.org> | 2009-07-06 22:00:50 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-07-06 22:00:50 +0200 |
commit | 0275690b5cd133f992e9e34d6c76eb134aef26bd (patch) | |
tree | 3ce67839d522420ff7b99224cdc8892c86395036 /src/player_control.h | |
parent | da8095db546544bb9fe3a455ef5742bfef9c2f4f (diff) | |
download | mpd-0275690b5cd133f992e9e34d6c76eb134aef26bd.tar.gz mpd-0275690b5cd133f992e9e34d6c76eb134aef26bd.tar.xz mpd-0275690b5cd133f992e9e34d6c76eb134aef26bd.zip |
output: use the software mixer plugin
Do all the software volume stuff inside each output thread, not in the
player thread. This allows one software mixer per output device, and
also allows the user to configure the mixer type (hardware or
software) for each audio output.
This moves the global "mixer_type" setting into the "audio_output"
section, deprecating the "mixer_enabled" flag.
Diffstat (limited to '')
-rw-r--r-- | src/player_control.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/player_control.h b/src/player_control.h index b1f7481cd..0cc3c73a8 100644 --- a/src/player_control.h +++ b/src/player_control.h @@ -81,7 +81,6 @@ struct player_control { struct song *errored_song; volatile double seek_where; float cross_fade_seconds; - uint16_t software_volume; double total_play_time; }; @@ -145,8 +144,6 @@ void setPlayerCrossFade(float crossFadeInSeconds); float getPlayerCrossFade(void); -void setPlayerSoftwareVolume(int volume); - double getPlayerTotalPlayTime(void); static inline const struct audio_format * |