Re: Alsa-OSS so-called 'Duplex-bug'

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

 



On Friday 30 June 2006 11:17, you wrote:
> At Thu, 29 Jun 2006 23:11:05 +0100,
>
> Alan Horstmann wrote:
> > On Tuesday 20 June 2006 10:56, you wrote:
> > > At Mon, 19 Jun 2006 22:12:57 +0100,
> > >
> > > Alan Horstmann wrote:
> > > > Another alternative would be for ALSA to create at least two devices,
> > > > one for all playback channels, the other for all capture, eg /dsp0
> > > > and /adsp0 or something else.  It would then be more like the raws
> > > > OSS in its behaviour. That would also solve the problems here. 
> > > > Obviously a full implementation as per attached description would
> > > > also be fine!
> > >
> > > It's easy over aoss.  Having the following
> > >
> > > 	pcm.dsp0 {
> > > 		type asym
> > > 		playback.pcm "plughw"
> > > 	}
> > >
> > > 	pcm.dsp1 {
> > > 		type asym
> > > 		capture.pcm "plughw"
> > > 	}
> > >
> > > would give you /dev/dsp0 for playback and /dev/dsp1 for capture.
> > > You can replace "plughw" whatever you like, of course.
> >
> > I'm not very familiar with these conf files, and have tried for hours to
> > get this to work.  However, at best
> > 	aoss audacity
> > results in
> > 	ALSA lib pcm_asym.c:106:(_snd_pcm_asym_open) playback slave is not
> > defined ALSA lib pcm_asym.c:106:(_snd_pcm_asym_open) capture slave is not
> > defined
> >
> > Have I missed other bits?
> >
> > Also, won't using aoss introduce a performance hit?
>
> Err, I should have tested before posting.  How about below?
>
>  	pcm.dsp0 {
>  		type asym
>  		playback.pcm "plughw"
> 		capture.pcm "null"
>  	}
>  	pcm.dsp1 {
>  		type asym
> 		playback.pcm "null"
>  		capture.pcm "plughw"
>  	}

Now a different set of errors, interspersed with portaudio errors/warnings....

ALSA lib pcm.c:2146:(snd_pcm_open_noupdate) Unknown PCM dsp2
ALSA lib pcm_null.c:347:(snd_pcm_null_open) Cannot open /dev/full: Permission 
denied

ALSA lib pcm_null.c:347:(snd_pcm_null_open) Cannot open /dev/full: Permission 
denied

ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL mixer0
ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL mixer0
ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL mixer1
ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL mixer2
ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL mixer3
ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL mixer0
ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL mixer0
ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL mixer1
ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL mixer2
ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL mixer3


Alan


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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