aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs/audioOutput_jack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/audioOutputs/audioOutput_jack.c')
-rw-r--r--src/audioOutputs/audioOutput_jack.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/audioOutputs/audioOutput_jack.c b/src/audioOutputs/audioOutput_jack.c
index f817bd435..a0e39506c 100644
--- a/src/audioOutputs/audioOutput_jack.c
+++ b/src/audioOutputs/audioOutput_jack.c
@@ -435,15 +435,14 @@ static int jack_playAudio(void *data,
}
const struct audio_output_plugin jackPlugin = {
- "jack",
- jack_testDefault,
- jack_initDriver,
- jack_finishDriver,
- jack_openDevice,
- jack_playAudio,
- jack_dropBufferedAudio,
- jack_closeDevice,
- NULL, /* sendMetadataFunc */
+ .name = "jack",
+ .test_default_device = jack_testDefault,
+ .init = jack_initDriver,
+ .finish = jack_finishDriver,
+ .open = jack_openDevice,
+ .play = jack_playAudio,
+ .cancel = jack_dropBufferedAudio,
+ .close = jack_closeDevice,
};
#else /* HAVE JACK */