Add DSD file support
* add mimetype audio/x-dsd (.dsf/.dff) * add id3tag and fileinfo support (only .dsf)
This commit is contained in:
committed by
Justin Maggard
parent
ade51e9c94
commit
799e6cf505
@ -111,6 +111,8 @@ char *winamp_genre[] = {
|
||||
#include "tagutils-asf.h"
|
||||
#include "tagutils-wav.h"
|
||||
#include "tagutils-pcm.h"
|
||||
#include "tagutils-dsf.h"
|
||||
#include "tagutils-dff.h"
|
||||
|
||||
static int _get_tags(char *file, struct song_metadata *psong);
|
||||
static int _get_fileinfo(char *file, struct song_metadata *psong);
|
||||
@ -127,16 +129,18 @@ typedef struct {
|
||||
} taghandler;
|
||||
|
||||
static taghandler taghandlers[] = {
|
||||
{ "aac", _get_aactags, _get_aacfileinfo },
|
||||
{ "mp3", _get_mp3tags, _get_mp3fileinfo },
|
||||
{ "flc", _get_flctags, _get_flcfileinfo },
|
||||
{ "aac", _get_aactags, _get_aacfileinfo },
|
||||
{ "mp3", _get_mp3tags, _get_mp3fileinfo },
|
||||
{ "flc", _get_flctags, _get_flcfileinfo },
|
||||
#ifdef HAVE_VORBISFILE
|
||||
{ "ogg", 0, _get_oggfileinfo },
|
||||
{ "ogg", NULL, _get_oggfileinfo },
|
||||
#endif
|
||||
{ "asf", 0, _get_asffileinfo },
|
||||
{ "wav", _get_wavtags, _get_wavfileinfo },
|
||||
{ "pcm", 0, _get_pcmfileinfo },
|
||||
{ NULL, 0 }
|
||||
{ "asf", NULL, _get_asffileinfo },
|
||||
{ "wav", _get_wavtags, _get_wavfileinfo },
|
||||
{ "pcm", NULL, _get_pcmfileinfo },
|
||||
{ "dsf", _get_dsftags, _get_dsffileinfo },
|
||||
{ "dff", NULL, _get_dfffileinfo },
|
||||
{ NULL, NULL, NULL }
|
||||
};
|
||||
|
||||
|
||||
@ -153,6 +157,8 @@ static taghandler taghandlers[] = {
|
||||
#include "tagutils-wav.c"
|
||||
#include "tagutils-pcm.c"
|
||||
#include "tagutils-plist.c"
|
||||
#include "tagutils-dsf.c"
|
||||
#include "tagutils-dff.c"
|
||||
|
||||
//*********************************************************************************
|
||||
// freetags()
|
||||
|
Reference in New Issue
Block a user