Code Monkey home page Code Monkey logo

Comments (4)

badaix avatar badaix commented on June 15, 2024

Please try v0.17.1.3
The log tag for errors changed from Err to Error in latest Snapclient, and so Snapdroid didn't parse the error messages correctly.
When using 24 bit on my phone, I now get the error message

Controller::onException: Init failed, operation: Engine::CreateAudioPlayer, result: SL_RESULT_CONTENT_UNSUPPORTED(9)

which simply means that the (24 bit) content is not supported by the DAC.

from snapdroid.

jbfunk avatar jbfunk commented on June 15, 2024

Thank you so much for so quickly following-up on this and releasing a fix. I now have the same error behavior as you describe.

Are there any plans to perhaps implement conversion of the bit depth down to 16 from 24 (or higher) on Android in the future (even if it's just truncation or rounding)? I know this is handled via, eg, ALSA on linux and not by Snapclient itself, but practically speaking I would like to be able to have just one higher bit-depth stream rather than both a 24-bit and 16-bit version.

Thanks again.

from snapdroid.

badaix avatar badaix commented on June 15, 2024

Actually, I'm planning to add resampling capabilities into the v0.19 (v0.18 is will be released soon). I've already a prototype using lobsoxr to resample the audio signal to the "native samplerate". Libsoxr can not only resample but can also requantize to 16 bit.

from snapdroid.

jbfunk avatar jbfunk commented on June 15, 2024

Thanks--looking forward to it. Nice to be using libsoxr also as it seems like it's a quite high quality resampler.

from snapdroid.

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.