Changeset 4275:2a5ba5fd0120 in roaraudio for include/libroar/ltm.h


Ignore:
Timestamp:
08/28/10 15:56:34 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

corrected client site handling of ltm, should now be complet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/ltm.h

    r4265 r4275  
    3939#include "libroar.h" 
    4040 
     41struct roar_ltm_result; 
     42 
    4143int roar_ltm_register(struct roar_connection * con, int mt, int window, int * streams, size_t slen); 
    4244int roar_ltm_unregister(struct roar_connection * con, int mt, int window, int * streams, size_t slen); 
    4345 
     46/* 
    4447ssize_t roar_ltm_get_raw(struct roar_connection * con, int mt, int window, int * streams, size_t slen, void * buf, size_t * buflen, int64_t ** array); 
    4548 
    4649int64_t roar_ltm_extract(int64_t * buf, size_t len, int mt, int req); 
    4750int64_t roar_ltm_extract1(int64_t * buf, size_t len, int mt, int req); 
     51*/ 
     52 
     53struct roar_ltm_result * roar_ltm_get(struct roar_connection * con, int mt, int window, int * streams, size_t slen, struct roar_ltm_result * oldresult); 
     54 
     55#define roar_ltm_freeres(x) roar_mm_free((x)) 
     56 
     57int roar_ltm_get_numstreams(struct roar_ltm_result * res); 
     58int roar_ltm_get_mt(struct roar_ltm_result * res); 
     59int roar_ltm_get_window(struct roar_ltm_result * res); 
     60 
     61int roar_ltm_get_numchans(struct roar_ltm_result * res, int streamidx); 
     62int64_t roar_ltm_extract(struct roar_ltm_result * res, int mt, int streamidx, int channel); 
    4863 
    4964#endif 
Note: See TracChangeset for help on using the changeset viewer.