Changeset 2202:4b4e0215cc48 in roaraudio for libroardsp


Ignore:
Timestamp:
07/26/09 23:49:47 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

no need to check the frame size, this is done by roar_xcoder_proc_packet()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroardsp/transcode_celt.c

    r2201 r2202  
    127127 ROAR_DBG("roar_xcoder_celt_encode(*): Encoding..."); 
    128128 
    129  if ( len != self->frame_size * _16BIT * state->info.pcm.channels ) 
    130   return -1; 
    131  
    132  ROAR_DBG("roar_xcoder_celt_encode(*): Frame size check OK"); 
    133  
    134129 if ( state->stage == ROAR_XCODER_STAGE_INITED ) { 
    135130  if ( roar_vio_write(state->backend, ROAR_CELT_MAGIC, ROAR_CELT_MAGIC_LEN) != ROAR_CELT_MAGIC_LEN ) 
Note: See TracChangeset for help on using the changeset viewer.