X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/d76bbdea349bf3856172ce9599e657d566e91162..16fb2830d52c1420afdee555a566d72a065d9616:/lib/configuration.h diff --git a/lib/configuration.h b/lib/configuration.h index acb96b7..4cb5677 100644 --- a/lib/configuration.h +++ b/lib/configuration.h @@ -26,6 +26,7 @@ #include "speaker-protocol.h" #include "rights.h" +#include "addr.h" struct uaudio; @@ -154,7 +155,7 @@ struct config { long prefsync; /* preflog sync interval */ /** @brief Secondary listen address */ - struct stringlist listen; + struct netaddress listen; /** @brief Alias format string */ const char *alias; @@ -171,6 +172,9 @@ struct config { /** @brief Command execute by speaker to play audio */ const char *speaker_command; + /** @brief Pause mode for command backend */ + const char *pause_mode; + /** @brief Target sample format */ struct stream_header sample_format; @@ -190,7 +194,7 @@ struct config { const char *password; /** @brief Address to connect to */ - struct stringlist connect; + struct netaddress connect; /** @brief Directories to search for web templates */ struct stringlist templates; @@ -230,10 +234,10 @@ struct config { struct transformlist transform; /* path name transformations */ /** @brief Address to send audio data to */ - struct stringlist broadcast; + struct netaddress broadcast; /** @brief Source address for network audio transmission */ - struct stringlist broadcast_from; + struct netaddress broadcast_from; /** @brief RTP delay threshold */ long rtp_delay_threshold;