output/raop: remove useless test_default_device() implementation
This defaults to "false" when the method pointer is NULL.
This commit is contained in:
parent
5ecb6fecc4
commit
c0a4558c62
@ -1120,12 +1120,6 @@ send_audio_data(int fd)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool
|
|
||||||
raop_output_test_default_device(void)
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void *
|
static void *
|
||||||
raop_output_init(G_GNUC_UNUSED const struct audio_format *audio_format,
|
raop_output_init(G_GNUC_UNUSED const struct audio_format *audio_format,
|
||||||
G_GNUC_UNUSED const struct config_param *param,
|
G_GNUC_UNUSED const struct config_param *param,
|
||||||
@ -1419,7 +1413,6 @@ raop_output_play(void *data, const void *chunk, size_t size,
|
|||||||
|
|
||||||
const struct audio_output_plugin raopPlugin = {
|
const struct audio_output_plugin raopPlugin = {
|
||||||
.name = "raop",
|
.name = "raop",
|
||||||
.test_default_device = raop_output_test_default_device,
|
|
||||||
.init = raop_output_init,
|
.init = raop_output_init,
|
||||||
.finish = raop_output_finish,
|
.finish = raop_output_finish,
|
||||||
.open = raop_output_open,
|
.open = raop_output_open,
|
||||||
|
Loading…
Reference in New Issue
Block a user