[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-datatype-dev
Subject: [datatype-dev] Re: CR: Fix for Bug 9915 a particular mp3 file
From: Gurpreet <gahluwalia () real ! com>
Date: 2009-12-28 6:13:47
Message-ID: 4B3849CB.4040901 () real ! com
[Download RAW message or body]
This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.
Forgot to attach diff.
PFA.
Thanks,
Gurpreet
Gurpreet wrote:
> Synopsis:
> Fix for Bug 9915 a particular mp3 file cannot be played
>
> Overview:
> This particular mp3 file mentioned in the bug is not recognized by the
> android player.
> Reason for that is:
> Frame Sync bits are at position 16128 where as we check till 512.
> There fore for android we have increased the scan bytes value to 16 KB.
>
> Files Modified:
> /common/system/recognizer.cpp
>
> Image Size and Heap Use impact (Client -Only):
> None
>
> Platforms and Profiles Build Verified:
> BIF branch -> atlas 310, atlas 361, brizo 401, head
> Target(s) -> android_all
> Profile -> helix-client-android-surf_8x50
> SYSTEM_ID -> android-donut-arm.eabi
>
> Files Attached::
> common.diff
>
> Thanks & Best Regards,
> Gurpreet
>
["common.diff" (text/plain)]
Index: recognizer.cpp
===================================================================
RCS file: /cvsroot/common/system/recognizer.cpp,v
retrieving revision 1.12.8.4.2.7
diff -u -r1.12.8.4.2.7 recognizer.cpp
--- recognizer.cpp 6 Nov 2009 18:12:03 -0000 1.12.8.4.2.7
+++ recognizer.cpp 28 Dec 2009 05:47:09 -0000
@@ -26,7 +26,11 @@
#define HX_MIMETYPE_AMR "audio/amr"
// length of buffer read from file and passed to recognizer
+#if defined(ANDROID)
+static const int KRecogLength = 16384;
+#else
static const int KRecogLength = 512;
+#endif
#if !defined (_SYMBIAN)
HX_RESULT CHXFileRecognizer::GetMimeType(const char* pFileName, IHXBuffer* pBuffer, \
REF(IHXBuffer*) pMimeType)
_______________________________________________
Datatype-dev mailing list
Datatype-dev@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic