* Add PCM support, assuming defaults of 44.1K and 2 channels.

This commit is contained in:
Justin Maggard
2009-10-12 21:07:14 +00:00
parent f3d9805d7b
commit ecec767f17
5 changed files with 82 additions and 1 deletions

View File

@ -106,6 +106,7 @@ char *winamp_genre[] = {
#include "tagutils-flc.h"
#include "tagutils-asf.h"
#include "tagutils-wav.h"
#include "tagutils-pcm.h"
static int _get_tags(char *file, struct song_metadata *psong);
static int _get_fileinfo(char *file, struct song_metadata *psong);
@ -128,6 +129,7 @@ static taghandler taghandlers[] = {
{ "ogg", 0, _get_oggfileinfo },
{ "asf", 0, _get_asffileinfo },
{ "wav", _get_wavtags, _get_wavfileinfo },
{ "pcm", 0, _get_pcmfileinfo },
{ NULL, 0 }
};
@ -141,6 +143,7 @@ static taghandler taghandlers[] = {
#include "tagutils-flc.c"
#include "tagutils-asf.c"
#include "tagutils-wav.c"
#include "tagutils-pcm.c"
//*********************************************************************************
// freetags()