Changeset 2923:8ea2211037fa in roaraudio for libroardsp/transcode_speex.c
- Timestamp:
- 10/16/09 17:56:34 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroardsp/transcode_speex.c
r2914 r2923 136 136 } 137 137 138 int roar_xcoder_speex_proc_header(struct roar_xcoder * state) { 139 struct roar_xcoder_speex * self = state->inst; 140 141 // we do allready open streams not considder an error. 142 if ( state->stage == ROAR_XCODER_STAGE_OPENED ) 143 return 0; 144 145 // everything else expected an INITED stream (OPENING, MAGIC,..) 146 // is an error... 147 if ( state->stage != ROAR_XCODER_STAGE_INITED ) 148 return -1; 149 150 if ( state->encode ) { 151 } else { 152 } 153 154 // on no error... 155 return 0; 156 } 157 138 158 int roar_xcoder_speex_encode (struct roar_xcoder * state, void * buf, size_t len) { 139 159 struct roar_xcoder_speex * self = state->inst;
Note: See TracChangeset
for help on using the changeset viewer.