Re: Virtual sound card

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

 



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?


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

[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