Changeset 2495:61b6587c286a in roaraudio


Ignore:
Timestamp:
08/24/09 02:20:48 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

support to disable light subsystem

Location:
roard
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • roard/include/light.h

    r1966 r2495  
    2828#include <roaraudio.h> 
    2929 
     30#ifndef ROAR_WITHOUT_DCOMP_LIGHT 
     31 
    3032#define LIGHT_CHANNELS_DEFAULT 512 /* one DMX Universe */ 
    3133 
     
    4850#endif 
    4951 
     52#endif 
     53 
    5054//ll 
  • roard/light.c

    r2252 r2495  
    2424 
    2525#include "roard.h" 
     26 
     27#ifndef ROAR_WITHOUT_DCOMP_LIGHT 
    2628 
    2729int light_init  (unsigned int channels) { 
     
    226228} 
    227229 
     230#endif 
     231 
    228232//ll 
  • roard/loop.c

    r2489 r2495  
    115115  ssynth_update(); 
    116116#endif 
     117#ifndef ROAR_WITHOUT_DCOMP_LIGHT 
    117118  light_reinit(); 
     119#endif 
    118120 
    119121//  output_buffer_reinit(); 
Note: See TracChangeset for help on using the changeset viewer.