# HG changeset patch # User Michal Lipski # Date 1241107606 -7200 # Node ID b562bc52a93edf8c792fc0cc07167dd404f66b18 # Parent 6520d2c15c6f3e847c3fb5da5d7c9bcf000107c5 ported OSS diff -r 6520d2c15c6f -r b562bc52a93e src/OSS/OSS.c --- a/src/OSS/OSS.c Thu Apr 30 09:45:04 2009 -0500 +++ b/src/OSS/OSS.c Thu Apr 30 18:06:46 2009 +0200 @@ -54,7 +54,7 @@ G_CALLBACK(gtk_widget_destroyed), &about_dialog); } -static void oss_init(void) +static OutputPluginInitStatus oss_init(void) { mcs_handle_t *db; @@ -84,6 +84,8 @@ &oss_cfg.alt_mixer_device); aud_cfg_db_close(db); } + + return OUTPUT_PLUGIN_INIT_FOUND_DEVICES; } static void oss_cleanup(void) @@ -100,7 +102,8 @@ } static OutputPlugin oss_op = { - .description = "OSS Output Plugin", /* Description */ + .description = "OSS Output Plugin", + .probe_priority = 1, .init = oss_init, .cleanup = oss_cleanup, .about = oss_about,