From 77611e514527d8ba4462eed03accad84bef49dbb Mon Sep 17 00:00:00 2001 From: beveloper Date: Mon, 22 Dec 2003 21:32:15 +0000 Subject: [PATCH] small hack to support mp3 in wav git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5731 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/media/FormatManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/servers/media/FormatManager.cpp b/src/servers/media/FormatManager.cpp index 1219b4350e..ad46982dff 100644 --- a/src/servers/media/FormatManager.cpp +++ b/src/servers/media/FormatManager.cpp @@ -66,6 +66,7 @@ FormatManager::GetDescriptionForFormat(media_format_description *out_description out_description->family = B_META_FORMAT_FAMILY; switch (in_format.u.encoded_audio.encoding) { + case B_WAV_FORMAT_FAMILY: case B_MPEG_FORMAT_FAMILY: strcpy(out_description->u.meta.description, "audiocodec/mpeg1layer3"); break;