aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs/audioOutput_mvp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/audioOutputs/audioOutput_mvp.c')
-rw-r--r--src/audioOutputs/audioOutput_mvp.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/audioOutputs/audioOutput_mvp.c b/src/audioOutputs/audioOutput_mvp.c
index 9ffdd4fdf..d22747408 100644
--- a/src/audioOutputs/audioOutput_mvp.c
+++ b/src/audioOutputs/audioOutput_mvp.c
@@ -257,15 +257,14 @@ static int mvp_playAudio(struct audio_output *audioOutput,
}
const struct audio_output_plugin mvpPlugin = {
- "mvp",
- mvp_testDefault,
- mvp_initDriver,
- mvp_finishDriver,
- mvp_openDevice,
- mvp_playAudio,
- mvp_dropBufferedAudio,
- mvp_closeDevice,
- NULL, /* sendMetadataFunc */
+ .name = "mvp",
+ .test_default_device = mvp_testDefault,
+ .init = mvp_initDriver,
+ .finish = mvp_finishDriver,
+ .open = mvp_openDevice,
+ .play = mvp_playAudio,
+ .cancel = mvp_dropBufferedAudio,
+ .close = mvp_closeDevice,
};
#else /* HAVE_MVP */