All of lore.kernel.org
 help / color / mirror / Atom feed
* pcm_jack and jack chicken-and-egg situation
@ 2003-03-05  0:02 Bob Ham
  2003-03-05  9:03 ` Takashi Iwai
  2003-03-05  9:11 ` Maarten de Boer
  0 siblings, 2 replies; 4+ messages in thread
From: Bob Ham @ 2003-03-05  0:02 UTC (permalink / raw)
  To: alsa-devel

Hi all,

The new pcm_jack thing presents a bit of a chicken and egg problem; I
just compiled alsa-lib twice because jack depends on alsa-lib and if you
configure alsa-lib with jack support, it depends on jack.  Would it be
possible for pcm_jack to be distributed seperately?

Cheers,

Bob

-- 
Bob Ham <rah@bash.sh>



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pcm_jack and jack chicken-and-egg situation
  2003-03-05  0:02 pcm_jack and jack chicken-and-egg situation Bob Ham
@ 2003-03-05  9:03 ` Takashi Iwai
  2003-03-05  9:11 ` Maarten de Boer
  1 sibling, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2003-03-05  9:03 UTC (permalink / raw)
  To: Bob Ham; +Cc: alsa-devel

At 05 Mar 2003 00:02:30 +0000,
Bob Ham wrote:
> 
> Hi all,
> 
> The new pcm_jack thing presents a bit of a chicken and egg problem; I
> just compiled alsa-lib twice because jack depends on alsa-lib and if you
> configure alsa-lib with jack support, it depends on jack.

yep.

> Would it be
> possible for pcm_jack to be distributed seperately?

or it wouldn't be bad to have an alsa-lib-plugin SDK.
we don't have to implement all plugin objs in libasound.so.


Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pcm_jack and jack chicken-and-egg situation
  2003-03-05  0:02 pcm_jack and jack chicken-and-egg situation Bob Ham
  2003-03-05  9:03 ` Takashi Iwai
@ 2003-03-05  9:11 ` Maarten de Boer
  2003-03-05  9:49   ` Takashi Iwai
  1 sibling, 1 reply; 4+ messages in thread
From: Maarten de Boer @ 2003-03-05  9:11 UTC (permalink / raw)
  To: alsa-devel

Bob Ham <rah@bash.sh> wrote:
> The new pcm_jack thing presents a bit of a chicken and egg problem; I
> just compiled alsa-lib twice because jack depends on alsa-lib and if you
> configure alsa-lib with jack support, it depends on jack.  Would it be
> possible for pcm_jack to be distributed seperately?

Hi Bob,

That's indeed a problem I did not realize... And there is an another,
related problem, which is that with binary distributions, you have 
to either distribute to versions, one linked against jack and one not
linked against jack.

The ALSA plugin's are all compiled into the library. It would indeed be
nice if each plugin would be a seperate shared object. Maybe Jaroslav
has concrete objections against this? Anyway, it would represent quite
a bit of change to the code, which I suppose just before 0.9.0 final
is not the best moment.. 

Another solution would be not to link against jack, but use the dynamic
linker loader (dlopen, dlsym). This would require to link against libdl,
but I suppose that that is okay.

Maarten






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pcm_jack and jack chicken-and-egg situation
  2003-03-05  9:11 ` Maarten de Boer
@ 2003-03-05  9:49   ` Takashi Iwai
  0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2003-03-05  9:49 UTC (permalink / raw)
  To: Maarten de Boer; +Cc: alsa-devel

At Wed, 5 Mar 2003 10:11:57 +0100,
Maarten de Boer wrote:
> 
> Bob Ham <rah@bash.sh> wrote:
> > The new pcm_jack thing presents a bit of a chicken and egg problem; I
> > just compiled alsa-lib twice because jack depends on alsa-lib and if you
> > configure alsa-lib with jack support, it depends on jack.  Would it be
> > possible for pcm_jack to be distributed seperately?
> 
> Hi Bob,
> 
> That's indeed a problem I did not realize... And there is an another,
> related problem, which is that with binary distributions, you have 
> to either distribute to versions, one linked against jack and one not
> linked against jack.
> 
> The ALSA plugin's are all compiled into the library. It would indeed be
> nice if each plugin would be a seperate shared object.

you can specify the so file and the function name via pcm_type
definition:

	pcm_type.foo {
		comment foo type plugin
		lib /usr/lib/libfoo.so
		open my_foo_open
	}


Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-03-05  9:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-05  0:02 pcm_jack and jack chicken-and-egg situation Bob Ham
2003-03-05  9:03 ` Takashi Iwai
2003-03-05  9:11 ` Maarten de Boer
2003-03-05  9:49   ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.