Changeset 5427:543c052527b2 in roaraudio for roarclients


Ignore:
Timestamp:
03/20/12 03:40:15 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

support usage of plugin path also outside plugin containers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarpluginrunner.c

    r5381 r5427  
    5353 
    5454static int do_run(const char * name) { 
    55  struct roar_dl_lhandle * lhandle = roar_dl_open(name, ROAR_DL_FLAG_DEFAULTS, 1, g_para); 
     55 struct roar_dl_lhandle * lhandle = roar_dl_open(name, ROAR_DL_FLAG_PLUGIN, 1, g_para); 
    5656 
    5757 if ( lhandle == NULL ) 
     
    110110 
    111111static int do_explain(const char * name) { 
    112  struct roar_dl_lhandle * lhandle = roar_dl_open(name, ROAR_DL_FLAG_LAZY, 0, NULL); 
     112 struct roar_dl_lhandle * lhandle = roar_dl_open(name, ROAR_DL_FLAG_LAZY|ROAR_DL_FLAG_PLUGINPATH, 0, g_para); 
    113113 struct roar_dl_libraryinst * (*func)(struct roar_dl_librarypara * para); 
    114114 struct roar_dl_libraryinst * lib; 
Note: See TracChangeset for help on using the changeset viewer.