Changeset 1224:d66ef0e2143d in roaraudio for roard/codecfilter.c


Ignore:
Timestamp:
02/25/09 00:56:42 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

start of stream ctl implementation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/codecfilter.c

    r1223 r1224  
    292292} 
    293293 
     294int codecfilter_ctl  (CODECFILTER_USERDATA_T   inst, int codecfilter, int_least32_t cmd, void * data) { 
     295 if ( codecfilter == -1 ) 
     296  return -1; 
     297 
     298 if ( g_codecfilter[codecfilter].ctl ) 
     299  return g_codecfilter[codecfilter].ctl(inst, cmd, data); 
     300 
     301 return -1; 
     302} 
     303 
     304 
    294305int codecfilter_delay_fulldyn(CODECFILTER_USERDATA_T   inst, uint_least32_t * delay) { 
    295306 *delay = 0; // just to be sure 
Note: See TracChangeset for help on using the changeset viewer.