output/shout: remove the defunct "timeout" option
The implementation was removed 12 years ago in commit f6455d5f79
and
nobody missed it.
This commit is contained in:
@@ -36,16 +36,12 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
static constexpr unsigned DEFAULT_CONN_TIMEOUT = 2;
|
||||
|
||||
struct ShoutOutput final : AudioOutput {
|
||||
shout_t *shout_conn;
|
||||
|
||||
std::unique_ptr<PreparedEncoder> prepared_encoder;
|
||||
Encoder *encoder;
|
||||
|
||||
int timeout = DEFAULT_CONN_TIMEOUT;
|
||||
|
||||
uint8_t buffer[32768];
|
||||
|
||||
explicit ShoutOutput(const ConfigBlock &block);
|
||||
@@ -180,7 +176,6 @@ ShoutOutput::ShoutOutput(const ConfigBlock &block)
|
||||
throw std::runtime_error(shout_get_error(shout_conn));
|
||||
|
||||
/* optional paramters */
|
||||
timeout = block.GetBlockValue("timeout", DEFAULT_CONN_TIMEOUT);
|
||||
|
||||
value = block.GetBlockValue("genre");
|
||||
if (value != nullptr && shout_set_genre(shout_conn, value))
|
||||
|
Reference in New Issue
Block a user