All of lore.kernel.org
 help / color / mirror / Atom feed
* How to read the sound card ?
@ 2006-07-30 14:10 Michaël Todorovic
  2006-07-31  7:23 ` Benoit Fouet
  0 siblings, 1 reply; 3+ messages in thread
From: Michaël Todorovic @ 2006-07-30 14:10 UTC (permalink / raw)
  To: alsa-devel

hello,
I want to read the data on the sound card (to do a fft and other 
things). I have first tried the capture stream with snd_pcm_readi and 
everything is working. My problem is that I want to read the sound 
output (pcm or mixer). For example, I want to read the sound that xmms 
or mplayer is writing on the sound card. If I just change 
SND_PCM_STREAM_CAPTURE to SND_PCM_STREAM_PLAYBACK in snd_pcm_open, 
snd_pcm_readi fails.

So my question is : how can I read the sound output with the alsa-lib ?

Thank you

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

end of thread, other threads:[~2006-07-31 14:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-30 14:10 How to read the sound card ? Michaël Todorovic
2006-07-31  7:23 ` Benoit Fouet
2006-07-31 14:05   ` Takashi Iwai

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.