Git Product home page Git Product logo

play-audio's People

Contributors

fornwall avatar grimler91 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

play-audio's Issues

Package is compiled for arm64

So I cannot run it on my armv7l device:

u0_a159@localhost:~$ play-audio Word\ Crimes.mp3
/data/data/com.termux/files/usr/libexec/play-audio: 1: /data/data/com.termux/files/usr/libexec/play-audio: �ELF��: not found
/data/data/com.termux/files/usr/libexec/play-audio: 4: /data/data/com.termux/files/usr/libexec/play-audio: Syntax error: "(" unexpected
u0_a159@localhost:~$ $PREFIX/libexec/play-audio
bash: /data/data/com.termux/files/usr/libexec/play-audio: cannot execute binary file: Exec format error
u0_a159@localhost:~$ file !!
file $PREFIX/libexec/play-audio
/data/data/com.termux/files/usr/libexec/play-audio: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /system/bin/linker64, not stripped
u0_a159@localhost:~$

Play audio from a file

Hello,

Is it possible to adapt your code to play an audio from a wav or mp3 file by passing the path ?

Thanks

Compiling from Termux?

Is it possible to compile this from Termux directly? I have tried doing so, but I get a ton of "undefined reference" errors from libraries in /system/lib.

Ultimately, I would like to use OpenSL to build and run little realtime audio apps on my android device.

Thanks,

-P

Start at time request

I know there's an effort to get pulse audio working in the meantime, but if we can get this one option, a wrapper can be written to make a media player with this function.

I was thinking something like play-audio +1:39 somefile.mp3

I would program it myself, but I don't have a computer to sit at and I saw there are errors compiling the player in Termux.

SL_PREFETCHSTATUS_UNDERFLOW after playing sounds

Hello,

I integrated this code on my project and I'm playing some sounds depending on events.
I added a threadpool implementation to make the song playing asynchronous.
It works, but after some sound plays I get "play-audio: underflow when prefetching data" from the opensl_prefetch_callback(SLPrefetchStatusItf caller, void *pContext, SLuint32 event) callback ?
Please can you explain me what does that mean ?

HOW TO CONTROL

I have successfully played the required mp3 file but how to stop the file and how to make all audio controls

how to change volume

In my android phone the default volume steps are 15. Can i finer control volumne using play-audio. Or is there any package which can control volume easily from command line and more precisely

Library not found

I got an error when
$ play-audio foo.mp3
CANNOT LINK EXECUTABLE DEPENDENCIES: library "libc++_shared.so" not found

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.