Changeset 2184:429492a8c3b9 in roaraudio for libroardsp
- Timestamp:
- 07/26/09 19:22:40 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroardsp/transcode.c
r2183 r2184 157 157 } 158 158 159 int roar_bixcoder_packet_size (struct roar_bixcoder * state, int samples); 159 int roar_bixcoder_packet_size (struct roar_bixcoder * state, int samples) { 160 int ret; 161 162 if ( state == NULL ) 163 return -1; 164 165 if ( (ret = roar_xcoder_packet_size(&(state->encoder), samples)) == -1 ) 166 return -1; 167 168 if ( roar_xcoder_packet_size(&(state->decoder), ret) != ret ) 169 return -1; 170 171 return ret; 172 } 173 160 174 int roar_bixcoder_close (struct roar_bixcoder * state) { 161 175 int ret = 0;
Note: See TracChangeset
for help on using the changeset viewer.