[ALSA - plugins 0001445]: jackplug and oss

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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                          
======================================================================




_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux