Changeset 5495:2bbc84e22b80 in roaraudio
- Timestamp:
- 05/06/12 02:49:56 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroardsp/transcode_speex.c
r5381 r5495 177 177 return -1; 178 178 state->stage = ROAR_XCODER_STAGE_MAGIC; 179 ROAR_DBG("roar_xcoder_speex_ encode(*): Wrote MAGIC");179 ROAR_DBG("roar_xcoder_speex_proc_header(*): Wrote MAGIC"); 180 180 181 181 state->stage = ROAR_XCODER_STAGE_OPENING; … … 187 187 state->stage = ROAR_XCODER_STAGE_OPENED; 188 188 } else { 189 ROAR_DBG("roar_xcoder_speex_decode(state=%p, buf=%p, len=%lu): state->stage = INITED", state, buf, (unsigned long)len);190 189 if ( roar_vio_read(state->backend, magic, ROAR_SPEEX_MAGIC_LEN) != ROAR_SPEEX_MAGIC_LEN ) 191 190 return -1; … … 195 194 196 195 state->stage = ROAR_XCODER_STAGE_MAGIC; 197 ROAR_DBG("roar_xcoder_speex_decode(state=%p, buf=%p, len=%lu): state->stage = MAGIC", state, buf, (unsigned long)len);198 196 199 197 if ( roar_vio_read(state->backend, &tmp_net, 2) != 2 ) … … 203 201 204 202 state->stage = ROAR_XCODER_STAGE_OPENING; 205 ROAR_DBG("roar_xcoder_speex_decode(state=%p, buf=%p, len=%lu): state->stage = OPENING", state, buf, (unsigned long)len);206 203 207 204 switch (self->mode) { … … 212 209 } 213 210 214 ROAR_DBG("roar_xcoder_speex_decode(state=%p, buf=%p, len=%lu): opened decoder state", state, buf, (unsigned long)len);215 216 211 tmp=1; 217 212 speex_decoder_ctl(self->xcoder, SPEEX_SET_ENH, &tmp); … … 220 215 speex_decoder_ctl(self->xcoder, SPEEX_GET_FRAME_SIZE, &(self->frame_size)); 221 216 222 ROAR_DBG("roar_xcoder_speex_decode(state=%p, buf=%p, len=%lu): self->stereo = %i", state, buf, (unsigned long)len, self->stereo);223 224 217 if ( self->stereo ) { 225 218 memcpy(&(self->stereo_state), &stereo, sizeof(self->stereo_state)); … … 233 226 234 227 state->stage = ROAR_XCODER_STAGE_OPENED; 235 ROAR_DBG("roar_xcoder_speex_decode(state=%p, buf=%p, len=%lu): state->stage = OPENED", state, buf, (unsigned long)len);236 228 } 237 229
Note: See TracChangeset
for help on using the changeset viewer.