Changeset 1587:9da570b3c375 in roaraudio for libroardsp


Ignore:
Timestamp:
04/15/09 22:23:23 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added subs for filter swap

Location:
libroardsp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libroardsp/filter.c

    r1141 r1587  
    5252 {ROARDSP_FILTER_DCBLOCK, "DCBlock", roardsp_dcblock_init, NULL, NULL, roardsp_dcblock_reset, { 
    5353           {NULL, NULL, NULL},{NULL, NULL, NULL},{roardsp_dcblock_calc16, NULL, NULL},{NULL, NULL, NULL},{NULL, NULL, NULL}}}, 
     54 {ROARDSP_FILTER_SWAP, "Swap", roardsp_swap_init, roardsp_swap_uninit, roardsp_swap_ctl, roardsp_swap_reset, { 
     55           {NULL, NULL, NULL},{NULL, NULL, NULL},{NULL, roardsp_swap_calc162, NULL},{NULL, NULL, NULL},{NULL, NULL, NULL}}}, 
    5456 {-1, NULL, NULL, NULL, NULL, NULL, { 
    5557      // ?                  8Bit               16Bit              24Bit              32Bit 
  • libroardsp/filter_swap.c

    r1586 r1587  
    2525#include "libroardsp.h" 
    2626 
     27int roardsp_swap_init   (struct roardsp_filter * filter, struct roar_stream * stream, int id) { 
     28 return -1; 
     29} 
     30 
     31int roardsp_swap_uninit (struct roardsp_filter * filter) { 
     32 return -1; 
     33} 
     34 
     35int roardsp_swap_calc162(struct roardsp_filter * filter, void * data, size_t samples) { 
     36 return -1; 
     37} 
     38 
     39int roardsp_swap_ctl    (struct roardsp_filter * filter, int cmd, void * data) { 
     40 return -1; 
     41} 
     42 
     43int roardsp_swap_reset  (struct roardsp_filter * filter, int what) { 
     44 return -1; 
     45} 
    2746 
    2847//ll 
Note: See TracChangeset for help on using the changeset viewer.