how can i capture the data that my soundcard produces when it makes sounds?
e.g i run an mpeg decoder, whilst it's playing i have some other program
(that i'm trying to write) that captures this data (what device, etc?) and
writes it to a file (actually it'll send it out a serial port, but that's
later on).

i have an idea that i need to read some device file, but which one?
i think if i read /dev/dsp whilst the sound is being played it will contain
what the soundcard is currently playing (i tried it by :
        cat some_wav > /dev/dsp > temp.wav,
        bwavplay temp.wav

        and it sounded the same)
is that right?

-- 
[EMAIL PROTECTED]                http://x-map.home.ml.org

Reply via email to