Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [ALSA - plugins 0001445]: jackplug and oss
@ 2005-09-23 15:23 bugtrack
  0 siblings, 0 replies; 4+ messages in thread
From: bugtrack @ 2005-09-23 15:23 UTC (permalink / raw)
  To: alsa-devel


The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1445> 
======================================================================
Reported By:                FishB8
Assigned To:                
======================================================================
Project:                    ALSA - plugins
Issue ID:                   1445
Category:                   PCM - jack
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             09-23-2005 17:23 CEST
Last Modified:              09-23-2005 17:23 CEST
======================================================================
Summary:                    jackplug and oss
Description: 
I've tried setting up an asound.conf with a config for pcm.dsp0 so that I
can use aoss. No big deal. But then I thought it would be cool to set the
slave to pcm.jack. That way I could use aoss to route oss to jack using
alsa instead of some of the hacks out there that only work half the time.

No dice. It doesn't work. (Or at least I couldn't get it to work) Am I not
understanding how to do this correctly, or is this just not possible the
way things currently work?
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
09-23-05 17:23 FishB8         New Issue                                    
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php

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

* [ALSA - plugins 0001445]: jackplug and oss
@ 2005-09-24 14:58 bugtrack
  0 siblings, 0 replies; 4+ messages in thread
From: bugtrack @ 2005-09-24 14:58 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1445> 
======================================================================
Reported By:                FishB8
Assigned To:                
======================================================================
Project:                    ALSA - plugins
Issue ID:                   1445
Category:                   PCM - jack
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             09-23-2005 17:23 CEST
Last Modified:              09-24-2005 16:58 CEST
======================================================================
Summary:                    jackplug and oss
Description: 
I've tried setting up an asound.conf with a config for pcm.dsp0 so that I
can use aoss. No big deal. But then I thought it would be cool to set the
slave to pcm.jack. That way I could use aoss to route oss to jack using
alsa instead of some of the hacks out there that only work half the time.

No dice. It doesn't work. (Or at least I couldn't get it to work) Am I not
understanding how to do this correctly, or is this just not possible the
way things currently work?
======================================================================

----------------------------------------------------------------------
 b0ef - 09-24-05 16:58 
----------------------------------------------------------------------
You might try explaining a little more what "does not work" mean. What
happens?. What apps are you testing with?. What does your config file look
like?

Issue History
Date Modified  Username       Field                    Change              
======================================================================
09-23-05 17:23 FishB8         New Issue                                    
09-24-05 16:58 b0ef           Note Added: 0006371                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php

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

* [ALSA - plugins 0001445]: jackplug and oss
@ 2005-09-25 19:37 bugtrack
  0 siblings, 0 replies; 4+ messages in thread
From: bugtrack @ 2005-09-25 19:37 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1445> 
======================================================================
Reported By:                FishB8
Assigned To:                
======================================================================
Project:                    ALSA - plugins
Issue ID:                   1445
Category:                   PCM - jack
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             09-23-2005 17:23 CEST
Last Modified:              09-25-2005 21:37 CEST
======================================================================
Summary:                    jackplug and oss
Description: 
I've tried setting up an asound.conf with a config for pcm.dsp0 so that I
can use aoss. No big deal. But then I thought it would be cool to set the
slave to pcm.jack. That way I could use aoss to route oss to jack using
alsa instead of some of the hacks out there that only work half the time.

No dice. It doesn't work. (Or at least I couldn't get it to work) Am I not
understanding how to do this correctly, or is this just not possible the
way things currently work?
======================================================================

----------------------------------------------------------------------
 b0ef - 09-24-05 16:58 
----------------------------------------------------------------------
You might try explaining a little more what "does not work" mean. What
happens?. What apps are you testing with?. What does your config file look
like?

----------------------------------------------------------------------
 FishB8 - 09-25-05 21:37 
----------------------------------------------------------------------
The applications I try to run work fine when the dsp0 slave.pcm is set to
something like dmixer, but when I try assigning it to either jack or
jackplug, (and the jack daemon is running) the applications will start up
fine, but when I try to start playback they either segfault or do
nothing.

Alsa apps have no problem with the jack plugin. For instance if I change
pcm.!default to jackplug, alsa apps will route their IO to jack ports
without any problem.

Here's my current config:

pcm.!default {
	type plug
	slave.pcm "dmixer"
}

ctl.!default {
	type hw
	card 0
}



