From: Takashi Iwai Subject: Re: Alsa-OSS so-called 'Duplex-bug' Date: Fri, 30 Jun 2006 12:17:00 +0200 Message-ID: References: <200606191515.28395.alan@horstmann.fsworld.co.uk> <200606192210.12889.gineera@aspect135.co.uk> <200606292311.05958.gineera@aspect135.co.uk> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200606292311.05958.gineera@aspect135.co.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Alan Horstmann Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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" } Takashi 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