* Don't call WAV files LPCM, because they're disqualified due to endianness.

This commit is contained in:
Justin Maggard
2009-08-10 21:16:53 +00:00
parent d249992cc4
commit f259479ecf
5 changed files with 6 additions and 37 deletions

View File

@ -587,17 +587,6 @@ callback(void *args, int argc, char **argv, char **azColName)
strcpy(mime+6, "flac");
}
}
else if( strncmp(mime+6, "L16", 3) == 0 )
{
if( !(passed_args->flags & FLAG_DLNA) || (passed_args->flags & FLAG_MIME_WAV_WAV) )
{
strcpy(mime+6, "x-wav");
}
if( !(passed_args->flags & FLAG_DLNA) || (passed_args->flags & FLAG_WAV_NO_DLNA) )
{
strcpy(dlna_buf, "*");
}
}
}
ret = snprintf(str_buf, 512, "<item id=\"%s\" parentID=\"%s\" restricted=\"1\"", id, parent);