GithubHelp home page GithubHelp logo

Comments (4)

th0ma7 avatar th0ma7 commented on May 28, 2024

The following solves my issue:

diff --git ./cbits/webrtc/typedefs.h ./cbits/webrtc/typedefs.h
index 51d8992..8286eca 100644
--- cbits/webrtc/typedefs.h
+++ cbits/webrtc/typedefs.h
@@ -47,6 +47,13 @@
 #elif defined(__pnacl__)
 #define WEBRTC_ARCH_32_BITS
 #define WEBRTC_ARCH_LITTLE_ENDIAN
+#elif defined(__PPC__)
+#if defined(__PPC64__)
+#define WEBRTC_ARCH_64_BITS
+#else
+#define WEBRTC_ARCH_32_BITS
+#endif
+#define WEBRTC_ARCH_BIG_ENDIAN
 #else
 #error Please add support for your architecture in typedefs.h
 #endif

from py-webrtcvad.

th0ma7 avatar th0ma7 commented on May 28, 2024

Also tried passing CFLAGS directly such as -D__PPC64__ -DWEBRTC_ARCH_64_BITS -DWEBRTC_ARCH_BIG_ENDIAN but that doesn't work. Only modifying the typedefs.h seems to work.

from py-webrtcvad.

th0ma7 avatar th0ma7 commented on May 28, 2024

I just noticed, all the code is good to go and already in this repository! 3bd7613

Its just need another release to happen :)

@wiseman would it be possible to release a new version of the code as it already contains the fixes. Also making it available to pypi repository as well? Thnx in advance and happy holiday!

from py-webrtcvad.

th0ma7 avatar th0ma7 commented on May 28, 2024

Modifying my requirements.txt file as a workaround solves the issue until a new version gets released.

# webrtcvad==2.0.10           # requires unreleased version at specific commit
git+https://github.com/wiseman/py-webrtcvad@3bd761332a9404f5c9276105070ee814c4428342#egg=webrtcvad

from py-webrtcvad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.