Changeset 2193:78e5b51e6117 in roaraudio for libroardsp
- Timestamp:
- 07/26/09 22:57:55 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroardsp/transcode_celt.c
r2192 r2193 27 27 #ifdef ROAR_HAVE_LIBCELT 28 28 29 #define 16BIT (16/8)29 #define _16BIT (16/8) 30 30 31 31 int roar_xcoder_celt_init (struct roar_xcoder * state) { … … 101 101 return -1; 102 102 103 if ( len != self->frame_size * 16BIT * state->info.pcm.channels )103 if ( len != self->frame_size * _16BIT * state->info.pcm.channels ) 104 104 return -1; 105 105 106 if ( state->sta te == ROAR_XCODER_STAGE_INITED ) {106 if ( state->stage == ROAR_XCODER_STAGE_INITED ) { 107 107 if ( roar_vio_write(state->backend, ROAR_CELT_MAGIC, ROAR_CELT_MAGIC_LEN) != ROAR_CELT_MAGIC_LEN ) 108 108 return -1;
Note: See TracChangeset
for help on using the changeset viewer.