Permalink
Browse files

[rbp] AE enable rapsberrypi and disable asm in converter

  • Loading branch information...
1 parent 5dda4e6 commit 14a4011f3a3f36ea6252ab09985757b18a984217 @huceke huceke committed Aug 10, 2012
Showing with 2 additions and 6 deletions.
  1. +0 −4 xbmc/cores/AudioEngine/AEFactory.cpp
  2. +2 −2 xbmc/cores/AudioEngine/Utils/AEConvert.cpp
@@ -115,10 +115,6 @@ void CAEFactory::UnLoadEngine()
bool CAEFactory::StartEngine()
{
-#if defined(TARGET_RASPBERRY_PI)
- return true;
-#endif
-
if (!AE)
return false;
@@ -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);
-#ifdef __arm__
+#ifdef __arm__ && !defined(TARGET_RASPBERRY_PI)
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);
-#ifdef __arm__
+#ifdef __arm__ && !defined(TARGET_RASPBERRY_PI)
for (unsigned int i = 0; i < samples; i++)
{
__asm__ __volatile__ (

0 comments on commit 14a4011

Please sign in to comment.