#Dmixer
pcm.dmixer  {
	type dmix
	ipc_key 1024
	slave {
	    pcm "hw:0,0"
	    period_size 1024
	    buffer_size 8192
	    rate 44100
	}
	bindings {
	    0 0
	    1 1
	}
}



#OSS to Dmixer
pcm.dsp0 {
	type plug
	slave.pcm "dmixer"
}



#JackPlug
pcm.jackplug {
	type plug
	slave.pcm "jack"
}

pcm.jack {
	type jack
	playback_ports {
 		0 alsa_pcm:playback_1
 		1 alsa_pcm:playback_2
 	}
 	capture_ports {
 		0 alsa_pcm:capture_1
		1 alsa_pcm:capture_2
	}
}

Issue History
Date Modified  Username       Field                    Change              
======================================================================
09-23-05 17:23 FishB8         New Issue                                    
09-24-05 16:58 b0ef           Note Added: 0006371                          
09-25-05 21:37 FishB8         Note Added: 0006388                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php

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

* [ALSA - plugins 0001445]: jackplug and oss
@ 2006-06-06  9:20 bugtrack
  0 siblings, 0 replies; 4+ messages in thread
From: bugtrack @ 2006-06-06  9:20 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1445> 
======================================================================
Reported By:                FishB8
Assigned To:                
======================================================================
Project:                    ALSA - plugins
Issue ID:                   1445
Category:                   PCM - jack
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             09-23-2005 17:23 CEST
Last Modified:              06-06-2006 11:20 CEST
======================================================================
Summary:                    jackplug and oss
Description: 
I've tried setting up an asound.conf with a config for pcm.dsp0 so that I
can use aoss. No big deal. But then I thought it would be cool to set the
slave to pcm.jack. That way I could use aoss to route oss to jack using
alsa instead of some of the hacks out there that only work half the time.

No dice. It doesn't work. (Or at least I couldn't get it to work) Am I not
understanding how to do this correctly, or is this just not possible the
way things currently work?
======================================================================

----------------------------------------------------------------------
 FishB8 - 09-25-05 21:37 
----------------------------------------------------------------------
The applications I try to run work fine when the dsp0 slave.pcm is set to
something like dmixer, but when I try assigning it to either jack or
jackplug, (and the jack daemon is running) the applications will start up
fine, but when I try to start playback they either segfault or do
nothing.

Alsa apps have no problem with the jack plugin. For instance if I change
pcm.!default to jackplug, alsa apps will route their IO to jack ports
without any problem.

Here's my current config:

pcm.!default {
	type plug
	slave.pcm "dmixer"
}

ctl.!default {
	type hw
	card 0
}



#Dmixer
pcm.dmixer  {
	type dmix
	ipc_key 1024
	slave {
	    pcm "hw:0,0"
	    period_size 1024
	    buffer_size 8192
	    rate 44100
	}
	bindings {
	    0 0
	    1 1
	}
}



#OSS to Dmixer
pcm.dsp0 {
	type plug
	slave.pcm "dmixer"
}



#JackPlug
pcm.jackplug {
	type plug
	slave.pcm "jack"
}

pcm.jack {
	type jack
	playback_ports {
 		0 alsa_pcm:playback_1
 		1 alsa_pcm:playback_2
 	}
 	capture_ports {
 		0 alsa_pcm:capture_1
		1 alsa_pcm:capture_2
	}
}

----------------------------------------------------------------------
 Raymond - 06-06-06 11:20 
----------------------------------------------------------------------
Your pcm.dsp0 has nothing to do with OSS, it just a customised form of
dmix.

With jack daemon is running, if your sound card does not support hardware
mixing, all application have to used jack interface since jackd already
used hw:0,0

Issue History
Date Modified  Username       Field                    Change              
======================================================================
09-23-05 17:23 FishB8         New Issue                                    
09-24-05 16:58 b0ef           Note Added: 0006371                          
09-25-05 21:37 FishB8         Note Added: 0006388                          
06-06-06 11:20 Raymond        Note Added: 0010073                          
======================================================================

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

end of thread, other threads:[~2006-06-06  9:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-23 15:23 [ALSA - plugins 0001445]: jackplug and oss bugtrack
  -- strict thread matches above, loose matches on Subject: below --
2005-09-24 14:58 bugtrack
2005-09-25 19:37 bugtrack
2006-06-06  9:20 bugtrack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox