Changeset 361:1d702adb724a in roaraudio


Ignore:
Timestamp:
08/03/08 00:29:56 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

only build CELT code if we habe CELT support

Location:
roard
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • roard/codecfilter.c

    r330 r361  
    1717  cf_cmd_open, NULL, NULL, NULL, NULL, NULL}, 
    1818 
     19#ifdef ROAR_HAVE_LIBCELT 
    1920 {ROAR_CODEC_ROAR_CELT, "RoarCELT", "RoarAudio CELT", NULL, 
    2021  cf_celt_open, cf_celt_close, NULL, NULL, cf_celt_read, NULL}, 
     22#endif 
    2123 
    2224 {ROAR_CODEC_FLAC, "cmd",  "ogg123", 
  • roard/codecfilter_celt.c

    r350 r361  
    22 
    33#include "roard.h" 
     4#ifdef ROAR_HAVE_LIBCELT 
    45 
    56int cf_celt_open(CODECFILTER_USERDATA_T * inst, int codec, 
     
    177178} 
    178179 
     180#endif 
    179181//ll 
  • roard/include/codecfilter_celt.h

    r331 r361  
    55 
    66#include <roaraudio.h> 
     7 
     8#ifdef ROAR_HAVE_LIBCELT 
     9 
    710#include <celt/celt.h> 
    811#include <celt/celt_header.h> 
     
    3639#endif 
    3740 
     41#endif 
     42 
    3843//ll 
Note: See TracChangeset for help on using the changeset viewer.