On Tue, Jan 28, 2014 at 11:30:41AM -0600, franklyn berry wrote:

<powerpc: ubuntu 12.04; opus-1.1; jack-1.9.9.5; ffado-2.1>

I assume it's a hand-rolled jackd. If so, I remember a Debian bug report
claiming the same alignment issue on ppc32 as seen on ARM:

    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=728710

No guarantees, but maybe the following patch helps (also attached to
prevent corruption when displayed in web interfaces).


Please report back any findings.


diff --git a/common/jack/systemdeps.h b/common/jack/systemdeps.h
index b4a1472..0b5a749 100644
--- a/common/jack/systemdeps.h
+++ b/common/jack/systemdeps.h
@@ -120,7 +120,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

 #endif /* __APPLE__ || __linux__ || __sun__ || sun */

-#if defined(__arm__)
+#if defined(__arm__) || defined(__ppc__) || defined(__powerpc__)
     #undef POST_PACKED_STRUCTURE
     #define POST_PACKED_STRUCTURE
 #endif /* __arm__ */



--
mail: a...@thur.de      http://adi.thur.de      PGP/GPG: key via keyserver

diff --git a/common/jack/systemdeps.h b/common/jack/systemdeps.h
index b4a1472..0b5a749 100644
--- a/common/jack/systemdeps.h
+++ b/common/jack/systemdeps.h
@@ -120,7 +120,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 #endif /* __APPLE__ || __linux__ || __sun__ || sun */
 
-#if defined(__arm__)
+#if defined(__arm__) || defined(__ppc__) || defined(__powerpc__)
     #undef POST_PACKED_STRUCTURE
     #define POST_PACKED_STRUCTURE
 #endif /* __arm__ */

Reply via email to