mirror of
https://github.com/taglib/taglib.git
synced 2026-02-13 19:53:06 -05:00
Add DSF and DSDIFF file types management (#878)
* Add DSF and DSDIFF file types management * Fixes for some build chains * unit64_t replaced by unsigned long long, warning fixes * Remove C++11 extension incompatible with some build chains (enumeration in a nested name specifier) * Change typedef types (uint, ulong, ...) to standard types remove BUILD_FRAMEWORK changes from this pull request * Replace deprecated String::null and ByteVector::null by String() and ByteVector() Styling update, thanks to FestusHagen * Restyling * Restyling to reduce length of excessively long lines * Add to detectByExtension * Added `isSupported(IOStream *stream)` to `DSF::File` and `DSDIFF::File`
This commit is contained in:
committed by
Stephen F. Booth
parent
bfed3797a0
commit
d71398c953
@ -38,6 +38,8 @@
|
||||
#include "vorbisproperties.h"
|
||||
#include "wavproperties.h"
|
||||
#include "wavpackproperties.h"
|
||||
#include "dsfproperties.h"
|
||||
#include "dsdiffproperties.h"
|
||||
|
||||
#include "audioproperties.h"
|
||||
|
||||
@ -73,6 +75,10 @@ using namespace TagLib;
|
||||
return dynamic_cast<const Vorbis::Properties*>(this)->function_name(); \
|
||||
else if(dynamic_cast<const WavPack::Properties*>(this)) \
|
||||
return dynamic_cast<const WavPack::Properties*>(this)->function_name(); \
|
||||
else if(dynamic_cast<const DSF::Properties*>(this)) \
|
||||
return dynamic_cast<const DSF::Properties*>(this)->function_name(); \
|
||||
else if(dynamic_cast<const DSDIFF::Properties*>(this)) \
|
||||
return dynamic_cast<const DSDIFF::Properties*>(this)->function_name(); \
|
||||
else \
|
||||
return (default_value);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user