diff options
author | Phil Blundell <philb@gnu.org> | 2009-09-20 08:03:36 +0100 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2009-09-20 08:03:36 +0100 |
commit | f229a7876a539468c13d5feb0032c8d5c352175d (patch) | |
tree | 28383548a972b809b7b34cc5b8ba3039c846333c /recipes/pulseaudio | |
parent | 644aba0cd76b505929ceb8a916643b03665c1837 (diff) |
pulseaudio: turn off eleet a5m 0ptimiZ4ti0nZ in thumb mode
Diffstat (limited to 'recipes/pulseaudio')
-rw-r--r-- | recipes/pulseaudio/pulseaudio-0.9.15/sbc-thumb.patch | 11 | ||||
-rw-r--r-- | recipes/pulseaudio/pulseaudio_0.9.15.bb | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/recipes/pulseaudio/pulseaudio-0.9.15/sbc-thumb.patch b/recipes/pulseaudio/pulseaudio-0.9.15/sbc-thumb.patch new file mode 100644 index 0000000000..8a2bc84004 --- /dev/null +++ b/recipes/pulseaudio/pulseaudio-0.9.15/sbc-thumb.patch @@ -0,0 +1,11 @@ +--- f/src/modules/bluetooth/sbc_math.h~ 2008-03-05 20:18:03.000000000 +0000 ++++ f/src/modules/bluetooth/sbc_math.h 2008-10-27 13:39:27.000000000 +0000 +@@ -59,7 +59,7 @@ + + #define SBC_FIXED_0(val) { val = 0; } + #define MUL(a, b) ((a) * (b)) +-#ifdef __arm__ ++#if defined(__arm__) && !defined(__thumb__) + #define MULA(a, b, res) ({ \ + int tmp = res; \ + __asm__( \ diff --git a/recipes/pulseaudio/pulseaudio_0.9.15.bb b/recipes/pulseaudio/pulseaudio_0.9.15.bb index 639e449ccb..64ca916659 100644 --- a/recipes/pulseaudio/pulseaudio_0.9.15.bb +++ b/recipes/pulseaudio/pulseaudio_0.9.15.bb @@ -14,6 +14,7 @@ SRC_URI += "\ file://gettext.patch;patch=1 \ file://fixbluezbuild.patch;patch=1 \ file://tls_m4.patch;patch=1 \ + file://sbc-thumb.patch;patch=1 \ " do_compile_prepend() { |