aboutsummaryrefslogtreecommitdiffstats
path: root/src/state_file.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-07-30 23:32:54 +0000
committerEric Wong <normalperson@yhbt.net>2006-07-30 23:32:54 +0000
commit44f9e16922a08db82b267ce8f567453a19c7c100 (patch)
tree65a09540a211f8b95cafc1a56d8a3f5222e5b0a7 /src/state_file.c
parent12aec5738b8333a0dd676871bbfb6d6762ea87a5 (diff)
downloadmpd-44f9e16922a08db82b267ce8f567453a19c7c100.tar.gz
mpd-44f9e16922a08db82b267ce8f567453a19c7c100.tar.xz
mpd-44f9e16922a08db82b267ce8f567453a19c7c100.zip
software volume can now be saved and read from the state file
git-svn-id: https://svn.musicpd.org/mpd/trunk@4495 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/state_file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state_file.c b/src/state_file.c
index 1307faa54..452031ed6 100644
--- a/src/state_file.c
+++ b/src/state_file.c
@@ -24,6 +24,7 @@
#include "audio.h"
#include "playlist.h"
#include "utils.h"
+#include "volume.h"
#include <errno.h>
#include <stdlib.h>
@@ -35,6 +36,7 @@ static struct _sf_cb {
void (*reader)(FILE *);
void (*writer)(FILE *);
} sf_callbacks [] = {
+ { read_sw_volume_state, save_sw_volume_state },
{ readAudioDevicesState, saveAudioDevicesState },
{ readPlaylistState, savePlaylistState },
};