All of lore.kernel.org
 help / color / mirror / Atom feed
* dsnoop
@ 2003-12-09 19:36 Patrick Shirkey
  2003-12-10  9:20 ` dsnoop Jaroslav Kysela
  0 siblings, 1 reply; 8+ messages in thread
From: Patrick Shirkey @ 2003-12-09 19:36 UTC (permalink / raw)
  To: Alsa-Devel

I'm using older alsa drivers so maybe this is fixed already.

Advanced Linux Sound Architecture Driver Version 0.9.3c.
Compiled on May 25 2003 for kernel 2.4.19 with versioned symbols.

I can sucessfully run two instances of arecord with the dsnoop plugin 
but I get an error with my intel8x0 that doesn't occur while using my 
cmipci:

arecord: set_params:847: Can't use period equal to buffer size (7526 == 
7526)

The number above is directly related to the buffer_size option below. 
7526 corresponds to buffer size of 8192. If I use a lower size like 4096 
it is:

arecord: set_params:847: Can't use period equal to buffer size (3763 == 
3763)


Here's the definition I use in my .asoundrc

pcm.mixin {
         type dsnoop
         ipc_key 5978293	# must be unique for all dmix plugins!!!!
         ipc_key_add_uid yes
         slave {
                 pcm "hw:0,0"
		channels 2
		period_size 1024
		buffer_size 4096
		rate 44100
         }
         bindings {
                 0 0
                 0 1
         }
}



-- 
Patrick Shirkey - Boost Hardware Ltd.
Http://www.boosthardware.com
Http://www.djcj.org - The Linux Audio Users guide
========================================


  Apparently upon the beginning of the barrage, the donkey broke 
discipline and panicked, toppling the cart. At that point, the rockets 
disconnected from the timer, leaving them strewn around the street. 
Tethered to the now toppled cart, the donkey was unable to escape before 
the arrival of U.S. troops.

United Press International
Rockets on donkeys hit major Baghdad sites

By P. MITCHELL PROTHERO
Published 11/21/2003 11:13 AM



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <BANLkTi=S8fELgJdVv+RGJCCR3TuxVL2UvQ@mail.gmail.com>]
* dsnoop
@ 2003-05-16 20:24 David E. Storey
  2003-05-16 21:24 ` dsnoop Paul Davis
  0 siblings, 1 reply; 8+ messages in thread
From: David E. Storey @ 2003-05-16 20:24 UTC (permalink / raw)
  To: alsa

Folks,

Would anyone be so kind as to offer up an example of using dsnoop? I'd
like to use jack to perform all kinds on monitoring on a device and use
an alsa app, namely arecord, to do the actual recording. I've tried
using the jack plugin and while it works, when I hit CTRL-C on arecord
to stop recording, it pretty much halts jack.

When I use dsnoop now, if there's nothing using the device, it returns:

set_params:810: Channels count non available

And if something, like jack, is using the original device, it just sits
and waits without doing much of anything. My .asoundrc file looks a
little something like:

pcm.intel8x0 {
        type hw
        card 0
}

ctl.intel8x0 {
        type hw
        card 0
}

pcm.snoop {
        type dsnoop
        ipc_key 3346
        slave { pcm "intel8x0" }
}

pcm.jackplug {
        type plug
        slave { pcm "jack" }
}

pcm.jack {
        type jack
        playback_ports {
                0 alsa_pcm:playback_1
                1 alsa_pcm:playback_2
        }
        capture_ports {
                0 alsa_pcm:capture_1
                1 alsa_pcm:capture_2
        }
}

Any help would be GREATLY appreciated. And if I should be using another
list, please let me know kindly.

d!



-------------------------------------------------------
This SF.net email is sponsored by: If flattening out C++ or Java
code to make your application fit in a relational database is painful, 
don't do it! Check out ObjectStore. Now part of Progress Software.
http://www.objectstore.net/sourceforge

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-06-09 15:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-09 19:36 dsnoop Patrick Shirkey
2003-12-10  9:20 ` dsnoop Jaroslav Kysela
2003-12-10 10:23   ` dsnoop Patrick Shirkey
     [not found] <BANLkTi=S8fELgJdVv+RGJCCR3TuxVL2UvQ@mail.gmail.com>
2011-06-09 15:11 ` dsnoop Lorenzo Fundaró
  -- strict thread matches above, loose matches on Subject: below --
2003-05-16 20:24 dsnoop David E. Storey
2003-05-16 21:24 ` dsnoop Paul Davis
2003-05-17  0:59   ` dsnoop David E. Storey
2003-05-17  5:18     ` dsnoop Patrick Shirkey

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.