aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs/audioOutput_fifo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/audioOutputs/audioOutput_fifo.c')
-rw-r--r--src/audioOutputs/audioOutput_fifo.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/audioOutputs/audioOutput_fifo.c b/src/audioOutputs/audioOutput_fifo.c
index 7a0180741..62257f6cb 100644
--- a/src/audioOutputs/audioOutput_fifo.c
+++ b/src/audioOutputs/audioOutput_fifo.c
@@ -270,15 +270,13 @@ static int fifo_playAudio(void *data,
}
const struct audio_output_plugin fifoPlugin = {
- "fifo",
- NULL, /* testDefaultDeviceFunc */
- fifo_initDriver,
- fifo_finishDriver,
- fifo_openDevice,
- fifo_playAudio,
- fifo_dropBufferedAudio,
- fifo_closeDevice,
- NULL, /* sendMetadataFunc */
+ .name = "fifo",
+ .init = fifo_initDriver,
+ .finish = fifo_finishDriver,
+ .open = fifo_openDevice,
+ .play = fifo_playAudio,
+ .cancel = fifo_dropBufferedAudio,
+ .close = fifo_closeDevice,
};
#else /* HAVE_FIFO */