Changeset 1493:405133c68d28 in roaraudio for roard/codecfilter_vorbis.c
- Timestamp:
- 03/31/09 19:58:23 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/codecfilter_vorbis.c
r1239 r1493 246 246 247 247 int cf_vorbis_update_stream (struct codecfilter_vorbis_inst * self) { 248 #ifdef ROAR_SUPPORT_META 248 249 vorbis_info *vi = ov_info(&(self->vf), -1); 249 250 char **ptr = ov_comment(&(self->vf), -1)->user_comments; … … 323 324 324 325 stream_meta_finalize(s->id); 326 #endif 325 327 //printf("RPG: mul=%i, div=%i\n", self->stream->mixer.rpg_mul, self->stream->mixer.rpg_div); 326 328 return 0; … … 330 332 #ifdef ROAR_HAVE_LIBVORBISENC 331 333 int srn = self->encoder.srn; // this value is allrady inited... 334 #ifdef ROAR_SUPPORT_META 332 335 int len = 0; 333 336 int i; 334 337 int types[ROAR_META_MAX_PER_STREAM]; 338 #endif 335 339 int sid = ROAR_STREAM(self->stream)->id; 336 340 char val[LIBROAR_BUFFER_MSGDATA]; … … 348 352 vorbis_comment_add_tag(&(self->encoder.vc), "ENCODER", "RoarAudio Vorbis codecfilter"); 349 353 354 #ifdef ROAR_SUPPORT_META 350 355 if ( (len = stream_meta_list(sid, types, ROAR_META_MAX_PER_STREAM)) != -1 ) { 351 356 for (i = 0; i < len; i++) { … … 355 360 } 356 361 } 362 #endif 357 363 358 364 if( vorbis_encode_init_vbr(&(self->encoder.vi), (long) ROAR_STREAM(self->stream)->info.channels,
Note: See TracChangeset
for help on using the changeset viewer.