From b26661dae26fa7c5dcab1f0c3bee9d96e67b7b0c Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Thu, 18 Mar 2010 21:34:27 +0000 Subject: [PATCH] * Add LPCM MIME to extension conversion. --- upnpsoap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/upnpsoap.c b/upnpsoap.c index db23365..4d479a7 100644 --- a/upnpsoap.c +++ b/upnpsoap.c @@ -227,6 +227,8 @@ mime_to_ext(const char * mime, char * buf) strcpy(buf, "flac"); else if( strcmp(mime+6, "x-wav") == 0 ) strcpy(buf, "wav"); + else if( strncmp(mime+6, "L16", 3) == 0 ) + strcpy(buf, "pcm"); else strcpy(buf, "dat"); break;