* Re: asound.conf pcm.tee, anyone know how to use it
[not found] <20020513004239.56478.qmail@web14108.mail.yahoo.com>
@ 2002-05-13 2:33 ` Paul Davis
2002-05-13 7:57 ` Jaroslav Kysela
1 sibling, 0 replies; 3+ messages in thread
From: Paul Davis @ 2002-05-13 2:33 UTC (permalink / raw)
To: Dave Andruczyk; +Cc: alsa-devel, alsa-user
>Please someone correct me if I am mistaken. Can the pcm.tee option in alsa.co
>n
>(/usr/share/alsa/alsa.conf) be setup so that the output of a program that uses
>alsa natively be monitored by connecting to this "tee" ??
well, the "tee" type allows redirection but its only sane to do it to
a file inode that allows (almost) endless non-blocking read/write. there are
almost no such devices in POSIX unless its a regular file. so you
can't really use it for loopback. its intended for instances where you
want the output to go to an audio interface *and* a file.
there is a way to do "loopback" in ALSA these days, but "tee" is not
it. someone will fill in the blanks (or better yet, write/complete a
HOWTO).
--p
<obJack>
of course, JACK can do loopback, multiplexing, app-2-app and many
other forms of data routing without any effort on the part of your
application ...
</obJack>
:)
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: asound.conf pcm.tee, anyone know how to use it
[not found] <20020513004239.56478.qmail@web14108.mail.yahoo.com>
2002-05-13 2:33 ` asound.conf pcm.tee, anyone know how to use it Paul Davis
@ 2002-05-13 7:57 ` Jaroslav Kysela
1 sibling, 0 replies; 3+ messages in thread
From: Jaroslav Kysela @ 2002-05-13 7:57 UTC (permalink / raw)
To: Dave Andruczyk; +Cc: ALSA development, ALSA user
On Sun, 12 May 2002, Dave Andruczyk wrote:
> Please someone correct me if I am mistaken. Can the pcm.tee option in alsa.con
> (/usr/share/alsa/alsa.conf) be setup so that the output of a program that uses
> alsa natively be monitored by connecting to this "tee" ??
>
> My primary app (eXtace) needs this sort of functionality, The old ALSA 0.5.x
> called it loopback, can this do the same? Can anyone offer tips for someone
> who really doesn't understand the asound.conf syntax to possibly get it to
> work?
aplay -D tee:'plughw:0',a.raw ~/audio/audio_10.wav
All samples should go to 'a.raw' file, but as Paul mentioned, if you use a
pipe, the audio process can be blocked (possible underruns).
Jaroslav
-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project http://www.alsa-project.org
SuSE Linux http://www.suse.com
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net
^ permalink raw reply [flat|nested] 3+ messages in thread
* asound.conf pcm.tee, anyone know how to use it
@ 2002-05-13 0:42 Dave Andruczyk
0 siblings, 0 replies; 3+ messages in thread
From: Dave Andruczyk @ 2002-05-13 0:42 UTC (permalink / raw)
To: alsa-devel, alsa-user
Please someone correct me if I am mistaken. Can the pcm.tee option in alsa.con
(/usr/share/alsa/alsa.conf) be setup so that the output of a program that uses
alsa natively be monitored by connecting to this "tee" ??
My primary app (eXtace) needs this sort of functionality, The old ALSA 0.5.x
called it loopback, can this do the same? Can anyone offer tips for someone
who really doesn't understand the asound.conf syntax to possibly get it to
work?
Thanks for any input...
=====
Dave J. Andruczyk
ERP
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-05-13 7:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20020513004239.56478.qmail@web14108.mail.yahoo.com>
2002-05-13 2:33 ` asound.conf pcm.tee, anyone know how to use it Paul Davis
2002-05-13 7:57 ` Jaroslav Kysela
2002-05-13 0:42 Dave Andruczyk
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.