Re: [Alsa-user] .asoundrc question
Brought to you by:
perex
From: Jaroslav K. <pe...@su...> - 2004-01-08 14:10:38
|
On Thu, 8 Jan 2004, Alfons Adriaensen wrote: > On Thu, Jan 08, 2004 at 02:34:50PM +0100, Jaroslav Kysela wrote: > > > You need to use the dshare plugin: > > > > pcm.in23 { > > type dshare > > ipc_key 321456 # any unique value > > ipc_key_add_uid true > > slave { > > pcm "hw:0,0" > > periods 0 > > period_time 0 > > period_size 1024 # must be power of 2 > > buffer_size 4096 # ditto > > } > > bindings { > > 0 2 > > 1 3 > > } > > } > > > > With other plugins use same parameters and replace only "2" and "3" with > > the requested input channels. > > Can the same be done for output (or in / out together) ? Oops. My fault. For capture is dsnoop plugin, of course (same syntax) the dhare plugin is for playback only. We have the asym plugin in CVS now, so you can combine dshare and dsnoop plugins for the full-duplex operation identified with one name. Jaroslav ----- Jaroslav Kysela <pe...@su...> Linux Kernel Sound Maintainer ALSA Project, SuSE Labs |