Changeset 5270:e25346c13638 in roaraudio for libroar/ltm.c
- Timestamp:
- 11/17/11 18:20:12 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/ltm.c
r5145 r5270 175 175 char * buf = NULL; 176 176 int ret; 177 inti;177 size_t i; 178 178 179 179 if ( con == NULL ) { … … 260 260 } 261 261 262 static int64_t * roar_ltm_get_streamptr(struct roar_ltm_result * res, int streamidx) {262 static int64_t * roar_ltm_get_streamptr(struct roar_ltm_result * res, size_t streamidx) { 263 263 int64_t * ptr; 264 264 int numchans; 265 int i;265 size_t i; 266 266 267 267 ROAR_DBG("roar_ltm_get_streamptr(res=%p, streamidx=%i) = ?", res, streamidx); … … 289 289 } 290 290 291 int roar_ltm_get_numchans(struct roar_ltm_result * res, int streamidx) {291 int roar_ltm_get_numchans(struct roar_ltm_result * res, size_t streamidx) { 292 292 int64_t * ptr = roar_ltm_get_streamptr(res, streamidx); 293 293 … … 298 298 } 299 299 300 int64_t roar_ltm_extract(struct roar_ltm_result * res, int mt, int streamidx, int channel) {300 int64_t roar_ltm_extract(struct roar_ltm_result * res, int mt, size_t streamidx, int channel) { 301 301 int64_t * ptr = roar_ltm_get_streamptr(res, streamidx); 302 302 int numchans;
Note: See TracChangeset
for help on using the changeset viewer.