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
This commit is contained in:
Eric Wong
2006-07-30 23:32:54 +00:00
parent 12aec5738b
commit 44f9e16922
3 changed files with 41 additions and 0 deletions

View File

@@ -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 },
};