Changeset 2311:883f5e3c33f0 in roaraudio for libroardsp/transcode.c
- Timestamp:
- 08/05/09 16:29:04 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroardsp/transcode.c
r2297 r2311 129 129 _CHECK(); 130 130 131 ROAR_DBG("roar_xcoder_proc_packet(state=%p, buf=%p, len=%lu) = ?", state, buf, (unsigned long)len); 132 131 133 if ( state->backend == NULL ) 132 134 return -1; … … 168 170 int ret; 169 171 172 ROAR_DBG("roar_bixcoder_packet_size(state=%p, samples=%i) = ?", state, samples); 173 170 174 if ( state == NULL ) 171 175 return -1; … … 174 178 return -1; 175 179 180 ROAR_DBG("roar_bixcoder_packet_size(state=%p, samples=%i): ret=%i", state, samples, ret); 181 182 // TODO: we need a lot hope here... 183 /* 176 184 if ( roar_xcoder_packet_size(&(state->decoder), ret) != ret ) 177 185 return -1; 178 186 */ 187 188 ROAR_DBG("roar_bixcoder_packet_size(state=%p, samples=%i) = %i", state, samples, ret); 179 189 return ret; 180 190 } … … 195 205 196 206 int roar_bixcoder_read_packet (struct roar_bixcoder * state, void * buf, size_t len) { 207 208 ROAR_DBG("roar_bixcoder_read_packet(state=%p, buf=%p, len=%lu) = ?", state, buf, (unsigned long)len); 209 197 210 if ( state == NULL ) 198 211 return -1;
Note: See TracChangeset
for help on using the changeset viewer.