Mercurial > audlegacy
diff src/audacious/output.c @ 4755:c6f352d25d27
makeing possible to reinitialize the output plugin from outher plugins
author | Paula Stanciu <paula.stanciu@gmail.com> |
---|---|
date | Thu, 07 Aug 2008 12:16:46 +0300 |
parents | b3e4f5c31546 |
children | f084f639e962 |
line wrap: on
line diff
--- a/src/audacious/output.c Wed Jul 30 23:04:32 2008 +0100 +++ b/src/audacious/output.c Thu Aug 07 12:16:46 2008 +0300 @@ -684,3 +684,16 @@ SAD_dither_apply_replaygain(sad_state_from_float, &info, &mode); } + +void output_plugin_cleanup(void) +{ + OutputPlugin *op = get_current_output_plugin(); + op->init(); + output_close_audio(); + printf("output plugin cleanupn\n"); +} +void output_plugin_reinit(void) +{ + + printf("output plugin reinit \n"); +}