Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "David E. Storey" <dave@tamos.net>
To: alsa <alsa-devel@lists.sourceforge.net>
Subject: dsnoop
Date: 16 May 2003 16:24:08 -0400	[thread overview]
Message-ID: <1053116648.423.11.camel@localhost> (raw)

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

             reply	other threads:[~2003-05-16 20:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-16 20:24 David E. Storey [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
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ó

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1053116648.423.11.camel@localhost \
    --to=dave@tamos.net \
    --cc=alsa-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox