Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[rbp] AE enable rapsberrypi and disable asm in converter

  • Loading branch information...
commit 14a4011f3a3f36ea6252ab09985757b18a984217 1 parent 5dda4e6
@huceke huceke authored
View
4 xbmc/cores/AudioEngine/AEFactory.cpp
@@ -115,10 +115,6 @@ void CAEFactory::UnLoadEngine()
bool CAEFactory::StartEngine()
{
-#if defined(TARGET_RASPBERRY_PI)
- return true;
-#endif
-
if (!AE)
return false;
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);
-#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__ (
Please sign in to comment.
Something went wrong with that request. Please try again.