Mercurial > audlegacy-plugins
diff src/CoreAudio/init.c @ 3069:372ef3b764fd
port to new API
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Fri, 24 Apr 2009 09:58:54 -0500 |
parents | 3134a0987162 |
children |
line wrap: on
line diff
--- a/src/CoreAudio/init.c Fri Apr 24 09:21:24 2009 -0500 +++ b/src/CoreAudio/init.c Fri Apr 24 09:58:54 2009 -0500 @@ -22,7 +22,7 @@ extern float left_volume, right_volume; -void osx_init(void) +OutputPluginInitStatus osx_init(void) { mcs_handle_t *cfgfile; @@ -52,4 +52,6 @@ aud_cfg_db_get_string(cfgfile, "OSX", "alt_mixer_device", &osx_cfg.alt_mixer_device); aud_cfg_db_close(cfgfile); } + + return OUTPUT_PLUGIN_INIT_FOUND_DEVICES; }