Ignore:
Timestamp:
11/19/08 21:18:27 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added filter AMP to libroardsp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroardsp/libroardsp.h

    r874 r882  
    7777}; 
    7878 
     79struct roardsp_amp { 
     80 int32_t  mul; 
     81 int32_t  div; 
     82}; 
     83 
    7984// funcs: 
    8085int    roardsp_filter_str2id(char * str); 
     
    103108int roardsp_highp_ctl   (struct roardsp_filter * filter, int cmd, void * data); 
    104109 
     110int roardsp_amp_init  (struct roardsp_filter * filter, struct roar_stream * stream, int id); 
     111int roardsp_amp_uninit(struct roardsp_filter * filter); 
     112int roardsp_amp_calc16(struct roardsp_filter * filter, void * data, size_t samples); 
     113int roardsp_amp_calc8 (struct roardsp_filter * filter, void * data, size_t samples); 
     114int roardsp_amp_ctl   (struct roardsp_filter * filter, int cmd, void * data); 
     115 
    105116// codecs: 
    106117int roardsp_conv_alaw2pcm16 (int16_t * out, char * in, size_t len); 
Note: See TracChangeset for help on using the changeset viewer.