aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/output/shout_plugin.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/output/shout_plugin.c b/src/output/shout_plugin.c
index eb05d4f06..f03d80231 100644
--- a/src/output/shout_plugin.c
+++ b/src/output/shout_plugin.c
@@ -357,7 +357,8 @@ shout_connect(struct shout_data *sd)
}
static bool
-open_shout_conn(void *data)
+my_shout_open_device(void *data,
+ G_GNUC_UNUSED struct audio_format *audio_format)
{
struct shout_data *sd = (struct shout_data *)data;
bool ret;
@@ -379,15 +380,6 @@ open_shout_conn(void *data)
}
static bool
-my_shout_open_device(void *data,
- G_GNUC_UNUSED struct audio_format *audio_format)
-{
- struct shout_data *sd = (struct shout_data *)data;
-
- return open_shout_conn(sd);
-}
-
-static bool
my_shout_play(void *data, const char *chunk, size_t size)
{
struct shout_data *sd = (struct shout_data *)data;