Re: [Jack-Devel] Ports vs Channels in JACK

PrevNext  Index
DateMon, 16 Nov 2015 08:29:47 -0500
From Paul Davis <[hidden] at linuxaudiosystems dot com>
ToChris Caudle <[hidden] at chriscaudle dot org>
CcJACK <[hidden] at lists dot jackaudio dot org>
In-Reply-ToChris Caudle Re: [Jack-Devel] Ports vs Channels in JACK
On Sun, Nov 15, 2015 at 8:56 PM, Chris Caudle <[hidden]> wrote:

> On Sun, November 15, 2015 7:03 pm, Hai Nguyen wrote:
> > I was wondering what kind of mapping there is between say L and
> > R channels and JACK ports? Or does a mapping even exists?
>
> Think of jackd like a patchbay for audio.  From the jack standpoint there
> are only incoming audio ports and outgoing audio ports, any meaning
> assigned to those ports like left, right, is up to you.
>

all true, although a port's flags do provide some indications:

     IsTerminal: this port represents the "edge" of JACK: data delivered or
received here
        comes from or goes to "outside" JACK
     IsPhysical: this port represents a hardware audio channel

there is also a metadata API that allows arbitrary information to be
associated with ports. Unfortunately, it has only been implemented for
JACK1 at this time.
PrevNext  Index

1447680596.1335_0.ltw:2, <CAFa_cKnz7ehfQcpHMiFStwzJ8eEUbT_o+3V=5dDb4LhfkL_tBQ at mail dot gmail dot com>