Re: Audio Capture

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 28 Jun 2007, Mohan  Kashyap wrote:

>
> Hi ALL,
>
> I have found a sample audio capture program from the web, but it doesnt
> seem to capture the output from aplay. The sample prograqm is as below,

What are you trying to do? aplay is for playing digital audio files on your
computer. Ie, cp would be a much easier way to 'capture' them
Of course what you might be trying to do is to capture say a dvd sgtream or
realplayer stream. There have been a number of threads in this group on
that topic over the years.

>
> snd_pcm_open(SND_PCM_STREAM_CAPTURE);
> Then all the hardware configurations;
> Then the snd_pcm_readi();
>
> 1. I have run this program as "./snd_capture default", the program
> waits for sound data.
> 2. I have run "aplay -D default phone.wav", but this data is not captured by the program in 1.
>
> Any help will be appreciated.
>
> Thanks
> Mohan

-- 
William G. Unruh   |  Canadian Institute for|     Tel: +1(604)822-3273
Physics&Astronomy  |     Advanced Research  |     Fax: +1(604)822-5324
UBC, Vancouver,BC  |   Program in Cosmology |     unruh@xxxxxxxxxxxxxx
Canada V6T 1Z1     |      and Gravity       |  www.theory.physics.ubc.ca/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux