[COMMIT] Several patches applied

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[COMMIT] Several patches applied

Pieter Palmers
I applied several patches that have been floating around long enough now...

* Port name munge patch (Nedko)
* Fix for nonzero return values (Me)
* jack_lsp filter argument (Ken)

so now we have jack 0.108.1.

Greets,

Pieter


SVN log:
------------------------------------------------------------------------
r1071 | pieterpalmers | 2007-12-28 21:10:41 +0100 (Fri, 28 Dec 2007) |
19 lines

Commit of Aug 26, 2007 patch by Nedko Arnaudov.

Description:

In r1051 jack_engine_munge_backend_port_names() is being called during
startup. ALSA raw midi backend does port discovery in dynamic way and
thus midi ports appear after call to
jack_engine_munge_backend_port_names() and thus are not munged.

This patch contains:

  * munge during port registration not during startup. It is done only
    for internal clients. MIDI ports are midi_capture_N and
    midi_playback_N in order to not interfere with audio port names.
  * ALSA backend name is changed from "alsa_pcm" to "ALSA"
  * engine->driver is initialized before call to driver attach() method
    to make munge during port registration work during startup.


------------------------------------------------------------------------
r1072 | pieterpalmers | 2007-12-28 22:14:04 +0100 (Fri, 28 Dec 2007) | 3
lines

update the munge fix to not use static variables.


------------------------------------------------------------------------
r1073 | pieterpalmers | 2007-12-28 22:16:04 +0100 (Fri, 28 Dec 2007) | 3
lines

Fix bad behavior when jack clients return a nonzero value in their
process callback. (as reported by Rui and Fernando)


------------------------------------------------------------------------
r1074 | pieterpalmers | 2007-12-28 22:34:40 +0100 (Fri, 28 Dec 2007) |
19 lines

Adapted and applied jack_lsp filter patch by Ken Restivo.

Original message:

jack_lsp -c  is great for showing all connections, but I needed a way to
to filter out just those that were connected to a particular
device.

"grep -v" isn't sufficient when using "jack_lsp -c", because the
connected devices aren't on the same line as what tey are connected
to. So, rather than make the shell script really complicated, or the
output of jack_lsp really ugly, I patched jack_lsp to add a
"filter" feature.

I needed this so that I could write a shell script that does "jack_lsp
-c alsa_pcm:playback_2" to get a list of everything that is
connected to that port, and then it can jack_disconnect those (or some
of those) and then jack_connect them to another device.

I doubt that anyone else would need this feature, but, just in case,
here it is.

-ken


------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel