Mercurial > audlegacy-plugins
changeset 1723:ff587f35467a
Made arts's use of OutputPlugin look more like OSS and alsa's so that the plugin will actually function
author | Daniel Bradshaw <nazca.audacious@the-cell.co.uk> |
---|---|
date | Tue, 18 Sep 2007 12:47:51 +0000 |
parents | 2e33cfa6a872 |
children | 655949f889ec |
files | src/arts/arts.c |
diffstat | 1 files changed, 17 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/src/arts/arts.c Mon Sep 17 22:10:21 2007 +0200 +++ b/src/arts/arts.c Tue Sep 18 12:47:51 2007 +0000 @@ -32,25 +32,23 @@ OutputPlugin arts_op = { - NULL, - NULL, - "aRts Output Plugin", - artsxmms_init, - NULL, - about, - artsxmms_configure, - artsxmms_get_volume, - artsxmms_set_volume, - artsxmms_open, - artsxmms_write, - artsxmms_close, - artsxmms_flush, - artsxmms_pause, - artsxmms_free, - artsxmms_playing, - artsxmms_get_output_time, - artsxmms_get_written_time, - artsxmms_tell_audio + .description = "aRts Output Plugin", + .init = artsxmms_init, + .cleanup = NULL, + .about = about, + .configure = artsxmms_configure, + .get_volume = artsxmms_get_volume, + .set_volume = artsxmms_set_volume, + .open_audio = artsxmms_open, + .write_audio = artsxmms_write, + .close_audio = artsxmms_close, + .flush = artsxmms_flush, + .pause = artsxmms_pause, + .buffer_free = artsxmms_free, + .buffer_playing = artsxmms_playing, + .output_time = artsxmms_get_output_time, + .written_time = artsxmms_get_written_time, + .tell_audio = artsxmms_tell_audio }; OutputPlugin *arts_oplist[] = { &arts_op, NULL };