Skip to content
Browse files

[rbp] fixed acbfa94 the asm works on ARM NEON and VFP. thx Cory

  • Loading branch information...
1 parent 8b6af54 commit 0de0af675128201bf7139f3214b11a0acfc27ca6 @huceke committed Aug 15, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 xbmc/cores/AudioEngine/Utils/AEConvert.cpp
View
4 xbmc/cores/AudioEngine/Utils/AEConvert.cpp
@@ -156,7 +156,7 @@ unsigned int CAEConvert::S16LE_Float(uint8_t* data, const unsigned int samples,
{
static const float mul = 1.0f / (INT16_MAX + 0.5f);
-#if defined(__ARM_NEON__)
+#if defined(__ARM_NEON__) || defined(__VFP_FP__)
for (unsigned int i = 0; i < samples; i++)
{
__asm__ __volatile__ (
@@ -187,7 +187,7 @@ unsigned int CAEConvert::S16BE_Float(uint8_t* data, const unsigned int samples,
{
static const float mul = 1.0f / (INT16_MAX + 0.5f);
-#if defined(__ARM_NEON__)
+#if defined(__ARM_NEON__) || defined(__VFP_FP__)
for (unsigned int i = 0; i < samples; i++)
{
__asm__ __volatile__ (

0 comments on commit 0de0af6

Please sign in to comment.
Something went wrong with that request. Please try again.