* Don't call WAV files LPCM, because they're disqualified due to endianness.
This commit is contained in:
11
upnpsoap.c
11
upnpsoap.c
@ -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);
|
||||
|
Reference in New Issue
Block a user