diff options
author | Max Kellermann <max@duempel.org> | 2014-11-22 23:18:07 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-11-22 23:50:21 +0100 |
commit | c643b6ff167fbd0b6fead4bee38a2b498ee611a7 (patch) | |
tree | 87abf17c65755134fb1c4b54a5e8ccc67ee99316 /src/decoder/plugins/DsfDecoderPlugin.cxx | |
parent | b3f5b4932c360efef696f7db112766c63b1de389 (diff) | |
download | mpd-c643b6ff167fbd0b6fead4bee38a2b498ee611a7.tar.gz mpd-c643b6ff167fbd0b6fead4bee38a2b498ee611a7.tar.xz mpd-c643b6ff167fbd0b6fead4bee38a2b498ee611a7.zip |
configure.ac: add macro MPD_ENABLE_AUTO_PKG_LIB
Diffstat (limited to '')
-rw-r--r-- | src/decoder/plugins/DsfDecoderPlugin.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/decoder/plugins/DsfDecoderPlugin.cxx b/src/decoder/plugins/DsfDecoderPlugin.cxx index 690616d15..b8ae837f7 100644 --- a/src/decoder/plugins/DsfDecoderPlugin.cxx +++ b/src/decoder/plugins/DsfDecoderPlugin.cxx @@ -47,7 +47,7 @@ struct DsfMetaData { unsigned sample_rate, channels; bool bitreverse; offset_type n_blocks; -#ifdef HAVE_ID3TAG +#ifdef ENABLE_ID3TAG offset_type id3_offset; #endif }; @@ -111,7 +111,7 @@ dsf_read_metadata(Decoder *decoder, InputStream &is, if (sizeof(dsf_header) != chunk_size) return false; -#ifdef HAVE_ID3TAG +#ifdef ENABLE_ID3TAG const offset_type metadata_offset = dsf_header.pmeta.Read(); #endif @@ -174,7 +174,7 @@ dsf_read_metadata(Decoder *decoder, InputStream &is, metadata->n_blocks = data_size / block_size; metadata->channels = channels; metadata->sample_rate = samplefreq; -#ifdef HAVE_ID3TAG +#ifdef ENABLE_ID3TAG metadata->id3_offset = metadata_offset; #endif /* check bits per sample format, determine if bitreverse is needed */ @@ -352,7 +352,7 @@ dsf_scan_stream(InputStream &is, audio_format.sample_rate); tag_handler_invoke_duration(handler, handler_ctx, songtime); -#ifdef HAVE_ID3TAG +#ifdef ENABLE_ID3TAG /* Add available tags from the ID3 tag */ dsdlib_tag_id3(is, handler, handler_ctx, metadata.id3_offset); #endif |