Giter Site home page Giter Site logo

Some methods missing about weakjack HOT 5 CLOSED

jcelerier avatar jcelerier commented on June 27, 2024
Some methods missing

from weakjack.

Comments (5)

x42 avatar x42 commented on June 27, 2024

jack_port_get_latency is deprecated and also does not work properly with recent jackd and most jack apps that have a latency callback. prefer jack_port_get_latency_range. Is there an application that needs it?

from weakjack.

jcelerier avatar jcelerier commented on June 27, 2024

it's what's used in portaudio's JACK implementation (https://app.assembla.com/spaces/portaudio/git/source/master/src/hostapi/jack/pa_jack.c#ln598)

from weakjack.

x42 avatar x42 commented on June 27, 2024

that code would actually benefit from the new API. portaudio internals do match jack's jack_port_get_latency_range API: min/max and capture/playback can be directly used to set all of
defaultLowOutputLatency, defaultHighOutputLatency , defaultLowInputLatency, defaultHighInputLatency (currently only input latency is set)

Anyway, what's the use-case of using weakjack for pulseaudio's jack-sink?

from weakjack.

jcelerier avatar jcelerier commented on June 27, 2024

I'm hitting this bug in jack on windows: jackaudio/jack2#275 and wanted to try to update pa_jack.c to use weak_jack.
But actually, just using the JACK api directly from my own code seems to be much easier.

(note: I'm talking about portaudio, not pulseaudio)

from weakjack.

x42 avatar x42 commented on June 27, 2024

+1 for using the JACK API directly!

from weakjack.

Related Issues (4)

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.