|
From: | Volker Schroer |
Subject: | Re: [Discuss-gnuradio] ICE1712 and ALSA sink |
Date: | Mon, 18 Jul 2011 19:20:55 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110709 Thunderbird/5.0 |
Here is an example that works for an Delta M44 card for input and output This card uses the snd_ice1712 module. Content of .asoundrc ========================= pcm.SDR1000_card { type hw card M44 } ctl.SDR1000_card { type hw card M44 } pcm.dmixer { type dmix ipc_key 4714 slave { pcm SDR1000_card format S32_LE period_time 0 channels 2 period_size 512 buffer_size 4096 } bindings { 0 0 1 1 } } pcm.dsnooper { type dsnoop ipc_key 4711 slave { pcm SDR1000_card format S32_LE period_time 0 period_size 512 buffer_size 4096 } bindings { 0 0 1 1 } } pcm.SDR1000Play { type plug slave { pcm "dmixer" } } pcm.SDR1000Record { type plug slave { pcm "dsnooper" } } ================================= M44 is the name of the card you see in /proc/asound You can use SDR1000Play as sink and SDR1000Record as source. Volker Am 18.07.2011 09:39, schrieb Alex DEKKER:
On Sun, 17 Jul 2011 19:36:50 -0400, Marcus D. Leech wrote:Here's a discussion of a strongly-related issue with the M-Audio 2496 that seems to imply that the driver only offers 10 channels, not the conventional '2', and so things that would ordinarily expect '2' get astonished as a result: http://comments.gmane.org/gmane.linux.alsa.devel/83525OK thanks for that. I guess I should be able to craft an asoundrc that creates a virtual device with 2 channels that just points at the right place and gnuradio will be happy.alexd _______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |