* 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* Re: dsnoop
2003-12-09 19:36 dsnoop Patrick Shirkey
@ 2003-12-10 9:20 ` Jaroslav Kysela
2003-12-10 10:23 ` dsnoop Patrick Shirkey
0 siblings, 1 reply; 8+ messages in thread
From: Jaroslav Kysela @ 2003-12-10 9:20 UTC (permalink / raw)
To: Patrick Shirkey; +Cc: Alsa-Devel
On Wed, 10 Dec 2003, Patrick Shirkey wrote:
> 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
'periods 0' and 'period_time 0' is missing here. You need to overwrite the
default values.
> buffer_size 4096
> rate 44100
> }
> bindings {
> 0 0
> 0 1
> }
> }
Jaroslav
-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
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* Re: dsnoop
2003-12-10 9:20 ` dsnoop Jaroslav Kysela
@ 2003-12-10 10:23 ` Patrick Shirkey
0 siblings, 0 replies; 8+ messages in thread
From: Patrick Shirkey @ 2003-12-10 10:23 UTC (permalink / raw)
To: Jaroslav Kysela; +Cc: Alsa-Devel
Jaroslav Kysela wrote:
>
>
> 'periods 0' and 'period_time 0' is missing here. You need to overwrite the
> default values.
>
>
Thanks that works. I will update the .asoundrc page for the online docs.
--
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* Re: dsnoop
2003-05-16 20:24 dsnoop David E. Storey
@ 2003-05-16 21:24 ` Paul Davis
2003-05-17 0:59 ` dsnoop David E. Storey
0 siblings, 1 reply; 8+ messages in thread
From: Paul Davis @ 2003-05-16 21:24 UTC (permalink / raw)
To: David E. Storey; +Cc: alsa
>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.
just as a matter of interest, why not use the jack capture client?
-------------------------------------------------------
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
* Re: dsnoop
2003-05-16 21:24 ` dsnoop Paul Davis
@ 2003-05-17 0:59 ` David E. Storey
2003-05-17 5:18 ` dsnoop Patrick Shirkey
0 siblings, 1 reply; 8+ messages in thread
From: David E. Storey @ 2003-05-17 0:59 UTC (permalink / raw)
To: Paul Davis; +Cc: alsa
When I don't specify a duration, it writes a frame of audio and
terminates. Not terribly useful. Not sure if this is the normal mode of
operation, but it doesn't meet my criteria for sure. I need to be able to
record indefinitely. (which, of course, depends on storage capacity.)
d!
On Fri, 16 May 2003, Paul Davis wrote:
> >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.
>
> just as a matter of interest, why not use the jack capture client?
>
>
> -------------------------------------------------------
> 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
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-devel
>
>
-------------------------------------------------------
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
* Re: dsnoop
2003-05-17 0:59 ` dsnoop David E. Storey
@ 2003-05-17 5:18 ` Patrick Shirkey
0 siblings, 0 replies; 8+ messages in thread
From: Patrick Shirkey @ 2003-05-17 5:18 UTC (permalink / raw)
To: David E. Storey; +Cc: alsa
David E. Storey wrote:
> When I don't specify a duration, it writes a frame of audio and
> terminates. Not terribly useful. Not sure if this is the normal mode of
> operation, but it doesn't meet my criteria for sure. I need to be able to
> record indefinitely. (which, of course, depends on storage capacity.)
>
Try timemachine. You can find the link on the jack apps page.
--
Patrick Shirkey - Boost Hardware Ltd.
Http://www.boosthardware.com
Http://www.djcj.org - The Linux Audio Users guide
========================================
Being on stage with the band in front of crowds shouting, "Get off! No!
We want normal music!", I think that was more like acting than anything
I've ever done.
Goldie, 8 Nov, 2002
The Scotsman
-------------------------------------------------------
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.