Mercurial > audlegacy-plugins
changeset 3103:b562bc52a93e
ported OSS
author | Michal Lipski <tallica@o2.pl> |
---|---|
date | Thu, 30 Apr 2009 18:06:46 +0200 |
parents | 6520d2c15c6f |
children | 2541e02c077e |
files | src/OSS/OSS.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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,