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:
@@ -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 },
|
||||
};
|
||||
|
Reference in New Issue
Block a user