Changeset 4600:22178628ad1d in roaraudio for roard/codecfilter_flac.c
- Timestamp:
- 11/10/10 04:47:08 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/codecfilter_flac.c
r4595 r4600 207 207 } 208 208 209 #ifndef ROAR_HAVE_FLAC_VERSION_1_2_1 209 210 FLAC__stream_decoder_set_read_callback(self->decoder.decoder, cf_flac_cb_read); 210 211 FLAC__stream_decoder_set_write_callback(self->decoder.decoder, cf_flac_cb_write); … … 212 213 FLAC__stream_decoder_set_error_callback(self->decoder.decoder, cf_flac_cb_error); 213 214 FLAC__stream_decoder_set_client_data(self->decoder.decoder, self); 215 #endif 214 216 215 217 FLAC__stream_decoder_set_metadata_respond(self->decoder.decoder, FLAC__METADATA_TYPE_VORBIS_COMMENT); 216 218 219 #ifdef ROAR_HAVE_FLAC_VERSION_1_2_1 220 FLAC__stream_decoder_init_stream(self->decoder.decoder, cf_flac_cb_read, NULL, NULL, NULL, NULL, cf_flac_cb_write, cf_flac_cb_metadata, cf_flac_cb_error, self); 221 #else 217 222 FLAC__stream_decoder_init(self->decoder.decoder); 223 #endif 218 224 219 225 *inst = self;
Note: See TracChangeset
for help on using the changeset viewer.