asoundrc: dsnoop and capture "mix"

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

 



Hi all,

I'm new on the list. Since I dont know what's usual here: I administrate the 
network of an community radio station and dealing there with streaming and 
recording. We are using 64studio mostly.

I've the following problem: I want to stream via ices2 and redord the source 
at the same time (e.g. arecord). To handle this I've an .asoundrc with an 
dsnoop device.

Now I've a Soundcard without a mixer (Edirol UA1-EX - for mobile use). I've 
managed to have an Softvol for playing via softvol.

But now the difficulty: Since redording and Streaming at the same time from an 
analob input works fine I've no idea how to add some sondsorces via a 
soundfile. With my onboard soundcard (Intel 82801CA-ICH3 ) it's no problem. I 
choose "mix" as the capture device. Now I can play some files as well as 
extern sources to stream all via ices2.

But how to deal with the UA1-EX Soundcard? Is there something like "softvol" 
but for capturing? Or is there any other possibility to get some sound from 
files to anything like a virtual device?

I've very basic knowledge of .asoundrc. ;-)

I could use jack, but that's to complicated to handle and need's to much 
ressources.

Any idea?

My .asoundrc so far:
(changed somthing from here... 
http://ubuntuforums.org/showthread.php?t=129367)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pcm.!default {
	type softvol
	slave.pcm dmixer
	control {
		name "PCM Volume"
		card UA1EX
		}
}

pcm.dmixer {
	type dmix
	ipc_key 1024
	slave {
		pcm "hw:UA1EX"
		period_time 0
		period_size 1024
		buffer_size 4096
		rate 44100
	}
	bindings {
		0 0
		1 1
	}
}


ctl.dmixer {
	type hw
	card UA1EX
}

pcm.dsnooper {
       type dsnoop
       ipc_key 1024
       slave {
               pcm "hw:UA1EX"   
               channels 2
               period_time 0
               period_size 1024
               buffer_size 4096
               rate 44100
       }
       bindings {
               0 0
               1 1
       }
}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Thanks
pete

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux