Re: [linux-audio-dev] some basic sound questions

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] some basic sound questions
From: Jaroslav Kysela (perex_AT_jcu.cz)
Date: pe marras 13 1998 - 07:42:55 EST


On Fri, 13 Nov 1998, Paul Winkler wrote:

> > * A program to record audio post-facto, such as the Win95 "pfau" > (snip)... If you hear an audio bit that you want to save, you signal
> > the program somehow and it keeps that last chunk in a timestamped file that
> > you can then edit. (Hmm, with a /proc/audio on your system such a program
> > would probably be trivial to write.)
>
> Really good idea!
>
> > Speaking of /proc/audio -- the paudio module at
> > <http://source.syr.edu/~jdimpson/proj/> creates a /proc/audio file that
> > allows you to save whatever data is currently going through the soundcard.
>
> Yep, it sounds cool... but I discovered that it only works with a
> specially-patched OSS-free, not OSS-Linux or ALSA. OSS-Linux now has a
                                               ^^^^
THIS IS NOT TRUE!!! WHY PEOPLE DON'T READ README FILES ??? :-((((((((((
ALSA DRIVER HAVE THIS FEATURE FROM 0.0.X VERSIONS !!!!!!!!!!!!!!!!!!!!!!

>From alsa-driver/README:

* digital audio (PCM)
  - new enhanced API for applications
  - full real duplex support
  - full duplex support for SoundBlaster 16/AWE soundcards
  - digital audio data for playback and record should be read back using
    proc filesystem
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Look to /proc/asound/0/pcm0/pcm0p and /proc/asound/0/pcm0/pcm0r files
etc... In 0.2.0-pre10 is this interface extended for packet mode which
can send to application information like format etc...

                                                        Jaroslav

-----
Jaroslav Kysela <perex_AT_jcu.cz>
Academic Computer Centre, University of South Bohemia
Branisovska 31, C. Budejovice, CZ-370 05 Czech Republic


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : ma maalis 13 2000 - 12:05:16 EST