Changeset 1105:ab879ecbefc2 in roaraudio


Ignore:
Timestamp:
01/11/09 02:27:58 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

disable options needing libm

Location:
include/libroardsp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/libroardsp/libroardsp.h

    r1100 r1105  
    8383}; 
    8484 
     85#ifdef ROAR_HAVE_LIBM 
    8586struct roardsp_lowp { 
    8687 uint32_t freq; // in mHz (0Hz..4MHz) 
     
    9596 int32_t  oldin[ROAR_MAX_CHANNELS]; 
    9697}; 
     98#endif 
    9799 
    98100struct roardsp_amp { 
     
    122124// filter: 
    123125 
     126#ifdef ROAR_HAVE_LIBM 
    124127int roardsp_lowp_init  (struct roardsp_filter * filter, struct roar_stream * stream, int id); 
    125128int roardsp_lowp_uninit(struct roardsp_filter * filter); 
     
    131134int roardsp_highp_calc16(struct roardsp_filter * filter, void * data, size_t samples); 
    132135int roardsp_highp_ctl   (struct roardsp_filter * filter, int cmd, void * data); 
     136#endif 
    133137 
    134138int roardsp_amp_init  (struct roardsp_filter * filter, struct roar_stream * stream, int id); 
  • include/libroardsp/midi.h

    r687 r1105  
    2727 
    2828#include "libroardsp.h" 
     29 
     30#ifdef ROAR_HAVE_LIBM 
    2931#include <math.h> 
     32#endif 
    3033 
    3134#define ROAR_MIDI_NOTE_NONE -1 
Note: See TracChangeset for help on using the changeset viewer.