Changeset 3354:c0856cfec872 in roaraudio for roard/roard.c


Ignore:
Timestamp:
02/08/10 15:05:43 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

preinit, init, free plugins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/roard.c

    r3339 r3354  
    999999#endif 
    10001000 
     1001 if ( plugins_preinit() == -1 ) { 
     1002  ROAR_ERR("Can not pre-init plugins!"); 
     1003  return 1; 
     1004 } 
     1005 
    10011006#ifdef ROAR_SUPPORT_LISTEN 
    10021007#ifndef ROAR_TARGET_WIN32 
     
    15181523#endif 
    15191524 
     1525 if ( plugins_init() == -1 ) { 
     1526  ROAR_ERR("Can not initialize plugins"); 
     1527 } 
     1528 
    15201529#ifdef ROAR_SUPPORT_LISTEN 
    15211530 if ( add_listen(sock_addr, port, sock_type, sock_user, sock_grp, sock_proto, sock_dir, &sock_info) != 0 ) { 
     
    17511760 cleanup_listen_socket(0); 
    17521761 
     1762 plugins_free(); 
     1763 
    17531764#ifndef ROAR_WITHOUT_DCOMP_SOURCES 
    17541765 sources_free(); 
Note: See TracChangeset for help on using the changeset viewer.