-----Original Message----- From: Takashi Iwai <tiwai@xxxxxxx> To: Krivenok Dmitry <_asr_@xxxxxxxx> Date: Thu, 03 Aug 2006 16:41:46 +0200 Subject: Re: Re[8]: Virtual sound card > > At Thu, 03 Aug 2006 18:36:32 +0400, > Krivenok Dmitry wrote: > > > > > > This is mplayer's log: > > > > krivenok-home ~ # strace mplayer Uno_momento.mp3 2>log2 > > > > krivenok-home ~ # grep snd log2 > > > > open("/dev/snd/controlC0", O_RDWR) = 5 > > > > open("/dev/snd/pcmC0D0p", O_RDWR|O_NONBLOCK) = 6 > > > > > > > > OK :) > > > > > > > > P.S. > > > > Is there a way to use separate files for in/out? > > > > > > You can define different PCMs for playback and capture and bind them > > > using asym plugin, such as: > > > > > > pcm.!hw { > > > type asym > > > playback.pcm { > > > type file > > > slave.pcm { > > > type hw > > > card 0 > > > } > > > file "foo.out" > > > } > > > capture.pcm { > > > type file > > > slave.pcm { > > > type hw > > > card 0 > > > } > > > file "foo.in" > > > } > > > } > > > > > > > It works with skype and mplayer, but aplay crashs (SegFault): > > Ouch. Could you get a backtrace via gdb? > aplay.c:921 snd_pcm_name(handle) == NULL, hence SegFault :( > > Takashi > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel